Services
Modbus gateway
IX14 User Guide
397
(config service modbus_gateway server test_modbus_server)> enable
false
(config service modbus_gateway server test_modbus_server)>
b. Set the connection type:
(config service modbus_gateway server test_modbus_server)> connection_
type
type
(config service modbus_gateway server test_modbus_server)>
where
type
is either
socket
or
serial
. The default is
socket
.
n
If
connection_type
is set to
socket
:
i. Set the IP protocol:
(config service modbus_gateway server test_modbus_server)>
socket protocol
value
(config service modbus_gateway server test_modbus_server)>
where
value
is either
tcp
or
udp
.
ii. Set the port:
(config service modbus_gateway server test_modbus_server)>
socket
port
(config service modbus_gateway server test_modbus_server)>
where
port
is an integer between
1
and
65535
. The default is
502
.
iii. Set the packet mode:
(config service modbus_gateway server test_modbus_server)>
socket packet_mode
value
(config service modbus_gateway server test_modbus_server)>
where
value
is either
rtu
or
raw
. The default is
rtu
.
iv. Set the maximum allowable time between bytes in a packet:
(config service modbus_gateway server test_modbus_server)>
socket idle_gap
value
(config service modbus_gateway server test_modbus_server)>
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 server test_modbus_server)>
inactivity_timeout
value
(config service modbus_gateway server test_modbus_server)>
where
value
is any number of minutes or seconds up to a maximum of 15
minutes, and takes the format
number
{
m|s
}.
Содержание IX14
Страница 1: ...IX14 User Guide Firmware version 22 2 ...
Страница 45: ...Configuration and management Exit the command line interface IX14 User Guide 45 Type q or quit to exit ...
Страница 515: ...Monitoring This chapter contains the following topics intelliFlow 516 Configure NetFlow Probe 523 IX14 User Guide 515 ...
Страница 756: ...Routing Virtual Router Redundancy Protocol VRRP IX14 User Guide 756 ...
Страница 803: ...Command line interface Command line reference IX14 User Guide 803 Parameters None ...
Страница 812: ...Command line interface Command line reference IX14 User Guide 812 reboot Reboot the system Parameters None ...