FieldServer Comprehensive Guide to Statistics Reporting in the McQuay Driver

Page 31

McQuay Micro Tech Open Protocol Driver Manual

Page 31 of 35

Appendix A.8. Statistics

The driver reports statistics according to the FieldServer standards. The following notes describe some aspects of standard statistic reporting which are peculiar to this driver.

NAK

Each time a negative acknowledgement message is received.

CHECKSUM

Each time that a message is received that contains a non-ASCII character.

NOISE

An acknowledgement message contains an unrecognized code.

NO START

Each time a message is received that doesn’t begin with a space.

PROTOCOL

All other errors are reported as protocol errors

In addition to the standard FieldServer communication statistics described above and in the FieldServer User’s Manual, this driver can also expose some driver statistics by writing data to a Data Array. A special Map Descriptor is required. The driver recognizes the Map Descriptor by its name which must be "McQuay-stats”.

The driver stores the following data. The location in the Data Array is obtained by multiplying the port number by 50 and then using the location offset indicated in the table below.

Location

Statistic

0

MCQ_STAT_PASSWORD

10

MCQ_STAT_NAK

11

MCQ_STAT_NOISE

12

MCQ_STAT_NOISE_CODE

13

MCQ_STAT_NON_ASCII_CHARS

14

MCQ_STAT_BAD_START_BYTE

15

MCQ_STAT_OTHER_CMPLT_ERR

16

MCQ_STAT_CLIENT_BYTES_RCVD

17

MCQ_STAT_CLIENT_FRAGS_RCVD

18

MCQ_STAT_CLIENT_MSGSS_RCVD

19

MCQ_STAT_CLIENT_BYTES_SENT

20

MCQ_STAT_CLIENT_FRAGS_SENT

21

MCQ_STAT_CLIENT_MSGSS_SENT

22

MCQ_STAT_SERVER_BYTES_SENT

23

MCQ_STAT_SERVER_MSGSS_SENT

24

MCQ_STAT_SERVER_NAKS_SENT

The following example shows how this special Map Descriptor can be configured. You can copy this section of text directly into your CSV file.

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 31
Contents Driver Manual FS-8700-80 McQuay Micro Tech Open Protocol Table of Contents Page McQuay Micro Tech Open Protocol Driver Manual Hardware Connections Provided by Supplier of 3rd Party EquipmentFieldServer 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