Services
Modbus gateway
Digi Connect IT® 16/48 User Guide
409
(config service modbus_gateway client test_modbus_client)> filter
0 10
(config service modbus_gateway client test_modbus_client)>
n
To filter for all messages with addresses in the range of 20 to 30, set the index
0
entry to
20-30
:
(config service modbus_gateway client test_modbus_client)> filter
0 20-30
(config service modbus_gateway client test_modbus_client)>
To add additional filters, increment the index number. For example, to add an additional
filter for addresses in the range of 50-100:
(config service modbus_gateway client test_modbus_client)> filter 1 50-
100
(config service modbus_gateway client test_modbus_client)>
g. If request messages handled by this client should always be forwarded to a specific device,
, use
fixed_server_address
to set the device's Modbus address:
(config service modbus_gateway client test_modbus_client)> fixed_server_
address
value
(config service modbus_gateway client test_modbus_client)>
Leave at the default setting of
0
to allow messages that match the Modbus address filter
to be forwarded to devices based on the Modbuss address in the message.
h. To adjust the Modbus server address downward by the specified value prior to delivering
the message, use
adjust_server_address
:
(config service modbus_gateway client test_modbus_client)> adjust_
server_address
value
(config service modbus_gateway client test_modbus_client)>
where
value
is an integer from
0
to
255
. Leave at the default setting of
0
to not adjust the
server address.
If a packet contains a Modbus server address above the amount entered here, the address
will be adjusted downward by this amount before the packet is delivered. This allows you
to 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:
l
filter
set to
10
.
This will configure the gateway to deliver all messages that have the Modbus server
address of 10 to this device.
n
Client two:
l
filter
set to
20
.
l
adjust_server_address
set to
10
.
Содержание Connect IT 16
Страница 1: ...Digi Connect IT 16 48 User Guide Firmware version 21 2 ...
Страница 157: ...Interfaces Bridging Digi Connect IT 16 48 User Guide 157 8 Click Apply to save the configuration and apply the change ...
Страница 440: ...Services Configure the ping responder service Digi Connect IT 16 48 User Guide 440 iperf Done ...