Pepper Computer Modular Computers RS232 Manual De Usuario

Descargar
Página de 320
SMART I/O User’s Manual
October 01, 1996
©1996 PEP Modular Computers GmbH
Page 5 - 126
Chapter 5  Analog Modules
O_DISABLE_CONV
: This operate call tells ISaGRAF to disable the
conversion of a particular channel of a connected
SM-DAC1 module. The syntax is as follows:
<analog var> := OPERATE(<iovar>, O_DISABLE_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.
O_GET_LINE_STATE
:
This operate call  allows the user to check the line
state on the current version of the SM-DAC1. The
syntax is as follows:
<analog var> := OPERATE(<iovar>, O_GET_LINE_STATE,
   <var>);
where
<analog var>
represents the analog return variable and is
zero if an open loop is detected. Otherwise it
returns 1.
<iovar>
is the variable name for the channel where the
operate call is to take effect.
<var>
is not used.