| Page 32 of 51  | 
  | 
  | 
Appendix A.8. DNP_Stats
In addition to the standard FieldServer communication statistics described in the FieldServer Configuration Manual the DNP 3.0 Driver can expose some driver statistics by writing to a data array called “DNP_STATS”
The following example shows how this special Map Descriptor can be configured. Only one of these Map Descriptors may be specified per FieldServer.
Nodes  | 
  | 
  | 
Node_Name  | ,Protocol  | ,Node_ID  | 
Null_Node  | ,DNP | ,100  | 
Data_Arrays  | 
  | 
  | 
Data_Array_Name  | ,Data_Format  | ,Data_Array_Length  | 
DNP_STATS  | ,UINT32  | ,100  | 
Map_Descriptors,  | 
  | 
  | 
Map_Descriptor_Name  | ,Data_Array_Name,  | ,Node_Name  | 
,DNP_STATS, | ,Null_Node  | 
The driver stores the following data in the data array EGD_STATS.
Array  | 
  | Contents  | 
  | 
Element  | 
  | 
  | |
  | 
  | 
  | |
1  | 
  | DRV_DLL_CLIENT_SENDS_MSG  | |
2  | 
  | DRV_DLL_CLIENT_SENDS_BYTES  | |
3  | 
  | DRV_DLL_SERVER_SENDS_MSG  | |
4  | 
  | DRV_DLL_SERVER_SENDS_BYTES  | |
5  | 
  | DRV_DLL_CLIENT_RCVS_MSG  | |
6  | 
  | DRV_DLL_CLIENT_RCVS_BYTES  | |
7  | 
  | DRV_DLL_SERVER_RCVS_MSG  | |
8  | 
  | DRV_DLL_SERVER_RCVS_BYTES  | |
9  | 
  | DNP_UPD_TMO  | |
10  | 
  | DNP_UPD_PROTO  | |
11  | 
  | DNP_UPD_NOISE  | |
12  | 
  | DNP_UPD_CHECK  | |
12  | 
  | DNP_UPD_STATION  | |
14  | 
  | DNP_UPD_LENGTH  | |
15  | 
  | DNP_UPD_EXCEPT  | |
16  | 
  | DNP_UPD_STREAMING  | |
17  | 
  | DNP_UPD_FUNCTION  | |
18  | 
  | DNP_UPD_PREMATURE  | |
19  | 
  | DNP_UPD_IC_TIMEOUT  | |
20  | 
  | DNP_UPD_NAK  | |
21  | 
  | DNP_UPD_OVERRUN  | |
22  | 
  | DNP_UPD_HOLD_TIMEOUTS  | |
23  | 
  | DNP_UPD_NODE_OFFLINE  | |
24  | 
  | DNP_UPD_NO_SLAVE  | |
25  | 
  | DNP_UPD_NO_START  | |
26  | 
  | DNP_UPD_SCADA_BYTES_RECD  | |
27  | 
  | DNP_UPD_SCADA_BYTES_SENT  | |
28  | 
  | DNP_UPD_SCADA_MSG_SENT  | |
29  | 
  | DNP_UPD_SCADA_MSG_RECD  | |
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: support@fieldserver.com