ACURA’s
RX210 User Manual
Page 17 of 35
5 Protocols
and
Addressing
As mentioned earlier data flowing on this network have a specific packet format. This
format is defined as follows:
5.1 Command
Packets
0xA Data Network
Receiver Node
Command Data Checksum
All bytes are HEX Values
1.
Header
1 Byte [0xAA]
2.
Length 1
Byte (Number
of Bytes in data section)
3.
Network
ID
1
Byte
4.
Receiver
ID
1
Byte
5.
Node ID
1 Byte
6.
Command
1
Byte
7.
Data Up
to
64
Bytes
of
Data
8.
Checksum
1
Byte
CHECKSUM =
[Length] XOR [Receiver ID] XOR [Token ID] XOR [Command ID] XOR [Data]…XOR
[Data]
5.2 Response
Packets
0x5 Data Network
Receiver Node
Command Data
Checksum
All bytes are HEX values.
9.
Header 1
Byte [0x55]
10.
Length
1 Byte (Number of Bytes in data section)
11.
Network ID
1 Byte
12.
Receiver
ID
1
Byte
13.
Node
ID 1
Byte
14.
Command
1
Byte
15.
Data
Up
to
64
Bytes
of
Data
16.
Checksum
1 Byte (XOR from Length to Last Data Byte),
CHECKSUM =
[Length] XOR [Receiver ID] XOR [Token ID] XOR [Command ID] XOR [Data]…XOR
[Data]
Command and Response packets are essentially identical except for the header character. This
different header character enables equipment receiving all the data to differentiate between command
and response packets. Since the RS232 port presents all the data at all times, it will be necessary here
to be able to differentiate between these packets.