25
This is the second (Least Significant) nibble of the first byte of the command. The upper (Most Significant)
nibble is filled by the
CMD-1
(above). It indicates the number of data bytes (0-15) that are required to be
inserted between the
CMD-2
byte and the
CHECKSUM
byte.
CMD-2:
Designates the exact command within the section specified by
CMD-1
.
DATA 0..15
:
If the command requires extended data, the
DATA COUNT
will be set to between 1 and 15 (a 0 indicates
that no extra data is required). These bytes will be placed here.
CHECKSUM
:
This byte is used to check the data for communication errors. To calculate the checksum, each byte of the
command (
CMD-1
+
DATA COUNT
,
CMD-2
, and any
DATA BYTES
) are added together. The least
significant 8 bits (1 byte) are then truncated to create a 1-byte checksum.
I.e.: The command “61.0C.03” becomes
MSB
LSB
0110
0001
(=61)
0000
1100
(=0C)
+)
0000
0011
(=03)
0111 0001 (=70)
CHECKSUM = “70”
Therefore, the complete command is “61.0C.03.70”
3.
Connector Pin Assignment
Interface : 9 pin D-Sub female
The pin assignment of the Controller and HDR-100 is shown in the following table:
Signal
Pin
Controller HDR-100
1 Frame
Ground
Frame
Ground
2 Receive
A(RX-)
Transmit
A(TX-)
3
Transmit B(TX+)
Receive B(RX+)
4
Transmit Common
Receive Common
5 Spare Spare
6 Receive
Common
Transmit
Common
7 Receive
B(RX+)
Transmit
B(TX+)
8
Transmit A(TX-)
Receive A(RX-)
9
Frame Ground
Frame Ground