beautypg.com

Appendix b.6. driver stats, Appendix b.6 – FieldServer FS-8704-12 User Manual

Page 21

background image

FS-8704-12 GE-EGD Driver Manual

Page 21 of 23

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]

Array
Element

Contents

0-31

The first 32 bytes of the most recently received UDP packet received on port 0x4746 (The GE
EGD port).

32

PDUTypeVersion

33

RequestID

34

ProducerID

5

35

ExchangeID

36

TimeStampSec

37

TimeStampNanoSec

38

Status

6

39

ConfigSignature

40

Reserved

41

Source IP Address

1

Appendix B.6. Driver Stats

EGD producers produce data messages for Server 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 data of interest 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


This Map Descriptor instructs the driver to use 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.

5

As a UINT32. Not in dot format

6

Read section 4.4 of GE-Fanuc document GFK-1541 for more information.