set ia

Options for configuring network-based masters (set ia master)

master=range

Specifies the index of the network master to which the master options apply.

state={onoff}

Enables the IA network master settings.

active={onoff}

Enables or disables the network listener that accepts network connections.

type={tcpudp}

Defines whether the incoming connection is TCP (connected) or UDP (unconnected). The default is “tcp.”

For cellular connections, using UDP/IP can cut 40% to 60% from your monthly bill.

ipport=ip port

Defines the UDP or TCP port on which to listen for protocol messages. Modbus/TCP defaults to TCP port 502.

table=1..8

Defines which table is used to route messages to their destination. This option applies only to master-attached devices.

protocol={modbusrtumodbusasciimodbustcp} The protocol used for the connection.

modbusrtu

Modbus/RTU – 8-bit binary per www.modbus-ida.org specification.

modbusascii

Modbus/ASCII – 7-bit ASCII per www.modbus-ida.org specification.

modbustcp

Modbus/TCP – or “Open Modbus” per www.modbus-ida.org specification. Can be enabled with UDP/IP as well as TCP/IP.

messagetimeout=100-99000 ms

When messages are received from remote clients, this is the time to allow the message to wait to be answered. This includes both the queuing and slave response delays, and this should be set to slightly less than the timeout of the remote client. After this time, the Digi device assumes the remote client no longer wants a response. The range is 100 to 99000 milliseconds. The default is 2500 milliseconds.

chartimeout=3-99000 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.

Chapter 2 Command Descriptions

125

Page 125
Image 125
Digi 90000566_H manual Master=range, Type=tcpudp, Ipport=ip port, Table=1..8, Chartimeout=3-99000 ms