FieldServer FS-8704-12 instruction manual Appendix B.2. Driver Stats, Array Element Contents

Page 24

FS-8704-12_GE-EGD Manual

Page 24 of 26

Appendix B.2. Driver Stats

EGD producers produce data messages for slave devices to consume. The type and frequency of the messages depends on the producer configuration.

The driver counts all incoming messages of interest as the PLC_READ_MSG_RECD statistic. Other legal messages which do not contain the data this driver is interested in are discarded and are counted as the MSG_IGNORED statistic.

The PLC_READ_MSG_RECD statistic is incremented once by each Map Descriptor which extracts data from an incoming message. Thus, one incoming message and three associated Map Descriptors would cause the statistic to increase by three (when viewed from the connection's point of view.)

This driver can 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 "EGD-stats”.

The following example shows how this special Map Descriptor can be configured.

Nodes

 

 

Node_name,

Protocol

 

null_node,

ge_egd

 

Data_Arrays

 

 

Data_Array_Name,

Data_Format,

Data_Array_Length

EGD_STATS,

UINT32,

100

Map_Descriptors

 

 

Map_Descriptor_Name,

Data_Array_Name,

Node_name

egd-stats,

EGD_STATS,

null_node

When the driver sees this Map Descriptor it uses the Data Array EGD_STATS (in this example) to store driver specific statistics. Only one of these Map Descriptors may be specified per FieldServer.

The driver stores the following data.

Array Element

Contents

0

Messages Produced

1

Bytes Produces

2

Messages Received

3

Bytes Received

4

Messages Consumed

5

Messages Ignored

FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web:www.fieldserver.com Tel: (408) 262-2299 Fax: (408) 262-9042 Toll_Free: 888-509-1970 email: support@fieldserver.com

Image 24
Contents FS-8704-12 GE-EGD Ethernet Global Data Table of Contents GE-EGD Ethernet Global Data Description FS-8704-12GE-EGD ManualProvided by the Supplier of 3rd Party Equipment FieldServer Technologies DescriptionHardware Connections Configuring the FieldServer as a GE-EGD Client Data ArraysSection Title Column Title Function Legal ValuesClient Side Connection Descriptors Client Side Node DescriptorsFS-8704-12GE-EGD Manual Example Driver Specific Map Descriptor Parameters FS-8704-12GE-EGD Manual Column Title Function Legal Values Map Descriptor Example Map Descriptor Basics Map Descriptor Example a Simple Consumer Map DescriptorMap Descriptor Example Multiple Consumer Map Descriptor Server Side Node Descriptors Wrbc Timing Parameters IeeeMap Descriptor Example FS-8704-12GE-EGD ManualPage 16 FS-8704-12GE-EGD Manual Create a CSV file that will consume the produced data Byte Dataq Appendix A.2. Data Types Appendix B. Error Messages Message ActionArray Contents Element Appendix B.1. EGD-ii EGD Internal IndicationsArray Element Contents Appendix B.2. Driver StatsAppendix C.2. Produced Time Stamp Appendix C.3. Status ValuesThis page Intentionally Left Blank