RFID Communications

6.4.3 ABxS Command 06H: Write

DESCRIPTION

Writes data to an RFID tag.

DISCUSSION

This command is used to write segments of data to contiguous areas of tag memory. It is capable of transferring up to 112 bytes of data transferred from the Host with one command. The timeout value is given in 1 ms increments and can have a value of 001EH to FFFEH (65,534 ms). When the timeout is set to 0, the controller returns a syntax error. The Write command consists of a start address followed by the data stream to be written to the RFID tag. If the write range exceeds the last tag address, the controller returns error message 21H, invalid format. The controller returns an error if the write length is 0. The data to be written to the tag is contained in the LSB of the register, and the MSB is always 00H.

Field

Remarks

Command

Command number in hex preceded by AAH

 

 

Start Address

Tag address where the write will start

 

 

Write Length

Number of tag addresses to be written to in bytes

 

 

Timeout

Timeout value given in 1 ms units (001EH - FFFEH)

 

 

Write Data

Data to be written

 

 

Message Terminator

FFFFH

 

 

Example

Writes 4 bytes of data to the tag starting at address 0020H. A timeout of 2 seconds (07D0H = 2000 x 1 ms increments) is set for the completion of the Write.

Command from Host

MSB

LSB

Remarks

AAH

06H

Perform Command 6

 

 

 

00H

20H

Start Address = 0020H

 

 

 

00H

04H

Write Length = 4 bytes

 

 

 

07H

D0H

2-second Timeout

 

 

 

00H

52H

Write Data 1 =52H

 

 

 

00H

46H

Write Data 2 =46H

 

 

 

00H

49H

Write Data 3 =49H

 

 

 

00H

44H

Write Data 4 =44H

 

 

 

FFH

FFH

Message Terminator

 

 

 

Response from Controller

MSB

LSB

Remarks

AAH

06H

Command Echo

 

 

 

FFH

FFH

Message Terminator

 

 

 

LRP2000 Passive Reader/Writer

62

Page 67
Image 67
Escort LRP2000 manual ABxS Command 06H Write