Page 13 of | Page 13 of 29 |
4.4.6.Map Descriptor Example 3 – Handling Bits
This example writes data from the FieldServer Data Array called DA_AO to the PLC identified as NODE1. The write is repeated every 5 seconds. Ten word values are written to the PLC’s %AQ Data Table starting at location 20.
Map_Descriptor_Name, Data_Array_Name, Data_Array_Offset, | Function, | Node_Name, | Address, | Length, | Scan_Interval, | Data_Type, | Format | ||
Read_DI,, | DA_T, | 100, | RDBC, | 8, | 2, | 2.0, | %T, | Bit |
The format parameter tells the driver data type and read bits specifically. are stored in the Data Array in two DA_T[100] and DA_T[101]
to override the default In this case the bits separate elements at
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web:www.fieldServer.com Tel: (408)