RS232 Protocol NSL-4601
9 of 58
2.2
Value Adjust Command Protocol
All answers that are received from the device have the following format:
Send to Monitor
Head
ID
Cmd
Data
End
2 Byte
3 Byte
3 Byte
3 Byte
1 Byte
Head
All protocol units start with the same header-byte: “K:”
ID
3 Char identifier (“000”-“255”) is used for the device in the
serial chain.
“ALL” is used to send a command to all devices in the
chain. In this case monitor doesn’t reply.
Cmd
3 Char command Identifier corresponding to the “original
MWCP protocol”.
Data
1~3 Char command Identifier ( “(0)”-“(255)” )
corresponding to the “original MWCP protocol”.
End
Type of command “.” for Set command and direct control
commands.
Reply to PC (Only for single monitor)
1) Ack
ID
Cmd
Data
Data End
Ack
3~5 Bytes
4 Byte
1~3 Bytes
2 Byte
1 Byte
2) Nack
ID
Nack
3~5 Bytes
1 Byte
3) Skip: no reply.
ID
3~5 Char identifier (“(0)”-“(255)”) is used for the selected
device in the serial chain.
This ID show you the correct destination of command.
Cmd
4 Char command Identifier(“***=”) corresponding to the
“original MWCP protocol”.
Data
1~3 Char command Identifier ( “(0)”-“(255)” )
corresponding to the “original MWCP protocol”.
Data End
2 Char command Identifier(“\r\n”) is used to define the end
of data.
Ack/Nack
Ack : hexa 0x06 is used ,
The monitor received a valid command and was able to
immediately process the command within given timeout
conditions.