Services
Modbus gateway
Digi Connect IT® 16/48 User Guide
403
n
Client two:
l
Modbus address filter
set to
20
.
l
Adjust Modbus server address
set to
10
.
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. Log into the Connect IT 16/48 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
server
name
)>
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)>
b. Set the connection type:
(config service modbus_gateway server test_modbus_server)> connection_
type
type
(config service modbus_gateway server test_modbus_server)>
where
type
is either
socket
or
serial
. The default is
socket
.