RS232 Protocol NSL-4601
7 of 58
2
Concepts of command requests and replies
The protocol defines exactly two types of protocol units.
2.1
Direct Control Command Protocol
All requests that are send to the device have the following format:
Send to Monitor
Head
ID
Cmd
End
2 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”.
End
Type of command “.” for Set command and direct control
commands.
Reply to PC (Only for single monitor)
1)Ack type1.
ID
Cmd
Data
Data End
Ack
3~5 Bytes
4 Byte
1~3 Bytes
2 Byte
1 Byte
2)Ack type2
ID
Ack
3~5 Bytes
1 Byte
3) Nack
ID
Nack
3~5 Bytes
1 Byte
4)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 ,