Page 13 of 29FS-8700-66_GE-SNP Manual

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,

PLC-1,

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) 262-2299 Fax: (408) 262-2296 Toll_Free: 888-509-1970 email: support@fieldServer.com

Page 13
Image 13
FieldServer instruction manual Map Descriptor Example 3 Handling Bits, 13 of 29FS-8700-66GE-SNP Manual