4. Configuration
115
Time for the instance execution
within the cycle, without
considering its own execution
time.
Connection Inactivity
Time-out (s)
Maximum idle time between
client and server before the
connection is closed by the
server.
Keep the
communication running
on CPU stop
Enable the MODBUS Symbol
Slave to run while the CPU is in
STOP or after a breakpoint.
Table 4-80. Advanced Configurations
Notes:
Task Cycle: the user has to be careful when changing this parameter as it interferes directly in the
answer time, data volume for scanning and mainly in the CPU resources balance between
communications and other tasks.
Connection Inactivity Time-out: this parameter was created in order to avoid that the maximum
quantity of TCP connections is reached, imagining that inactive connections remain open on account
of the most different problems. It indicates how long a connection (client or server) can remain open
without being used (without exchanging communication messages). If the specified time is not
reached, the connection is closed releasing an input in the connection table.
MODBUS Server Diagnostics – Configuration via Symbolic Mapping
The diagnostics and commands of the MODBUS server protocol configured, either by symbolic
mapping or by direct representation, are stored in variables of type
T_DIAG_MODBUS_ETH_SERVER_1 and the mapping by direct representation are in 4-byte and
8-word, which are described in Table 4-81 (n is the value configured in the Initial Address of
Diagnostics in %Q field):
Direct
Representation
Variable
Variable of type
T_DIAG_MODBUS_ETH_SERVER_1 *
Diagnostics
The server is not running (see bit
bInterruptedByCommand)
The bit bNotRunning was enabled,
because the server was interrupted
by the user through the command
bit
Command bits, restarted automatically:
Reset diagnostics statistics
(counters)