7. LW3 Programmers' Reference
7.17. RS-232 Port Configuration
INFO:
Serial port numbering can be found in the
7.17.1. Protocol Setting
Command and Response
#rs232 #rs-232 #serial #controlprotocol
SET·/MEDIA/UART/<port>.ControlProtocol=<protocol>
ç
pw·/MEDIA/UART/<port>.ControlProtocol=<protocol>
æ
Parameters
Identifier
Parameter description
Control protocol which is
<protocol>
applied on the selected
serial port
Example
ç SET /MEDIA/UART/P1.ControlProtocol=1
æ pw /MEDIA/UART/P1.ControlProtocol=1
Port Numbering
section.
Value
Parameter value
0
LW2 protocol
1
LW3 protocol
Applied firmware packages: (UMX-TPS): v1.5.0b4 | (WP-UMX-TPS): v1.4.0b8 | (FP-UMX-TPS): v1.4.0b8 | LDC software: v2.5.6b2
UMX-TPS-TX100 series – User's Manual
7.17.2. BAUD Rate Setting
Command and Response
SET·/MEDIA/UART/<port>.Baudrate=<baudrate>
ç
pw·/MEDIA/UART/<port>.Baudrate=<baudrate>
æ
Parameters
Identifier
Parameter description
<baudrate>
Example
ç SET /MEDIA/UART/P1.Baudrate=2
æ pw /MEDIA/UART/P1.Baudrate=2
7.17.3. Databits Setting
Command and Response
SET·/MEDIA/UART/<port>.DataBits=<databits>
ç
pw·/MEDIA/UART/<port>.DataBits=<databits>
æ
Parameters
Identifier
Parameter description
<databits>
Example
ç SET /MEDIA/UART/P1.DataBits=8
æ pw /MEDIA/UART/P1.DataBits=8
Value
0
4800
1
7200
2
9600
3
14400
BAUD rate value
4
19200
5
38400
6
57600
7
115200
Value
8
8
Databits value
9
9
130
Parameter value
Parameter value