Page 24 of 26 |
Appendix A.2. Driver Exposed Operating and Error Statistics
In addition to the normal operating stats the driver can expose additional operating/error stats in a Data Array which can be monitored by a remote device.
A special Data Array name is required. The driver recognizes the Data Array by its name which must be
The following example shows how this Data Array can be configured. This section of text can be copied directly into the CSV file.
Data_Arrays |
|
|
Data_Array_Name, | Data_Format, | Data_Array_Length |
UINT32, | 1000 |
The driver stores the following data. The location in the data array is obtained by multiplying the port number by 100 and then using the location offset indicated in the table below.
Offset + x
Where x = port_number*100
Physical Port 1 = Port Number 2
Physical Port 2 = Port number 1
Offset Description
1Stores the select code of the most recently selected device - This is done by the Server
side of the driver
2Stores the select code of the most recently selected
Server side of the driver
3Stores the operating command code of the most recently commanded device/sub- device/port - This is done by the Server side of the driver
4When the driver stores current record counts by label then the driver stores the 1st
character of the label here. This gets overwritten each time new label data is stored.
5See previous. 2nd Character.
6 See previous. 3rd Character.
7 See previous. 4th Character.
8 Increments by 1 each time driver stores using the label method.
9 Increments by 1 each time internal diagnostic 1 is triggered. Should be zero in operational systems.
10 Increments by 1 each time internal diagnostic 4 is triggered. Should be zero in operational systems.
11 Increments by 1 each time internal diagnostic 5 is triggered. Should be zero in operational systems.
12 Increments by 1 each time internal diagnostic 6 is triggered. Should be zero in operational systems.
13 Increments by 1 each time internal diagnostic 7 is triggered. Should be zero in operational systems.
14 Increments by 1 each time there is no response to a select message
15 Increments by 1 each time there is no response to a
16 Increments by 1 each time there is no response to a non select message
17 Increments by 1 each time a response has a checksum error. Only current record poll responses contain checksums.
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web:www.fieldServer.com Tel: 408