
RFID Communications
6.4.17 ABxS Command 8BH: Write Family Code All
DESCRIPTION
Command 8BH can be used to write the family code of all tags in the field. It can also be used to selectively rewrite the family codes of tags with family codes already set to a particular value.
The command is formatted as shown below.
Field | Remarks |
Command | Command number in hex preceded by AAH |
|
|
Current Family Code | Current Tag Family Code |
|
|
Reserved | 00H |
|
|
Timeout | Timeout value given in 1 ms units (001EH - FFFEH) |
|
|
New Family Code | The value that will be written to the Family Codes of all the addressed tags |
|
|
Message Terminator | FFFFH |
|
|
Example
This example changes the family code depending on the current value of the family code. Two tags are found with family code 02H and are changed to 03H.
Command from Host
MSB | LSB | Remarks |
AAH | 8BH | Perform Command 8BH |
|
|
|
02H | 00H | Family ID/Reserved |
|
|
|
07H | D0H | |
|
|
|
00H | 03H | New Family Code |
|
|
|
FFH | FFH | Message Terminator |
|
|
|
Response from Controller
MSB | LSB | Remarks |
AAH | 8BH | Command Echo |
|
|
|
02H | 08H | Ntags/Status |
|
|
|
FFH | FFH | Message Terminator |
|
|
|
LRP2000 Passive Reader/Writer | 78 |