RFID Communications
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
Field | Content |
Header | 0202H |
|
|
Command Size | 0006H |
|
|
Command Code | 8BH |
|
|
Family ID | 02H |
|
|
Reserved | 00H |
|
|
Timeout | 07D0H |
|
|
New Family Code | 03H |
|
|
Checksum | 92H |
|
|
Terminator | 03H |
|
|
Response from Controller
Field | Content |
Header | 0202H |
|
|
Response Size | 0001H |
|
|
Command Echo | 8BH |
|
|
Ntags/Status | 0208H |
|
|
Checksum | F7H |
|
|
Terminator | 03H |
|
|
6.5.20 ABxF Command 8CH: Lock Family Code All
DESCRIPTION
Command 8CH locks the family codes of tags in the field. Once locked, the family codes cannot be changed or unlocked.
DISCUSSION
The command must pass a family code to select the tags whose family code will be locked. The controller returns a response when the timeout period expires. The parameter of the response is the number of tags written.
Field | Content |
Header | 0202H |
|
|
Command Size | Command length in bytes excluding the header, command size, checksum, and terminator bytes. |
| 07H for this command. |
|
|
Command | 8CH |
|
|
Family Code | Tag Family ID - 00H = all tags |
|
|
Reserved | Ignored byte, set to 00H |
|
|
Timeout | Timeout value given in 1 ms units |
|
|
Checksum | Optional checksum |
|
|
Message Terminator | 03H |
|
|
LRP2000 Passive Reader/Writer | 116 |