Chassis Plans CPX1-241 Technical Reference
Appendix A – Display Serial Control Programming
Page 44
Text Via RS232 Command
Function
Command
Description
Acknowledge (if enabled)
Send Line
0xF0,
|”S” |”LL”|”TEXT”|
“0x0A”
Return “1”
“S” = “0x53 or 0x73”
Send command
-------------------------------------------
-
“LL” = “0x30,0x31~0x30,0x34”
Line number (Rang 0~4 lines)
-------------------------------------------
-
“Text”= ASCII code,
“0x20~0x7E”
Character( Rang 0~34 )
-------------------------------------------
-
0x0A = End of line
“S” – Send Command
“LL” – Line Number
“Text” – Character
“0x0A” – End of Line
“1” - successful.
e.g Display “Send Text” message on screen:
RS232 Code:“0xF0 0x53 0x30 0x31 0x53 0x65 0x6E 0x64 0x20 0x54 0x65 0x78 0x74 0x0A”
Return Code: “0xF0 0x53 0x30 0x31 0x53 0x65 0x6E 0x64 0x20 0x54 0x65 0x78 0x74 0x0A 0x31”
Clear Line
0xF0,
|”C” |”LL”|
Return “nn”
“C” = “0x43 or 0x63”
Clear command
-------------------------------------------
-
“LL” = “0x30,0x31~0x30,0x34”
Line number (Rang 0~4 lines)
“C” – Clear command
“LL” – Line Number
“nn” – Return Line number
e.g Clear Line 1
RS232 Code: “0xF0 0x43 0x30 0x31”
Return Code: “0xF0 0x43 0x30 0x31 0x30 0x31”
Text Window
Horizontal Position
0xF0,
|”H” |”ss”|
Return “nn”
“H” = “0x48 or 0x68”
------------------------------------------
--“nn” = “0x30,0x30~0x46,0x46”
“H” – Horizontal Position
command
“ss” – Set Horizontal Position
number
“nn” – Return Position number
e.g Set Text Window Horizontal Position
RS232 Code: “0xF0 0x48 0x30 0x31”
Return Code: “0xF0 0x48 0x30 0x31 0x30 0x31”
Text Window
Vertical Position
0xF0,
|”V” |”ss”|
Return “nn”
“V” = “0x56 or 0x76”
------------------------------------------
--“nn” = “0x30,0x30~0x46,0x46”
“V” – Vertical Position command
“ss” – Set Vertical Position
number
“nn” – Return Position number
e.g Set Text Window Vertical Position
RS232 Code: “0xF0 0x56 0x30 0x31”
Return Code: “0xF0 0x56 0x30 0x31 0x30 0x31”