Pepper-computer Modular Computers RS485 Bedienungsanleitung Seite 183

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 320
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 182
SMART I/O Users Manual
©1996 PEP Modular Computers GmbHMarch 12, 1996 Page 5 - 27
5
Chapter 5 Analog Modules
A complete list of the operate COMMANDS may be obtained by selecting a
project from the ISaGRAF projects group, opening an application and
observing the Common defines in the Dictionary 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 : The syntax and usage have already been explained.
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_ENABLE_CONV : This operate calls tells ISaGRAF to enable the
conversion of a particular channel of a connected
SM-DAD1 module. The syntax is as follows:
<analog var> := OPERATE(<iovar>, O_ENABLE_CONV, 0);
where <analog var> represents the analog return variable and can
be zero if the operate call is supported and the
correct <iovar> is passed or non-zero if an
error occurred.
<iovar> is the variable name for the channel where the
operate call is to take effect.
Seitenansicht 182
1 2 ... 178 179 180 181 182 183 184 185 186 187 188 ... 319 320

Kommentare zu diesen Handbüchern

Keine Kommentare