Digi IX40 User Manual page 599

Table of Contents

Advertisement

Services
n
c. Repeat the above instructions for additional servers.
IX40 User Guide
(config service modbus_gateway server test_modbus_server)> inactivity_timeout
600s
(config service modbus_gateway server test_modbus_server)>
If connection_type is set to serial:
i. Set the serial port:
i. Use the ?to determine available serial ports:
(config service modbus_gateway server test_modbus_server)> ... serial port ?
Serial
Additional Configuration
-------------------------------------------------------------------------------
port1
(config service modbus_gateway server test_modbus_server)>
ii. Set the port:
(config service modbus_gateway server test_modbus_server)> serial port
(config service modbus_gateway server test_modbus_server)>
ii. Set the packet mode:
(config service modbus_gateway server test_modbus_server)> serial packet_mode
value
(config service modbus_gateway server test_modbus_server)>
where value is either rtu or ascii. The default is rtu.
iii. Set the maximum allowable time between bytes in a packet:
(config service modbus_gateway server test_modbus_server)> serial 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 one second, enter 1000ms or 1s.
iv. (Optional) Enable half-duplex (two wire) mode:
(config service modbus_gateway server test_modbus_server)> serial half_duplex
true
(config service modbus_gateway server test_modbus_server)>
Port 1
Modbus gateway
599

Advertisement

Table of Contents
loading

Table of Contents