beautypg.com

Appendix b.4.3, Data array function – ProSoft Technology PS-QS-1x10-0781 User Manual

Page 76

background image

FieldServer Configuration Manual

Page 76 of 90

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]

Appendix B.4.3.

Data Array Function

The Data_Array_Function Keyword is used in the configuration file to get Data Array specific error conditions and
statistics. The available keywords are listed below:

Keyword

Description

Node_Online_Bits

Bit 0 is unused. Every bit corresponds to the Node with that number up to 255. E.g.:
Bit 3 corresponds to Node 3, etc. Refer to Section 6.1.4

Node_Error_Bits

Cable_Status_Bits

See Section 10.3.8.2

Hot_Standby_Status_Bits See Section 10.3.8.1

Node_Detail_Stat
(Dev_Detail_Stat)

A Data Array is created to reflect Node details. Handle can be set.
Values are reflected in the following order:
0 = Device handle, 1 = Node port; 2 = connection; 3 = old station; 4 = station.

Chan_Detail_Stat

Connection information f
0 = First value handle; 1 = port; 2 = old port; 5 = error count.
Values in Data Array will reflect these values.

Node_Overview_Stat

Gives overview of all devices configured on the FieldServer. Cycles through all the
devices on the FieldServer in the order that they are configured. Note that the Data
Array needs to be long enough to store all device information.
0 = Handle; 1 = station; 2 = port; 3 = adapter; 4 = status; 6 = old station;
10 = Historical message count; 11 = minutes; 12 = hour; 13 = day; 14 = month.
15 = Historical error count; 16 = minutes; 17.= hour; 18 = day; 19 = month.
The next device starts at position 20 and the same structure is repeated. Reporting
will stop after all the devices have been reported or when the Data Array is full.

Chan_Overview_Stat

Same except
0 = handle; 1 = port; 2 = adapter; 3 = status; 8 = old port; 9 = old adapter. Thereafter
follow Historical message and Error blocks in the same format as above.

Dev_Error_Rates

Reports the number of errors per hour for each Node. Location in the Data Array is
the station of the device i.e. if the device station is configured to be 10, position 10 in
the Data Array will show the number of errors per hour. Errors for the past 60
minutes are stored.

Dev_Msg_Rates

Same as above, except counting messages not errors.

Dev_Error_Percentage

Percentage of messages generating errors over the past hour.

Node_Status

Provides the communication status between the FieldServer and the actively mapped
Nodes. Refer to Section 6.1.1

Alias_Node_Status

Where 2 nodes have the same Node_ID or Node_ID’s are longer than 255, each Node
can be assigned an Alias_Node_ID which can be used to provide Node Status. Refer
to Section 6.1.2