RS232 Protocol NSL-4601
16 of 58
***Monitor return source code ***
Didprintf("(%d)",GetSETID()); // Set Id
Didprintf("BRT=%d\r\n",GetPictureBrightnessValue()); // Brightness Value
putchar(ACK); or putchar(NACK); // Ack or Nack.
Ack : Command excute ok.
Nack : Head and ID are correct but others command is not correct format.
If Head or ID commands are incorrect(format or range) monitor don’t reply.
Because monitor consider other type control command(ex auto calibration) if Head is not correct(format
or range).
And Monitor consider other monitor control command if ID is not correct(format or range).
Ex1) Set id = 10 , Brightness change 8 to 9.
Head
(char-2Bytes)
ID
(char-3Bytes)
Cmd
(char-3Bytes)
Cmd end
(char-1Byte)
K: 010
BRU
.
ID
(char-3~5Bytes)
Return Cmd
(char-4Bytes)
Data
(char-1~3Bytes)
Data End
(char-2Bytes “\r\n”)
ACK
(Hexa-1Byte)
(10) BRT=
9
\r\n 0x06
or
ID
(char-3~5Bytes)
NACK
(Hexa-1Byte)
(0) 0x15
Ex2) Set id = 100 , Brightness change 99 to 100.
Head
(char-2Bytes)
ID
(char-3Bytes)
Cmd
(char-3Bytes)
Cmd end
(char-1Byte)
K: 100
BRU
.
ID
(char-3~5Bytes)
Return Cmd
(char-4Bytes)
Data
(char-1~3Bytes)
Data End
(char-2Bytes “\r\n”)
ACK
(Hexa-1Byte)
(100) BRT=
100
\r\n 0x06
or
ID
(char-3~5Bytes)
NACK
(Hexa-1Byte)
(0) 0x15
*** Same format command list ***
No Command
Description
Return
Cmd
1 MHU
/
MHD
Multi window H Cell max 1step
Up/Down
MHC=
2 MVU
/
MVD
Multi window V Cell max 1step
Up/Down
MVC=
3 DNU
/
DND
Multi window Cell No 1step Up/ Down
DNO=
4
HEU / HED
Multi window H Gap(Edge) 1step Up/
Down
MHG=