Sensorstate - Communication State Of The Device - ABB IRC5 Applications Manual

Hide thumbs Also See for IRC5:
Table of Contents

Advertisement

5 RAPID reference information

5.2.2 sensorstate - Communication state of the device

5.2.2 sensorstate - Communication state of the device
Usage
sensorstate is used to represent an actual communication state of a device.
Description
A sensorstate constant is used to reflect the actual communication state of a
device. It can be used from RAPID to evaluate the state of the connection with the
sensor.
Predefined data
The following symbolic constants of the data type sensorstate are predefined
and can be used to evaluate what communication state the device is in.
Constant
STATE_ERROR
STATE_UNDEFINED
STATE_CONNECTED
STATE_OPERATING
STATE_CLOSED
Characteristics
sensorstate is an alias data type for num and consequently inherits its
characteristics.
Related information
For information about
Establish a connection to an external system.
Close connection to an external system.
Register data for cyclic transmission.
Subscribe on cyclic data transmission.
Descriptor to the external device.
44
© Copyright 2008-2009,2013 ABB. All rights reserved.
Value
-1
0
1
2
3
See
SiConnect - Sensor Interface Connect on
page
33.
SiClose - Sensor Interface Close on page
SiSetCyclic - Sensor Interface Set Cyclic on
page
40.
SiGetCyclic - Sensor Interface Get Cyclic on
page 38
sensor - External device descriptor on
page
42.
3HAC031973-001 Revision: F
36.

Advertisement

Table of Contents
loading

Table of Contents