RFID Communications

6.4.1 ABxS Command 04H: Fill Tag

DESCRIPTION

Fill an RFID tag with a one-byte value over multiple contiguous addresses.

DISCUSSION

This command is commonly used to clear contiguous segments of a tag's memory. It writes a one-byte value repetitively across a specified range of tag addresses. The fill function requires one data value byte, a starting address, and a fill length. It fills the tag with the data value byte, starting at the specified start address for the specified number of consecutive bytes. When Fill Length is set to 0, the controller writes fill data from the start address to the end of the tag's memory. 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.

Field

Remarks

Command

Command number in hex preceded by AAH

 

 

Start Address

Tag address where the fill starts

 

 

Fill Length

Number of tag addresses to be filled in bytes

 

 

Timeout

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

 

 

Data Value Byte

Byte to be used as fill

 

 

Message Terminator

FFFFH

 

 

Example

The goal is to write ASCII 'A' (41H) to the ten bytes of tag memory starting at byte address 5. A timeout of 2 seconds (07D0H = 2000 x 1 ms increments) is set for the completion of the command.

Command from Host

MSB

LSB

Remarks

AAH

04H

Perform Command 4

 

 

 

00H

05H

Start Address = 0005H

 

 

 

00H

0AH

Fill Length= 10 bytes(000AH)

 

 

 

07H

D0H

2-second Timeout

 

 

 

00H

41H

Data Value Byte = 41H

 

 

 

FFH

FFH

Message Terminator

 

 

 

Successful Response From Controller

MSB

LSB

Remarks

AAH

04H

Command Echo

 

 

 

FFH

FFH

Message Terminator

 

 

 

LRP2000 Passive Reader/Writer

60

Page 65
Image 65
Escort LRP2000 ABxS Command 04H Fill Tag, Example, Field Remarks, Command from Host, Successful Response From Controller