EasyManua.ls Logo

Digi Connect IT 16

Digi Connect IT 16
756 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Ā® 16/48 User Guide
406
b. Add a client:
(config)> add service modbus_gateway client name
(config service modbus_gateway client name)>
where name is a name for the client, for example:
(config)> add service modbus_gateway client test_modbus_client
(config service modbus_gateway client test_modbus_client)>
The Modbus client is enabled by default. To disable:
(config service modbus_gateway client test_modbus_client)> enable false
(config service modbus_gateway client test_modbus_client)>
c. Set the connection type:
(config service modbus_gateway client test_modbus_client)> connection_
type type
(config service modbus_gateway client test_modbus_client)>
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 client test_modbus_client)>
socket protocol value
(config service modbus_gateway client test_modbus_client)>
where value is either tcp or udp.
ii. Set the port:
(config service modbus_gateway client test_modbus_client)>
socket port
(config service modbus_gateway client test_modbus_client)>
where port is an integer between 1 and 65535. The default is 502.
iii. Set the packet mode:
(config service modbus_gateway client test_modbus_client)>
socket packet_mode value
(config service modbus_gateway client test_modbus_client)>
where value is either rtu or ascii. The default is rtu.
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}.

Table of Contents

Related product manuals