Emsa HS500E manual I T E D a T a

Models: HS500E

1 82
Download 82 pages 58.18 Kb
Page 28
Image 28

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 3 :

W R I T E D A T A

D E S C R I P T I O N

Command 03 instructs the HS500E to write segments of data to contiguous addresses of an RFID tag’s memory. The Write Data command consists of an Overall Length, the Command ID, a Timeout Value, Start Address and Write Length, and the Data Byte Value(s) to be written to the tag.

Start Address: 0x0001 = Starts writing to the first accessible byte of tag memory (byte 0x0000 is reserved for the Battery Counter Value).

Write Length: 0x0001 = One byte is the shortest possible Write Length. If the Write Length is set to 0, or extends past the last byte address of the tag, the unit will generate an error.

When an odd number of bytes are to be written, the LSB (least significant byte) of the final word must contain 0x00.

E X A M P L E

In this example, a Write Data command will instruct the HS500E to write the specified four bytes to the tag beginning at the Start Address of 0x0001. The Timeout value is set for 5 seconds (0x0032 = 50 decimal, 50 x .10 = 5 seconds) for the completion of this command.

Command 03: Write Data – Command Structure

Field Name

MSB

LSB

Word Value

Overall Length (in words)

00

08

0008

 

 

 

 

[0xAB] + Command ID Number: 0x03

AB

03

AB03

 

 

 

 

MSB = Reserved (always 0x00)

00

01

0001

LSB = Node ID # (always 0x01)

 

 

 

 

 

 

 

Timeout

00

32

0032

 

 

 

 

Start Address

00

01

0001

 

 

 

 

Write Length

00

04

0004

 

 

 

 

Data Byte Values (01, 02)

11

22

1122

 

 

 

 

Data Byte Values (03, 04)

33

44

3344

 

 

 

 

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 8 O F 8 2

Page 28
Image 28
Emsa HS500E manual I T E D a T a