User manual

set ia
130 Chapter 2 Command Descriptions
Examples Serial port configuration settings
The following “set ia” commands show the default serial-port configuration
settings for the Digi Connect WAN IA:
set ia serial=1 active=on type=slave protocol=modbusrtu table=1
set ia serial=1 messagetimeout=2500 slavetimeout=1000 chartimeout=20
set ia serial=1 priority=medium idletimeout=0
set ia serial=1 errorresponse=off broadcast=replace fixedaddress=0
set ia table=1 route=1 active=on type=serial protaddr=0-32 port=1
Note that future Digi Connect WAN IA firmware releases will expose these
configuration settings in the Web user interface.
Enable a Modbus/RTU serial master
To enable a Modbus/RTU serial master instead, change the configuration
settings by entering the following “set ia” commands via Telnet. These
“set ia” commands change the serial device type from slave to master. In
addition, to handle cellular latency, a timeout value of 31 seconds or longer
is needed. In addition, the first route, which forwards requests to the serial
port, can be turned off.
set ia serial=1 type=master messagetimeout=31000
set ia table=1 route=1 active=off
Additional examples
For more examples of the “set ia” command, see the application note
“Remote Cellular TCP/IP Access to Modbus Ethernet and Serial Devices”
(Part Number 90000773) available at available from digi.com Support
page: http://www.digi.com/support/ia
See also "revert" on page 61. The “revert ia” command options revert any
existing IA configuration settings.
"set profile" on page 172. The “ia” port profile configures a serial port for
controlling and monitoring various IA devices and PLCs.
"set serial" on page 189.
"show" on page 249 for displaying the current IA configuration settings.
For more information on Industrial Automation, see the IA application
help available at this URL: http://www.digi.com/support/ia