5. CONFIGURATION
Direct Rep-
resentation
Variable
Diagnostic Variable
T_DIAG_MODBUS
_ETH_SERVER_1 .*
Size Description
Diagnostic bits:
%QX(n).0
tDiag.
bRunning
BIT The server is running.
%QX(n).1
tDiag.
bNotRunning
BIT
The server is not running (see bit bInter-
ruptedByCommand).
%QX(n).2
tDiag.
bInterruptedByCommand
BIT
The bit bNotRunning was enabled, be-
cause the server was interrupted by the user
through the command bit.
%QX(n).3
tDiag.
bConfigFailure
BIT Discontinued diagnostic.
%QX(n).4
tDiag.
bRXFailure
BIT Discontinued diagnostic.
%QX(n).5
tDiag.
bTXFailure
BIT Discontinued diagnostic.
%QX(n).6
tDiag.
bModuleFailure
BIT Discontinued diagnostic.
%QX(n).7
tDiag.
bDiag_7_reserved
BIT Reserved.
%QB(n+1)
byDiag_1_reserved
BYTE Reserved.
Command bits, restarted automatically:
%QX(n+2).0
tCommand.
bStop
BIT Stop the server.
%QX(n+2).1
tCommand.
bRestart
BIT Restart the server.
%QX(n+2).2
tCommand.
bResetCounter
BIT Reset diagnostics 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.
wActiveConnections
WORD
Number of established connections be-
tween client and server (0 to 64).
%QW(n+6)
tStat.
wTimeoutClosedConnections
WORD
Connections counter, between the client
and server, interrupted after a period of in-
activity - time-out (0 to 65535).
%QW(n+8)
tStat.
wClientClosedConnections
WORD
Connections counter interrupted due to
customer request (0 to 65535).
146