User manual
set ia
120 Chapter 2 Command Descriptions
implied network master encapsulated on TCP and UDP port 2101. So
by default, incoming Modbus/RTU in TCP or UDP port 2101 is enabled.
• “set ia master=1” enables incoming Modbus/TCP masters.
• “set ia master=2” enables incoming Modbus/UDP masters (this is
Modbus/TCP format by UDP port 502).
• “set ia table” assumes slaves 1 to 32 are on the serial port. Slave
address (or Unit ID or Bridge Index) zero will be treated as 1. Slave
addresses 33 to 254 are assumed to be Modbus/TCP slaves on the
local Ethernet subnet, with the slave address used as the last octet of
the IP. For example, if the Digi device has the IP address 10.45.203.1,
then slave 75 is assumed to be a Modbus/TCP server at 10.45.203.75
on the local Ethernet.
Configure serial-port connected devices (set ia serial)
set ia serial=range [serial options] [modbus options]
[serial options]:
type={master|slave}
table=1..8
protocol={modbusrtu|modbusascii}
messagetimeout=100-99999 ms
slavetimeout=10-99999 ms
chartimeout=3-99999 ms
idletimeout={0=disabled|1-99999 seconds}
priority={high|medium|low}
[modbus options]:
errorresponse={on|off}
broadcast={on|off|replace}
fixedaddress={auto|1-255}
To set the baud rates for the port, see "set serial" on page 189.
To enable IA protocols, set the serial port profile to “ia.” see "set profile" on
page 172.
Configure network-based masters (set ia master)
set ia master=range
state={on|off}
active={on|off}
type={tcp|udp}
ipport=ip port
table=1..8
protocol={modbusrtu|modbusascii|modbustcp}
messagetimeout=100-99999 ms
chartimeout=3-99999 ms
idletimeout={0=disabled|1-99999 seconds}
priority={high|medium|low}