Digi TX54 User Manual page 203

Hide thumbs Also See for TX54:
Table of Contents

Advertisement

Serial port
4. Set the mode:
(config serial USB_port)> mode mode
(config serial USB_port)>
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 USB_port)> label label
(config serial USB_port)>
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 USB_port)> baudrate rate
(config serial USB_port)>
b. Set the number of data bits used by the device to which you want to connect:
(config serial USB_port)> databits bits
(config serial USB_port)>
c. Set the type of parity used by the device to which you want to connect:
(config serial USB_port)> parity parity
(config serial USB_port)>
Allowed values are:
n
n
n
The default is none.
d. Set the stop bits used by the device to which you want to connect:
(config serial USB_port)> stopbits bits
(config serial USB_port)>
TX54 User Guide
for information about creating Python applications that
mode.
even
odd
none
Add a USB serial port
Use
Modbus
gateway.
Configure UDP
203

Advertisement

Table of Contents
loading

Table of Contents