18
11.2 RS-232 programming
The
DISPLAY ON/OFF
button also can be programmed to send RS-232 commands by
the following instructions:
Command
Description
Feedback Example
#SET_KEY_RS232 ON
Enable sending RS232 command when the
DISPLAY
ON/OFF
button has been pressed.
@KEY_RS232_SENDING ON
#SET_KEY_RS232 OFF
Disable sending RS232 command when the
DISPLAY
ON/OFF
button has been pressed.
@KEY_RS232_SENDING
OFF
#GET_KEY_RS232
Get the Enabled/Disabled status of sending RS232
command when the
DISPLAY ON/OFF
button has been
pressed.
@KEY_RS232_SENDING ON
@KEY_RS232_SENDING
OFF
#SET_ON_[PARAM1]_[P
ARAM2]: xxxx
Set the RS232 command "xxxx" to be sent to the third-
party device when the
DISPLAY ON
button has been
pressed.
⚫
[PARAM1] = A/H:
[PARAM1]
String
A
ASCII
H
HEX
⚫
[PARAM2] = “01~07”: Represents the baud rate of
the third-party device.
[PARAM2]
Baud Rate
01
115200
02
57600
03
38400
04
19200
05
9600
06
4800
07
2400
#SET_ON_A_01:ABCDEFG
@SET_ON_A_01:ABCDEFG
#SET_OF_[PARAM1]_[PA
RAM2]_ [PARAM3]: xxxx
#SET_OF_A_01_01:ABCDEF
G