4. Configuration
103
Notes:
IP Address: IP address of Modbus Server Device.
TCP Port: if there are multiple instances of the protocol added in a single Ethernet interface,
different TCP ports must be selected for each instance. Some TCP ports, among the possibilities
mentioned above, are reserved and therefore cannot be used. They are: 80, 8080, 1217, 1740, 1741,
1742,1743 and 11740.
Slave address: according to the MODBUS standard, the valid address range for slaves is 0 to 247,
where addresses 248 to 255 are reserved. When the master sends a command of writing with the
address set to zero, it is performing broadcast requests on the network.
The parameters in the advanced settings of the MODBUS Client device, found on the button
"Advanced ..." in the General Parameters tab are divided into: maximum number of simultaneous
requests, Time out, Time-out Mode of Connection and Inactive Time.
Maximum Simultaneous
Request
Number of simultaneous
request the client can ask from
the server
Communication Time-out
(ms)
Application level time-out in ms
Defines when the connection
with the server finished by the
client
Connection is
closed after an
inactive time of
(s):(10 to 3600)
Connection is closed after a
timeout.
Connection is closed at the
end of each communication.
Connection is closed after an
inactive time of (s):(10 to
3600)
Table 4-68. MODBUS Client Advanced Configurations
Notes:
Maximum Simultaneous Requests: it is used with a high scan cycle. This parameter is fixed in 1
(not editable) when the configured protocol is MODBUS RTU via TCP.
Communication Time-out: the Communication time-out is the time that the client will wait for a
server response to the request. For a MODBUS Client device, two variables of the system must be
considered: the time the server takes to process a request and the response sending delay in case it is
set in the server. It is recommended that the time-out is equal or higher than twice the sum of these
parameters. For further information, check Protocols Configuration-Communication Performance
chapter.
Mode: defines when the connection with the server is finished by the client. Below follows the
available options:
ï‚· Connection is closed after an time-out or Connection is never closed in normal situations: Those
options presents the same behavior of Client, close the connection due non response of the a
request by the Server before reaching the Communication Time-out.
ï‚· Connection is closed at the end of each communication: The connection is closed by the Client
after finish each request.
ï‚· Connection is closed after Inactive Time: The connection will be closed by the Client if it reach
the Inactive Time without performing a request to the Server.
Inactive Time: inactivity connection time.
Mappings Configuration – Configuration via Symbolic Mapping
The MODBUS Client mappings configuration, showed on Figure 4-31, follow the parameters
described on Table 4-69: