FieldServer FS-8700-80 instruction manual DACHILLER1

Page 29

McQuay Micro Tech Open Protocol Driver Manual

Page 29 of 35

Appendix A.5. Advanced Map Descriptor Example 1– Reading direct address.

This example reads 10 data elements from a McQuay device starting at address 4096 (= 0x1000). The 10 values obtained are stored in DA_CHILLER1 starting at offset zero.

Map_Descriptor_Name

,Data_Array_Name

,Data_Array_Offset

,Node_Name

,Address

,Length

,Scan_Interval

,Function

Chiller1_emulation

,DA_CHILLER1

,0

 

,Chiller1

,4096

,10

,1.0s

,Rdbc

A data format of

 

 

 

 

 

 

 

 

BYTE is

 

 

Specify the

 

 

 

 

appropriate,

 

 

address in decimal

 

 

 

 

Appendix A.6. Advanced Map Descriptor Example 2 – Controlling Bytes per Field – Reading

This example reads a McQuay device starting at address 4096 (= 0x1000) to 4099 incl. Before storing the data from the responses, the FieldServer combines the 4 values into a single value and stores this single value in a single Data Array element.

The driver reads address 4096 and gets a value. Call this value v0. The driver reads address 4097 and gets a value. Call this value v1. The driver reads address 4098 and gets a value. Call this value v2. The driver reads address 4099 and gets a value. Call this value v3.

When the 4th address has bee read, the driver calculates Total_Value = v0 + v1 * 0x100 + v2 * 0x10000 + v3 * 0x1000000. The Total_Value is stored in the Data Array.

Map_Descriptor_Name

,Data_Array_Name

,Data_Array_Offset

,Node_Name

,Address

,Length

,Bytes_per_Field

,Scan_Interval

,Function

Chiller1_emulation

,DA_CHILLER1

,0

,Chiller1

,4096

,1

,4

,1.0s

,Rdbc

 

 

 

 

 

 

 

 

 

Specify the

Length must be

address in decimal

set to 1 when

 

Bytes_per_Field is

 

specified.

A value between 1 and 4 - tells the driver how many consecutive addresses to read from the remote device. The data value for each address is combined into a single value before it is stored.

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

Image 29
Contents Driver Manual FS-8700-80 McQuay Micro Tech Open Protocol Table of Contents Page McQuay Micro Tech Open Protocol Driver Manual FieldServer Provided by Supplier of 3rd Party EquipmentHardware Connections Data Arrays Page Page Timing Parameters Driver Related Map Descriptor ParametersDACHILLER1 Damodes Map Descriptor Example 3 WritePage Page Driver Specific Map Descriptor Parameters DACHILLER1 Passive Chiller1 1024 256 Chiller1emulation2 Page Equipment Type 200CFC 200 Series Centrifugal Chiller McQuay Micro Tech Open Protocol Driver Manual Equipment Type 050RPC Reciprocating Chiller McQuay Micro Tech Open Protocol Driver Manual Page McQuay Micro Tech Open Protocol Driver Manual Equipment Type 001ASC Reciprocating Chiller Equipment Type Self-Contained Units SCUs McQuay Micro Tech Open Protocol Driver Manual Appendix A.4. Direct Addressing Appendix A.3 McQuay Equipment Types recognized by the driverPage DACHILLER1 DACHILLER1 NAK Damcqstats UINT32 Page McQuay Micro Tech Open Protocol Driver Manual Appendix C.2. Negative Acknowledgement NAK Appendix C.3. Node ID problems