Map Descriptor Example 1 - Read Everything; Map Descriptor Example 2 - Read A Particular Data Field - FieldServer FS-8700-80 Driver Manual

Mcquay microtech open protocol
Table of Contents

Advertisement

McQuay Micro Tech Open Protocol Driver Manual
6.3.4 Map Descriptor Example 1 – Read Everything.
In this example the Map Descriptor tells the driver to read all data fields known for the Node. The data fields are read sequentially and the values placed in the
Data Array at a location determined by the driver. Appendix C.3 outlines the data read and the Data Array location of each field. There is no way of telling this
command to read some fields more often than others. Each field is read in turn and when the end of the list is reached the driver starts at the beginning again.
Map_Descriptor_Name , Data_Array_Name , Data_Array_Offset , Function
Read Chiller 1
, DA_CHILLER1
Many validation or
Each field read has its
error messages report
value stored in this
the name of the Map
Data Array. The
Descriptor in the
location is dependent
message and, thus it is
on the field name. The
strongly recommended
length of the Data
that unique names be
Array should be at least
used.
200, so that all
parameters can be
stored.
6.3.5 Map Descriptor Example 2 – Read a particular Data Field.
This example illustrates how to read data for one particular field of interest. The data is read every 2.0 seconds and the value obtained is stored in the Data
Array named DA_OPERATIONAL_MODES at location 10.
Map_Descriptor_Name , Data_Array_Name
Chiller10_Op_Mode
, DA_OPERATIONAL_MODES , 10
Ensure that the field name is spaced and spelled exactly as it is
printed in Appendix C.3
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: support@fieldserver.com
, Node_Name
, 0
, Rdbc
, Chiller1
This parameter
connects the Map
Descriptor to a
Node which in turn
connects the Map
Descriptor to a port.
, Data_Array_Offset , Function , Scan_Interval , Node_Name , Length , Field_Name
, Rdbc
Page 19 of 43
, Length , Scan_Interval , Field_Name , Device_Scaling
, 1
, 1.0s
The driver will read
every data field
known for the
device.
, 0s
, Chiller10
, 1
, Everything
, Yes
The values will be scaled
before storage.
Example: The 'Evaporator
Refrigerant Pressure' will be
stored by dividing the raw
value read by 10.
, Chiller Operation Mode

Advertisement

Table of Contents
loading

Table of Contents