Serial port
Configure UDP serial mode
LR54 User Guide
246
4. Set the mode:
(config)> serial port1 mode udp
(config)>
5. (Optional) Set a label that will be used when referring to this port.
(config)>serial port1 label
label
(config)>
6. Set the baud rate used by the device to which you want to connect:
(config)>serial port1 label baudrate
rate
(config)>
7. Set the number of data bits used by the device to which you want to connect:
(config)>serial port1 label databits
bits
(config)>
8. Set the type of parity used by the device to which you want to connect:
(config)>serial port1 label parity
parity
(config)>
Allowed values are:
n
even
n
odd
n
none
The default is
none
.
9. Set the stop bits used by the device to which you want to connect:
(config)>serial port1 label stopbits
bits
(config)>
10. Set the type of flow control used by the device to which you want to connect:
(config)>serial port1 label flow
type
(config)
Allowed values are:
n
none
n
rts/cts
n
xon/xoff
The default is
none
.
11. (Optional) Configure data framing:
a. Enable data framing:
(config)>serial port1 framing enable true
(config)