
76
NT-52P - Kramer Protocol 3000
11.3.45 UART
Functions
Permission
Transparency
Set:
UART
Administrator
Public
Get:
UART?
End User
Public
Description
Syntax
Set:
Set com port configuration
#UARTSP
COM_Num,baud_rate,data_bit,parity,stop_bit
CR
Get:
Get com port configuration
#UART?SP
COM_Num
CR
Response
Set:
~nn@
UARTSP
COM_Num,baud_rate,data_bit,parity,stop_bit
CR LF
Get:
~nn@
UARTSP
COM_Num,baud_rate,data_bit,parity,stop_bit,serial1_type,485_term
CR
LF
Parameters
COM_Num
–
1-2
baud_rate
–
9600-115200
data_bit
–
7-8
parity
–
N
(none),
O
(odd),
E
(even),
M
(mark),
S
(space)
stop_bit
–
1-2
serial1_type
–
0
(RS-232),
1
(RS-485)
485_term
–
1/0
(optional - this exists exist only when serial1_type = 485)
Response Triggers
Notes
In NT-52P the serial port is selectable to RS-232 or RS-485 (usually serial port 1).
If Serial1 is configured when RS-485 is selected, the RS-485 UART port is automatically changed
K-Config Example
Configure RS-232 com port 1 to 9600 baud, 8 data bits, no parity, 1 stop bit:
“#UART 1,9600,8,N,1,0”0x0D