Services
Modbus gateway
TX54 User Guide
629
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)>
c. Repeat the above instructions for additional servers.
5. Configure clients:
a. Type
...
to return to the root of the configuration:
(config)> add service modbus_gateway server test_modbus_server)> ...
(config)>
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
.
Summary of Contents for TX54
Page 1: ...TX54 User Guide Firmware version 22 2 ...
Page 190: ...Interfaces Bridging TX54 User Guide 190 ...
Page 293: ...Hotspot Hotspot configuration TX54 User Guide 293 ...
Page 332: ...Hotspot Show hotspot status and statistics TX54 User Guide 332 ...
Page 584: ...Services Simple Network Management Protocol SNMP TX54 User Guide 584 4 Click Download ...