4. Configuration
119
Diagnostics Variable
T_DIAG_MODBUS_ETH_SERVER_1 *.
Size
Description
Communication statistics:
tStat.*
wActiveConnections
WORD
Number of established connections
between client and server (0 to 64).
wTimeoutClosedConnections
WORD
Connections counter, between the client
and server, interrupted after a period of
inactivity-time-out (0 to 65535).
wClientClosedConnections
WORD
Connections counter interrupted due to
customer request (0 to 65535).
wRXFrames
WORD
Ethernet frames counter received by the
server. An Ethernet frame can contain
more than one request (0 to 65535).
wRXRequests
WORD
Counter of requests received by the
server and answered normally (0 to
65535).
wTXExceptionResponses
WORD
Counter of requests received by the
server and answered with exception
codes (0 to 65535). The exception
codes are listed below:
1: the function code (FC) is legal, but
not supported.
2: relation not found in these MODBUS
data.
3: illegal value for the address.
128: the master/client has no right to
read or write.
129: MODBUS relation is disabled.
wRXIllegalRequests
WORD
Illegal requests counter (0 to 65535).
wDiag_18_reserved
WORD
Reserved
Table 4-71. MODBUS Server Diagnostics
Note:
Counters:
all counters of the MODBUS Ethernet Server Diagnostics return to zero when the limit
value 65535 is exceeded.
Mapping Configuration
The setting of the MODBUS Server relations (Figure 4-23), follows the parameters described in
Table 4-72:
Figure 4-23. MODBUS Server Data Mapping