Digi TX40 User Manual page 714

Table of Contents

Advertisement

Services
configure clients on the gateway that will forward messages to remote devices with the same
Modbus address on different buses. For example, if there are two devices on two different
buses that have the same Modbus address of 10, you can create two clients on the gateway:
n
Client one:
Modbus address filter set to 10.
l
This will configure the gateway to deliver all messages that have the Modbus server
address of 10 to this device.
n
Client two:
Modbus address filter set to 20.
l
Adjust Modbus server address set to 10.
l
This will configure the gateway to deliver all messages that have the Modbus server
address address of 20 to the device with address 10.
16. Repeat these steps to configure additional clients.
17. Click Apply to save the configuration and apply the change.
Command line
1. Select the device in Remote Manager and click Actions > Open Console, or log into the TX40
local command line as a user with full Admin access rights.
Depending on your device configuration, you may be presented with an Access selection
menu. Type admin to access the Admin CLI.
2. At the command line, type config to enter configuration mode:
> config
(config)>
3. Enable the Modbus gateway:
(config)> service modbus_gateway enable true
(config)>
4. Configure servers:
a. Add a server:
(config)> add service modbus_gateway server name
(config service modbus_gateway
where name is a name for the server, for example:
(config)> add service modbus_gateway server test_modbus_server
(config service modbus_gateway server test_modbus_server)>
The Modbus server is enabled by default. To disable:
(config service modbus_gateway server test_modbus_server)> enable
false
(config service modbus_gateway server test_modbus_server)>
TX40 User Guide
server name)>
Modbus gateway
714

Advertisement

Table of Contents
loading

Table of Contents