5. CONFIGURATION
Direct Rep-
resentation
Variable
Diagnostic Variable
T_DIAG_MODBUS
_ETH_SERVER_1 .*
Size Description
%QW(n+10)
tStat.
wRXFrames
WORD
Ethernet frames counter received by the
server. An Ethernet frame can contain
more than one request (0 to 65535).
%QW(n+12)
tStat.
wRXRequests
WORD
Requests received by the server counter
and answered normally (0 to 65535).
%QW(n+14)
tStat.
wTXExceptionResponses
WORD
Requests received by the server counter
and answered with exception codes (0 to
65535). The exception codes are listed be-
low:
1: the function code (FC) is legal, but not
supported.
2: relation not found in these data MOD-
BUS.
3: illegal value for the address.
128: the master/client has no right to read
or write.
129: MODBUS relation is disabled.
%QW(n+16)
tStat.
wRXIllegalRequests
WORD Illegal requests counter (0 to 65535).
%QW(n+18)
tStat.
wDiag_18_Reserved
WORD Reserved.
Table 121: MODBUS Server Diagnostics
Note:
Counters: all counters of the MODBUS Ethernet Server Diagnostics return to zero when the limit value 65535 is exceeded.
5.5.9.1.3. Mapping Configuration – Configuration via Symbolic Mapping
The MODBUS relations configuration, showed on figure below, follows the parameters described on table below:
Figure 81: MODBUS Server Data Mappings Screen
Configuration Description
Default
Value
Options
Value Variable Symbolic variable name -
Name of a variable declared
in a program or GVL
Data Type MODBUS data type -
Coil
Input Status
Holding Register
Input Register
147