5. CONFIGURATION
Direct Repre-
sentation
Variable
Diagnostic Variable
T_DIAG_MODBUS
_ETH_CLIENT_1.*
Size Description
%QX(n+2).1
tCommand.
bRestart
BIT Restart client.
%QX(n+2).2
tCommand.
bResetCounter
BIT Restart the diagnostic statistics (counters).
%QX(n+2).3
tCommand.
bDiag_19_reserved
BIT Reserved.
%QX(n+2).4
tCommand.
bDiag_20_reserved
BIT Reserved.
%QX(n+2).5
tCommand.
bDiag_21_reserved
BIT Reserved.
%QX(n+2).6
tCommand.
bDiag_22_reserved
BIT Reserved.
%QX(n+2).7
tCommand.
bDiag_23_reserved
BIT Reserved.
%QB(n+3)
byDiag_3_reserved
BYTE Reserved.
Communication Statistics:
%QW(n+4)
tStat.
wTXRequests
WORD
Counter of number of requests transmitted
by the client (0 to 65535).
%QW(n+6)
tStat.
wRXNormalResponses
WORD
Counter of normal answers received by the
client (0 to 65535).
%QW(n+8)
tStat.
wRXExceptionResponses
WORD
Counter of answers with exception code (0
to 65535).
%QW(n+10)
tStat.
wRXIllegalResponses
WORD
Counter of illegal answers received by the
client – invalid syntax, invalid CRC or not
enough bytes received (0 to 65535).
%QW(n+12)
tStat.
wDiag_12_reserved
WORD Reserved.
%QW(n+14)
tStat.
wDiag_14_reserved
WORD Reserved.
%QW(n+16)
tStat.
wDiag_16_reserved
WORD Reserved.
%QW(n+18)
tStat.
wDiag_18_Reserved
WORD Reserved.
Table 106: MODBUS Client Protocol Diagnostics
Note:
Counters: all MODBUS TCP Client diagnostics counters return to zero when the limit value 65535 is exceeded.
5.5.8.1.2. Device Configuration – Configuration via Symbolic Mapping
The devices configuration, shown on figure below, follows the following parameters:
131