Pepper Computer RS232, RS485 user manual Osetlinelimit

Models: RS485 RS232

1 320
Download 320 pages 36.43 Kb
Page 261
Image 261

Chapter 5 Analog Modules

SMART I/O User’s Manual

 

 

 

 

 

 

 

 

 

 

O_SET_LINE_LIMIT:

This operate call allows the user to set the open loop detect level on the current version of the SM-ADC1. The syntax is as follows:

<analog var> := OPERATE(<iovar>, O_SET_LINE_LIMIT,

where <analog var>

<iovar>

<var>

<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.

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

is the current value in mA and calculated using the following formula:

var = 0xFFF0 mA 0x14

5

O_GET_LINE_STATE:

This operate call allows the user to check the line state on the current version of the SM-ADC1. The syntax is as follows:

<analog var> := OPERATE(<iovar>, O_GET_LINE_STATE,

where <analog var>

<iovar>

<var>

<var>);

represents the analog return variable and is zero if an open loop is detected. Otherwise it returns 1.

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

is not used.

 

 

 

 

October 01, 1996

©1996 PEP Modular Computers GmbH

Page 5 - 105

 

 

Page 261
Image 261
Pepper Computer RS232, RS485 user manual Osetlinelimit