Pepper Computer RS485, RS232 user manual Correct iovar is passed or non-zero if an

Models: RS485 RS232

1 320
Download 320 pages 36.43 Kb
Page 214
Image 214

SMART I/O User’s Manual

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_ENABLE_CONV : This operate calls tells ISaGRAF to enable the conversion of a particular channel of a connected SM-PT100 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.

O_DISABLE_CONV : This operate call tells ISaGRAF to disable the conversion of a particular channel of a connected SM-PT100 module. The syntax is as follows:

<analog var> := OPERATE(<iovar>, O_DISABLE_CONV, 0);

where <analog var>

<iovar>

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.

is the variable name for the channel where the operate call is to take effect.

 

 

 

 

Page

5 - 58

©1996 PEP Modular Computers GmbH

March 12, 1996

 

 

 

Page 214
Image 214
Pepper Computer RS485, RS232 user manual Correct iovar is passed or non-zero if an