FieldServer FS-8700-66 instruction manual Appendix B.1. Driver Stats

Page 22

Page 22 of 29FS-8700-66_GE-SNP Manual

Page 22 of 29

Appendix B.1. Driver Stats

The statistics recorded by the GE-SNP Serial Driver are slightly different from the way that FieldServer driver normally records statistics. This difference arises from the fact that this driver is not a simple poll response driver. Bear in mind that a single poll can generate a large number of response fragments.

Fragment Ack/nack messages are NOT counted as messages but the bytes sent/rcvd are counted.

Connection messages are counted as messages and the bytes sent/rcvd are counted.

This driver can expose these and additional 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 "SNP-stats”.

Example: Configuration of this special Map Descriptor

Nodes

 

 

 

 

 

 

Node_Name,

 

Protocol

 

 

 

 

Null_Node,

 

SNP

 

 

 

 

Data_Arrays

 

 

 

 

 

 

Data_Array_Name,

Data_Format,

 

Data_Array_Length

 

SNP_STATS

,

UINT32

,

 

660

 

 

 

 

 

 

 

 

Map_Descriptors

 

 

 

 

 

 

Map_Descriptor_Name,

Data_Array_Name,

Node_Name,

Length

snp-stats

,

SNP_STATS

,

Null_Node ,

660

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

The driver stores the following stats for each port.. The offset into the Data Array can be found by multiplying the port number by 60

No

Message

Description

 

 

 

 

 

This is 10 bytes long. The numbers placed

0

GE_STAT_CPU_ID

here correspond to the ASCII characters of

 

 

the responding Node's name.

 

 

The current value of the T1 timer is

11

GE_STAT_T1_TIMER

reported here. The driver uses the larger of

 

 

its own and the slave T1 Timer.

12

GE_STAT_MBOX_NAK_MAJOR

Most recent Mailbox Nak error code. See

13

GE_STAT_MBOX_NAK_MINOR

additional table below

14

GE_STAT_MBOX_NAK_CNT

Mailbox Nak error Count

15

GE_STAT_MBOX_PROG_NUM

Most recent Piggyback info

16

GE_STAT_MBOX_SWEEP

 

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

Image 22
Contents FS-8700-66 GE SNP Applicability & EffectivityTable of Contents Gesnp Description 3 of 29FS-8700-66GE-SNP Manual4 of 29FS-8700-66GE-SNP Manual Hardware Connections 5 of 29FS-8700-66GE-SNP Manual6 of 29FS-8700-66GE-SNP Manual FS-8917-01 From FieldServer7 of 29FS-8700-66GE-SNP Manual GE LogicmasterData Arrays/Descriptors Configuring the FieldServer as a Gesnp Client8 of 29FS-8700-66GE-SNP Manual 9 of 29FS-8700-66GE-SNP Manual Client Side Connection DescriptorsSNP RDBC, WRBC, Wrbx Client Side Node Descriptors10 of 29FS-8700-66GE-SNP Manual DescriptorTiming Parameters Driver Related Map Descriptor Parameters11 of 29FS-8700-66GE-SNP Manual Map Descriptor Example 2 Simple Write Map Descriptor Example 1 Simple Read12 of 29FS-8700-66GE-SNP Manual Map Descriptor Example 3 Handling Bits 13 of 29FS-8700-66GE-SNP Manual14 of 29FS-8700-66GE-SNP Manual Configuring the FieldServer as a Gesnp ServerServer Side Connection Descriptors 19200 Odd NoneServer Side Node Descriptors 15 of 29FS-8700-66GE-SNP ManualDriver Specific Map Descriptor Parameters 16 of 29FS-8700-66GE-SNP Manual17 of 29FS-8700-66GE-SNP Manual 18 of 29FS-8700-66GE-SNP Manual Map Descriptor ExampleTabler Appendix A. Troubleshooting Tips 19 of 29FS-8700-66GE-SNP Manual20 of 29FS-8700-66GE-SNP ManualPage 20 Appendix B. Error MessagesSNP9 Edit the CSV, correct the problem and reset the FieldServer Appendix B.1. Driver Stats Drvdllerrorcode DrvdlltimeoutDrvdllerror Gestatmboxplcstat GestatmboxprivlvlGestatdrvactnonoder GestatcdupdictimeoutGestatdrvactnodatar GestatdrvactnakrAppendix C. Advanced Topics Appendix C.1. SNP Node Names 25 of 29FS-8700-66GE-SNP ManualAppendix C.2. Scaling Minor Error Status Codes26 of 29FS-8700-66GE-SNP Manual 27 of 29FS-8700-66GE-SNP Manual 0BF Minor Error Status Codes Program Load and Store Requests28 of 29FS-8700-66GE-SNP Manual 0BD29 of 29FS-8700-66GE-SNP Manual This page Intentionally Left Blank