RFID Communications
LRP2000 Passive Reader/Writer 92
6.5.1 ABxF Command 04H: Fill Tag
DESCRIPTION
Command 04H fills an RFID tag with a one-byte value over multiple contiguous addresses.
DISCUSSION
This command is commonly used to clear an RFID 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 1EH to FFFEH (65,534 ms). The controller returns a syntax error (error 21H) when the
timeout is set to 0, and when the Fill Length extends beyond the last byte in the tag.
A response to a successful command follows this form:
Field Content
Header 0202H
Command Size Packet length in Bytes excluding the header, command size, checksum, and terminator bytes. 0008H
for this command.
Command 04H
Start Address 2-byte value for the starting tag address
Number of Bytes 2- byte value for the length of the fill in number of Bytes
Timeout 2-byte value for timeout in 1 ms units. (1EH - FFFEH) Bytes
Data Value Byte 1-byte value to be written to all the addressed Bytes
Checksum Optional checksum
Terminator 03H
Field Content
Header 0202H
Command Size Packet length in bytes excluding the header, command size, checksum, and terminator bytes.
Command Echo 04H
Checksum Optional checksum
Terminator 03H