User manual

set ia
Chapter 2 Command Descriptions 119
set ia
Device support This command is supported in Digi Connect WAN IA, Digi Connect SP,
Digi Connect Wi-SP, Digi Connect ME4, Digi Connect Wi-ME,
Digi Connect EM, Digi Connect Wi-EM.
Purpose Configures selected Digi devices to support special parsing and bridging of
Industrial Automation (IA) protocols. For example, it enables the Digi
device to function as a Modbus/TCP to serial Modbus Bridge. Command
options allow for configuring:
Protocol details of serial-port connected devices
Protocol details of network-based masters
Destination tables and route entries within the tables that define how
protocol requests are forwarded to one of many slaves for a response.
Supported IA protocols include Modbus/RTU and Modbus/ASCII on the
serial port or encapsulated within TCP/IP or UDP/IP, and Modbus/TCP
transported by either TCP/IP or UDP/IP.
For more information on Industrial Automation, see the IA application help
available at this URL:
http://www.digi.com/support/ia
Displaying current IA settings is best done by using the “show” command,
as shown in the Syntax section below.
Required
permissions
For Digi Connect products with two or more users, permissions must be set
to “set permissions s-ia=read” to display the current IA settings, and
“set permissions s-ia=rw” to display and configure IA settings. See
"set permissions" on page 157 for details on setting user permissions for
commands.
Syntax There are several variants of syntax for the “set ia” command, depending
on whether the command is being used to configure serial port-connected
devices, network-based masters, or destination tables and route entries
within destination tables. These syntax descriptions and their option
descriptions are presented separately.
Factory defaults for Industrial Automation settings
The factory defaults for Industrial Automation settings are for a Modbus
bridge with Modbus/RTU serial slaves attached. This configuration is also
automatically created if you change the serial port profile to IA from another
profile and there is no existing IA configuration. The default configuration
is:
The IP address is assigned by DHCP client (there is no fixed IP
address).
Internal DHCP server is disabled (off).
serial “term” login is disabled (off) (you cannot log into the serial port).
“set ia serial=1” assumes Modbus/RTU slaves are attached at
9600:8,N,1. The protocol selected on the serial port is matched by an