User Manual Part 2

RFID Interface
LRP2000 Long Range Passice Reader/Writer
127
*******************************************************************************
ABxF Command 86H: Block Write All
DESCRIPTION
Write a block of data to an RFID tag.
DISCUSSION
The Block Write All command is used to write segments of data to
contiguous areas of tag memory. The timeout value is given in 1 msec
increments and can have a value of 1EH to FFFEH (65,534 ms).
When the timeout is set to 0, the controller will return a syntax error.
The Block Write All consists of a Family ID, the Reserved Byte, a Start
address, and the Number of Bytes followed by the Bytes to be written
to the RFID tag. If the write range exceeds the last tag address, the
controller will return a syntax error message (error code 21H). The
controller will return a response when the timeout expires.
Field Content
Header 0202H
Command Size Packet length in Bytes excluding the header,
command size, checksum and terminator Bytes.
0009H plus the number of data Bytes
Command 86H
Family ID Tag Family ID - 00H = all tags
Reserved Ignored, set to 00H
Start Address 2-Byte value for the starting tag address
Number of Bytes 2-Byte value for the number of bytes to be writen
Timeout 2-Byte value for timeout in 1 ms units. (1EH - FFFEH)
Data Bytes of data to be written.
Checksum Optional Checksum
Terminator 03H
Example
Writes 4 Bytes of data to the tag starting at address 0000H. A timeout
of 2 seconds (07D0H = 2000 x 1 msec increments) is set for the
completion of the Block Write All. Family ID is set to 00H so all tags-in-
field will be written to. Five tags are written to.