RS232 Protocol NSL-4601
14 of 58
(char-3~5Bytes)
(Hexa-1Byte)
(0) 0x15
*** Monitor return source code ***
Didprintf("(%d)",GetSETID()); // Set Id
Didprintf("PIM=%d\r\n", GetPictureMode ()); // Picture Mode
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 , change picture mode to USER mode.
Head
(char-2Bytes)
ID
(char-3Bytes)
Cmd
(char-3Bytes)
Cmd end
(char-1Byte)
K: 010
PM0
.
ID
(char-3~5Bytes)
Return Cmd
(char-4Bytes)
Data
(char-1~3Bytes)
Data End
(char-2Bytes “\r\n”)
ACK
(Hexa-1Byte)
(10) PIM
=
9
\r\n 0x06
or
ID
(char-3~5Bytes)
NACK
(Hexa-1Byte)
(0) 0x15
Ex2) Set id = 100 , change picture mode to USER mode.
Head
(char-2Bytes)
ID
(char-3Bytes)
Cmd
(char-3Bytes)
Cmd end
(char-1Byte)
K: 100
PM0
.
ID
(char-3~5Bytes)
Return Cmd
(char-4Bytes)
Data
(char-1~3Bytes)
Data End
(char-2Bytes “\r\n”)
ACK
(Hexa-1Byte)
(100) PIM
=
100
\r\n 0x06
or
ID
(char-3~5Bytes)
NACK
(Hexa-1Byte)
(0) 0x15
*** Same format command list ***
No
Command
Description
Return Cmd and Data
1
CT0
Color temperature set to USER
CRT=0
2
CT1
Color temperature set to COOL1
CRT=2
3
CT2
Color temperature set to COOL2
CRT=1
4
CT3
Color temperature set to Normal
CRT=3
5
CT4
Color temperature set to WARM1
CRT=4