Pepper Computer Modular Computers RS485 User Manual

Page 137

Advertising
background image

Digital Modules

08 Jan. 98

SMART I/O User’s Manual

Page 4 - 51

Manual 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>,

Advertising
This manual is related to the following products: