Map descriptor example 3 – write – FieldServer FS-8700-80 User Manual
Page 20
McQuay Micro Tech Open Protocol Driver Manual
Page 20 of 43
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web: www.fieldserver.com
Tel: (408) 262 2299 Fax: (408) 262 2269 Toll Free: (888) 509 1970 email: [email protected]
6.3.6 Map Descriptor Example 3 – Write.
In this example data is written to control fields in the McQuay device using the Wrbx (write on change) function. A write message will be generated each time
the data at index 0 in the Data Array changes. When writing multibyte fields, several messages are required to transfer the byte values to the McQuay devices.
Note that ‘Device_Scaling’ has no meaning when writing to a McQuay device. The user must ensure that valid numbers are written to the data fields.
Map_Descriptor_Name , Data_Array_Name , Data_Array_Offset , Function , Node_Name , Length , Field_Name
Chiller1_Op_Mode
, DA_MODES
, 0
, Wrbx
, Chiller1
, 1
, Chiller Operation Mode
The data is only written
when the contents of
element zero of the array
named DA_MODES
changes.
The name of the
data field to be
written to.