Services
d. (Optional) Enable the gateway to send broadcast messages to this client:
(config service modbus_gateway client test_modbus_client)> broadcast true
(config service modbus_gateway client test_modbus_client)>
e. Set the maximum time to wait for a response to a message:
(config service modbus_gateway client test_modbus_client)> response_timeout value
(config service modbus_gateway client test_modbus_client)>
Allowed values are between 1 millisecond and 700 milliseconds, and take the format
numberms.
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)>
If connection_type is set to xbee, response_timeout must be at least 5000 milliseconds
(five seconds), because the XBee mesh at times does route discover and other
housekeeping which will cause responses to be returned in about five seconds.
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
n
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)>
Digi IX15 Gateway User Guide
Note
Set to 500 milliseconds or larger. XBee is not a high-performance
Modbus transport; the nature of the multipath, fault-tolerant mesh means
transactions take a variable amount of time to complete.
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)>
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)>
Modbus gateway
649
Need help?
Do you have a question about the IX15 and is the answer not in the manual?