Pepper-computer Modular Computers RS485 Manual de usuario Pagina 137

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 320
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 136
Digital Modules
08 Jan. 98
SMART I/O User’s Manual
Page 4 - 51Manual ID 09901, Rev. Index 0500
A complete list of the operate COMMANDS may be obtained
by selecting a project from the ISaGRAF projects group, open-
ing an application and observing the Common defines in the Dic-
tionary pull-down menu. Note that not all calls in the list may be
used within the SMART I/O environment. However, the calls
applicable to this module are:
O_INIT_CODE
Syntax and usage as explained above.
O_SET_LED
This operate call allows the user to control the yellow LED on
the board’s front panel. The syntax is as follows:
<analog var> := OPERATE(<iovar>, O_SET_LED,
<var>);
where
<analog var> represents the analog return variable and can
be zero, if the operate call is supported and the
correct <var> is passed, or non-zero, if an
error occurred.
<iovar> represents any module variable, and
<var> represents the LED to be controlled and must
be one of
OA_LED1_ON or
OA_LED1_OFF
.
O_EXT_POWER
This operate call can detect whether the external power has
failed or not, and has the following syntax:
<analog var> := OPERATE(<iovar>,
Vista de pagina 136
1 2 ... 132 133 134 135 136 137 138 139 140 141 142 ... 319 320

Comentarios a estos manuales

Sin comentarios