C H A P T E R 3 : R F I D C O M M A N D S

C O M M A N D 0 2 :

R E A D D A T A

D E S C R I P T I O N

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.

E X A M P L E

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)

00

01

0001

LSB = Node ID # (always 0x01 for the HS500E)

 

 

 

 

 

 

 

Timeout Value in .10 sec increments

00

32

0032

 

 

 

 

Start Address

00

01

0001

 

 

 

 

Read Length

00

04

0004

 

 

 

 

H S 5 0 0 E – O P E R A T O R ’ S M A N U A L

P / N : 1 7 - 1 3 0 5 R E V 0 2 ( 1 2 - 0 5 )

 

P A G E 2 6 O F 8 2

Page 26
Image 26
Emsa HS500E manual Field Name, Word Value