User guide

Configuring the User-Defined Protocol
Chapter 11 Configuring the Digi Device for IA 58
Modbus Configuration Procedure
Use this topic to configure the Digi One/PortServer TS 2/4 for use in a Modbus environment from the
web-based configuration wizard.
1. Access the Digi One/PortServer TS 2/4 from a web browser by entering the Digi device’s IP address in
the URL window.
2. Sign on as root. The default password is dbps.
3. From the main menu, choose Setup Wizards > Industrial Protocols.
4. Use the wizard and the context-sensitive help to complete configuration tasks. Here are a few tips:
Configure the serial port for the serial communication parameters (baud rate, data bits, parity and
stop bits) required by the connected IA device.
Choose Modbus ASCII or Modbus RTU as the serial port protocol, depending on the requirements
of the IA device connecteed to the port.
If you configure the port for a slave, you do not have to configure a network-based master. Commu-
nication with the master just works. (If the master is connected to a serial port, it must be config-
ured, however.)
If you configure a port for a master and the slaves are located on the network, TCP sockets, UDP
sockets, and Modbus/TCP are all supported. Use the protocol required by the master.
Configuring the User-Defined Protocol
About the User-Defined Protocol
Digi One\PortServer TS 2/4 MEI devices support what Digi calls the “user-defined” protocol, which is
any IA serial-port protocol with the following attributes:
All message packets are bounded by fixed header and trailer strings.
Each protocol request is followed by a single response.
Modbus Configuration Procedure
Use this topic to configure the Digi One/PortServer TS 2/4 to use the user-defined IA protocol.
1. Access the Digi One/PortServer TS 2/4 from a web browser by entering the Digi device’s IP address in
the URL window.
2. Sign on as root. The default password is dbps.
3. From the main menu, choose Setup Wizards > Industrial Protocols.
4. Use the wizard and the context-sensitive help to complete configuration tasks. Here are a few tips:
Configure the serial port for serial communication parameters (baud rate, data bits, parity and stop
bits) required by the connected IA device.
Choose User-defined as the serial-port protocol.
If you configure the port for a slave, you do not have to configure a network-based master. Commu-
nication with the master just works. (If the master is connected to a serial port, it must be config-
ured, however.)
If you configure a port for a master and the slaves are located on the network, TCP sockets and
UDP sockets are supported options.