Digi TX40 User Manual page 287

Table of Contents

Advertisement

Serial port
1. Select the device in Remote Manager and click Actions > Open Console, or log into the TX40
local command line as a user with full Admin access rights.
Depending on your device configuration, you may be presented with an Access selection
menu. Type admin to access the Admin CLI.
2. At the command line, type config to enter configuration mode:
> config
(config)>
3. Add the serial port:
(config)> add serial USB_port
(config serial USB_port)>
4. Set the mode:
(config serial USB_port)> mode mode
(config serial USB_port)>
where mode is either:
n
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.
Note
the base firmware for the TX40 device. If you require Python in your environment and
your device is running firmware 21.11.x or newer, see
about installing Python on your device.
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)>
TX40 User Guide
Beginning with firmware release 21.11.x, python is no longer included as part of
mode.
Add a USB serial port
Install Python
for information
Modbus
gateway.
Configure UDP
287

Advertisement

Table of Contents
loading

Table of Contents