EasyManua.ls Logo

ALTUS Nexto NX3004 - Page 123

ALTUS Nexto NX3004
388 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
4. Configuration
115
Configuration
Description
Default Value
Options
Task Cycle (ms)
Time for the instance execution
within the cycle, without
considering its own execution
time.
50
5 to 100
Connection Inactivity
Time-out (s)
Maximum idle time between
client and server before the
connection is closed by the
server.
10
10 to 3600
Keep the
communication running
on CPU stop
Enable the MODBUS Symbol
Slave to run while the CPU is in
STOP or after a breakpoint.
Unchecked
Unchecked
or checked
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
Size
Description
Diagnostic bits:
%QX(n).0
tDiag.*
bRunning
BIT
The server is running
%QX(n).1
bNotRunning
BIT
The server is not running (see bit
bInterruptedByCommand)
%QX(n).2
bInterruptedByCommand
BIT
The bit bNotRunning was enabled,
because the server was interrupted
by the user through the command
bit
%QX(n).3
bConfigFailure
BIT
Discontinued diagnostic
%QX(n).4
bRXFailure
BIT
Discontinued diagnostic
%QX(n).5
bTXFailure
BIT
Discontinued diagnostic
%QX(n).6
bModuleFailure
BIT
Discontinued diagnostic
%QX(n).7
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
bRestart
BIT
Restart the server
%QX(n+2).2
bResetCounter
BIT
Reset diagnostics statistics
(counters)

Table of Contents