| Driver Manual |
4.4.5Map Descriptor Example 2 – Read On/Off Status (Data stored differently)
This example reads the same data as the previous example. The difference is that the data is stored differently. In this example the data is unpacked and stored in 16 consecutive data array elements – one element per module position.
Map_Descriptor_Name, Data_Array_Name, Data_Array_Offset, Function, node_name, Length, Scan_Interval, opto22_function , opto22_format
DEVICE77_STAT , DISC_INPUTS , 0 | , rdbc , DEV77 , 16 , 5.0s | , READ STATUS , Bit |
The length has changed to 16 to reserve 16 data array elements for this map descriptor.
This is how the driver is instructed to unpack the digital data.
FieldServer Technologies 1991 Tarob Court, Milpitas, California 95035 (408)
Visit our website: www.fieldserver.com
Page 11