Digi 90000566_H manual Mapto=protocol address

Models: 90000566_H

1 278
Download 278 pages 26.72 Kb
Page 129
Image 129

set ia

ipport=ip port

The UDP or TCP port on which to listen for protocol messages. Modbus/ TCP defaults to TCP port 502. This option applies only if the route “type=ip.”

replaceip={onaddsuboff}

Specifies whether and how the last octet of the IP address is replaced. This option applies only if the route “type=ip.”

on

The protocol address is used to replace the last octet of the IP address. For example, if the table IP is 192.168.1.75 and the protocol address of this message is 23, the message will be forwarded to the remote IP 192.168.1.23.

add sub

If the “add” or “sub” value is set, the protocol address is added or subtracted from the final octet of the IP address. In the above example, the result would be 192.168.1.98 or 192.168.1.52, respectively.

off

The last octet of the IP address is not replaced.

The default is “off.”

mapto=protocol address

Used for destination entries of type “mapto.” This option defines the protocol address for which to reevaluate this message.

slavetimeout=10-99999 ms

After all bytes of the message have been sent to the slave device, this is the time to wait for the first byte of a response. The range is 10 to 99999 milliseconds. The default is 1000 milliseconds.

chartimeout=3-99999 ms

After a first byte is received, this is the time to wait for additional bytes to either consider the message complete or to be aborted. The default is protocol-specific, but usually 50 milliseconds. In TCP/IP network context, this can be thought of as the re-fragment time between packets.

idletimeout={0=disabled, 1-99999 seconds}

The connection is closed after no new messages have been forwarded to the remote slave (server) for this idle time. The time is saved in seconds. The range is 0 to 99999 seconds, where 0 means never close this connection. The default is 5 minutes.

reconnecttimeout=0-99999 ms

If the connection to the remote node fails and “connect=active,” this time is used to delay attempts to reconnect. The default is 2500 milliseconds.

Chapter 2 Command Descriptions

129

Page 129
Image 129
Digi 90000566_H manual Mapto=protocol address