RS232 Protocol NSL-4601
18 of 58
ID
(char-3~5Bytes)
NACK
(Hexa-1Byte)
(0) 0x15
*** 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 to 9.
Head
(char-2Bytes)
ID
(char-3Bytes)
Cmd
(char-3Bytes)
Data
(char-3Bytes)
Cmd end
(char-1Byte)
K: 010
BRT
009 .
ID
(char-3~5Bytes)
Return Cmd
(char-4Bytes)
Data
(char-1~3Bytes)
Data End
(char-2Bytes “\r\n”)
ACK
(Hexa-1Byte)
(10) BRT=
9
0x06
or
ID
(char-3~5Bytes)
NACK
(Hexa-1Byte)
(0) 0x15
Ex2) Set id = 100 , Brightness change to 100.
Head
(char-2Bytes)
ID
(char-3Bytes)
Cmd
(char-3Bytes)
Data
(char-3Bytes)
Cmd end
(char-1Byte)
K: 100
BRT
100 .
ID
(char-3~5Bytes)
Return Cmd
(char-4Bytes)
Data
(char-1~3Bytes)
Data End
(char-2Bytes “\r\n”)
ACK
(Hexa-1Byte)
(100) BRT=
100
0x06
or
ID
(char-3~5Bytes)
NACK
(Hexa-1Byte)
(0) 0x15
*** Same format command list ***
No Command
Description(range)
Return
Cmd
1
MHC
Multi window H Cell max ( 1 ~ 16)
MHC=
2
MVC
Multi window V Cell max ( 1 ~ 16)
MVC=
3
DNO
Multi window Cell No ( 1 ~ 256)
DNO=