Services
Modbus gateway
TX54 User Guide
632
For example, to set response_timeout to 100 milliseconds:
(config service modbus_gateway client test_modbus_client)> response_
timeout 100ms
(config service modbus_gateway client test_modbus_client)>
The default is
700ms
.
f. Configure the address filter:
This filter is used by the gateway to determine if a message should be forwarded to a
destination device. If the Modbus address in the message matches one or more of the
filters, the message is forwarded. If it does not match the filters, the message is not
forwarded. Allowed values are
1
through
255
or a hyphen-separated range.
For example:
n
To have this client filter for incoming messages that contain the Modbus address of
10, set the index
0
entry to
10
:
(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)>
Содержание TX54
Страница 1: ...TX54 User Guide Firmware version 22 2 ...
Страница 190: ...Interfaces Bridging TX54 User Guide 190 ...
Страница 293: ...Hotspot Hotspot configuration TX54 User Guide 293 ...
Страница 332: ...Hotspot Show hotspot status and statistics TX54 User Guide 332 ...
Страница 584: ...Services Simple Network Management Protocol SNMP TX54 User Guide 584 4 Click Download ...
Страница 1069: ...Command line interface Command line reference TX54 User Guide 1069 reboot Reboot the system Parameters None ...