Sisetcyclic - Sensor Interface Set Cyclic - ABB IRC5 Applications Manual

Hide thumbs Also See for IRC5:
Table of Contents

Advertisement

5 RAPID reference information

5.1.4 SiSetCyclic - Sensor Interface Set Cyclic

5.1.4 SiSetCyclic - Sensor Interface Set Cyclic
Usage
SiSetCyclic registers data for cyclic transmission to an external device.
Basic examples
A basic example of the instruction SiSetCyclic is illustrated below.
See also
Example 1
Establish a connection to the device called AnyDevice. Then register data for
cyclic transmission to the external device AnyDevice every 40 ms.
Arguments
Sensor
Data type: sensor
A descriptor for the external device to send data to.
Data
Data type: anytype
Reference to a persistent of any complex or supported simple type containing the
data to be sent to the client specified in argument Sensor. The variable must be
defined as Writable in the Configuration.xml file.
Rate
Data type: num
Transfer rate in milliseconds (only multiples of 4 ms are supported).
Program execution
Instruction SiSetCyclic registers data for cyclic transmission to an external
device.
For SiGetCyclic and SiSetCyclic instructions, a transfer rate of 0 stops
(unregisters / unsubscribes) the cyclic transmission of the given data or data set.
More examples
More examples of how to use the instruction SiSetCyclic are illustrated below.
Example 1
Continues on next page
40
More examples on page
PERS sensor AnyDevice;
PERS robdata DataOut := [[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]];
...
SiConnect AnyDevice;
SiSetCyclic AnyDevice, DataOut, 40;
SiSetCyclic Sensor Data Rate
PERS sensor AnyDevice;
PERS robdata DataOut := [[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]];
© Copyright 2008-2009,2013 ABB. All rights reserved.
40.
3HAC031973-001 Revision: F

Advertisement

Table of Contents
loading

Table of Contents