Services
Configure the Modbus gateway
IX20 User Guide
405
iv. Set the maximum allowable time between bytes in a packet:
(config service modbus_gateway client test_modbus_client)>
socket idle_gap
value
(config service modbus_gateway client test_modbus_client)>
where
value
is any number between 10 milliseconds and one second, and take
the format
number
{ms|s}
.
For example, to set idle_gap to 20 milliseconds, enter
20ms
.
v. Set the amount of time to wait before disconnecting the socket when it has
become inactive:
(config service modbus_gateway client test_modbus_client)>
inactivity_timeout
value
(config service modbus_gateway client test_modbus_
client)>
where
value
is any number of minutes or seconds up to a maximum of 15
minutes, and takes the format
number
{
m|s
}.
For example, to set
inactivity_timeout
to ten minutes, enter either
10m
or
600s
:
(config service modbus_gateway client test_modbus_client)>
inactivity_timeout 600s
(config service modbus_gateway client test_modbus_client)>
vi. Set the hostname or IP address of the remote host on which the Modbus
server is running:
(config service modbus_gateway client test_modbus_client)>
remote_host
ip_address
|
hostname
(config service modbus_gateway client test_modbus_client)>
n
If
connection_type
is set to
serial
:
i. Set the serial port:
i. Use the
?
to determine available serial ports:
(config service modbus_gateway client test_modbus_client)>
... serial port ?
Serial
Additional Configuration
---------------------------------------------------------
----------------------
port1
Port 1
(config service modbus_gateway client test_modbus_client)>