Digi IX20-WAG4 User Manual page 171

Table of Contents

Advertisement

Serial port
3. The serial port is enabled by default. To disable:
(config)> serial port1 enable false
(config)>
4. Set the mode:
(config)> serial port1 mode mode
(config)>
where mode is either:
login: Allows the user to log into the device through the serial port.
n
remote: Allows for remote access to another device that is connected to the serial port.
n
application: Provides access to the serial device from Python applications. See
n
Python to access serial ports
access the serial port.
modbus: Allows you to use the serial port for Modbus. See
n
udpserial: Provides access to the device through a UDP serial port. See
n
serial
The default is login.
5. (Optional) Set a label that will be used when referring to this port.
(config)> serial port1 label label
(config)>
6. If mode is set to login or remote:
a. Set the baud rate used by the device to which you want to connect:
(config)> serial port1 baudrate rate
(config)>
b. Set the number of data bits used by the device to which you want to connect:
(config)> serial port1 databits bits
(config)>
c. Set the type of parity used by the device to which you want to connect:
(config)> serial port1 parity parity
(config)>
Allowed values are:
n
n
n
The default is none.
IX20 User Guide
for information about creating Python applications that
mode.
even
odd
none
Configure the serial port
Use
Modbus
gateway.
Configure UDP
171

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ix20

Table of Contents