set ia

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={masterslave} table=1..8 protocol={modbusrtumodbusascii} messagetimeout=100-99999 ms slavetimeout=10-99999 ms chartimeout=3-99999 ms idletimeout={0=disabled1-99999 seconds} priority={highmediumlow}

[modbus options]: errorresponse={onoff} broadcast={onoffreplace} fixedaddress={auto1-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={onoff} active={onoff} type={tcpudp} ipport=ip port table=1..8 protocol={modbusrtumodbusasciimodbustcp} messagetimeout=100-99999 ms chartimeout=3-99999 ms idletimeout={0=disabled1-99999 seconds} priority={highmediumlow}

120

Chapter 2 Command Descriptions

Page 120
Image 120
Digi 90000566_H manual Configure serial-port connected devices set ia serial, Configure network-based masters set ia master