FieldServer FS-8700-66 Computer Drive User Manual


 
Page 13 of 29FS-8700-66_GE-SNP Manual Page 13 of 29
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web:www.fieldServer.com
Tel: (408) 262-2299 Fax: (408) 262-2296 Toll_Free: 888-509-1970 email: support@fieldServer.com
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, PLC-1, 8, 2, 2.0, %T, Bit
The format parameter tells the driver to override the default
data type and read bits specifically. In this case the bits
are stored in the Data Array in two separate elements at
DA_T[100] and DA_T[101]