EasyManua.ls Logo

Digi Connect IT 4

Digi Connect IT 4
964 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...
Services Modbus gateway
Digi Connect IT® 4 User Guide
550
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)>
ii. Set the port:
(config service modbus_gateway client test_modbus_client)>
serial port
(config service modbus_gateway client test_modbus_client)>
ii. Set the packet mode:
(config service modbus_gateway client test_modbus_client)>
serial packet_mode value
(config service modbus_gateway client test_modbus_client)>
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 client test_modbus_client)>
serial 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 one second, enter 1000ms or 1s.
iv. (Optional) Enable half-duplex (two wire) mode:
(config service modbus_gateway client test_modbus_client)>
serial half_duplex true
(config service modbus_gateway client test_modbus_client)>
d. (Optional) Enable the gateway to send broadcast messages to this client:
(config service modbus_gateway client test_modbus_client)> broadcast
true
(config service modbus_gateway client test_modbus_client)>

Table of Contents

Related product manuals