Emsa HS500E Car Stereo System User Manual


 
CHAPTER 3: RFID COMMANDS
C OMMAND 02:
R EAD D ATA
DESCRIPTION
Command 02 instructs the H500E to retrieve a specified number of bytes from a
contiguous (sequential) area of an RFID tag’s memory.
The Read Data command
consists of the Overall Length (OAL), the Command ID Number, Node ID value,
Timeout Value, Start Address and Read Length.
The minimum Read Length is 1 byte. If the Read Length extends beyond the last tag
address, an error will occur.
The Timeout Value is measured in .10 second increments and can have a minimum
value of 1 (0x0001).
Note: Tag address 0x0000 contains the Battery Counter Value. The Battery Counter
stores a one-byte value that indicates the number of operating hours that an active
tag has been in use since it last had its internal batteries replaced. To retrieve this
value, the Start Address should be set to 0x0000.
EXAMPLE
In the example below, the HS500E will read 4-bytes from the tag beginning at
address 0x0001. The Timeout value is set for 5 seconds (0x0032 = 50 decimal, 50
x .10 = 5 seconds) for the completion of this command.
Command 02: Read Data – Command Structure
Field Name MSB LSB Word Value
Overall Length (in words) 00 06 0006
[0xAB] + Command ID Number: 0x02 AB 02 AB02
MSB = Reserved (always 0x00)
LSB = Node ID # (always 0x01 for the HS500E)
00 01 0001
Timeout Value in .10 sec increments 00 32 0032
Start Address 00 01 0001
Read Length 00 04 0004
HS500E – OPERATOR’S MANUAL P/N: 17-1305 REV02 (12-05)
PAGE 26 OF 82