CNI proprietary protocol commands
05-10-2007
CNI Engineering S.r.l.
43
C
Status bits
Packets sent in response to commands always contain 4
StatusBits
. The following table defines
the meanings of these bits.
Bit
Name
Meaning
3
Not used
2
MASKBITWARNING
If the value is 1, a message is waiting for the master.
1
Not used
0
MASKBITNODIN
If the value is 1, the terminal is responding to the
default command with the status of its overrides and
control knob. If the value is 0, the terminal is
responding with the status of its keys.
D
Invalid command response
Whenever the terminal cannot implement a command, it sends the following response.
Byte
Response
01
STX
02
Node
03
0x0
StatusBit
04
CmdNACK
05
Byte 05 of sent command
06
Byte 06 of sent command
07
Byte 07 of sent command
08
CRC
09
ETX
Example:
The master sends a read command to the terminal at node address 0, but the command
packet contains an error, e.g. it is too long. The terminal responds with
CmdNACK
.
Byte
Command
Response
01
0x02
(STX)
0x02
(STX)
02
0x00
(Node)
0x00
(Node)
03
0x08
0x0
0x04
(StatusBit)
04
0xb8
(CmdGetType)
0x60
(CmdNACK)
05
0x00
0x00
(Byte 05 of sent command)
06
0x00
0x00
(Byte 06 of sent command)
07
0x00
0x00
(Byte 07 of sent command)
08
0x00
0x9b
(CRC)
09
0x00
0x03
(ETX)
10
0x00
11
0x00
12
0xbf
(CRC)
13
0x03
(ETX)
Summary of Contents for RM85x
Page 4: ......
Page 8: ...TABLE OF CONTENTS 05 10 2007 CNI Engineering S r l iv...