User Manual

CHAPTER 6: COMMAND PROTOCOLS
COBALT HF RFID CONTROLLERS OPERATOR’S MANUAL
P/N: 17-1320 REV 01 (03-06) PAGE 69 OF 116
6.3.5 CBx - Command Example
In the example below, Command 0x05 (Read Data) is issued to the Cobalt Controller
assigned to Node ID 01. The controller will be instructed to read 4 bytes of data from a
tag beginning at tag address 0x20. The Timeout Value has been set to two seconds for
the completion of this command (0x07D0 = 2000 x .001 = 2 seconds).
WORD # DESCRIPTION MSB LSB
01 Overall Length of Command
(in words)
0x00 0x06
02 AA
in MSB
Command ID
in LSB: (0x05: Read Data)
0xAA 0x05
03 00
in MSB
Node ID
in LSB: (0x01 for the Cobalt)
0x00 0x01
04
2-byte
Timeout Value
measured in ms
0x07 0xD0
05
2-byte
Start Address
for the Read
Operation: (0x0020)
0x00 0x20
06
2-byte
Read Length
: (0x0004)
0x00 0x04
6.3.6 CBx - Response Example
Below is an example of a typical controller response after successfully executing the
Read Data command (as issued in the previous example).
WORD # DESCRIPTION MSB LSB
01 Overall Length of Response
(in words)
0x00 0x08
02 AA
in MSB
Command Echo
in LSB:
(0x05 Read Data)
0xAA 0x05
03 00
in MSB
Node ID Echo
in LSB
0x00 0x01
04 Month
and
Day
timestamp:
(March 19
th
)
0x03 0x13
05 Hour
and
Minute
timestamp
(10:11: AM)
0x0A 0x0B
06 Seconds
timestamp in MSB
(:36 seconds)
# of Additional Data Bytes
Retrieved
in LSB: (0x04)
0x24 0x04
07 Retrieved Data
(bytes 1 & 2)
0x01 0x02
08 Retrieved Data
(bytes 3 & 4)
0x03 0x04