RFID Communications
Example
This example reads four bytes of data from the tag starting at address 0001H. A timeout of 2 seconds (07D0H = 2000 x 1 msec increments) is set for the completion of the SN Block Read All. The Tag Family Byte is set to zero so all tags will be read. Three tags respond with data.
Command from Host
Field | Content |
Header | 0202H |
|
|
Command Size | 0009H |
|
|
Command Code | 82H |
|
|
Family Code | 03H |
|
|
Reserved | 00H |
|
|
Start Address | 0000H |
|
|
Block Size | 0004H |
|
|
Timeout, 2 seconds | 07D0H |
|
|
Checksum | 96H |
|
|
Terminators <ETX> | 03H |
|
|
Response from Controller
Field | Content |
Header/tag 1 | 0202H |
|
|
Response Size | 000DH |
|
|
Command Echo | 82H |
|
|
SN Byte 1/tag 1 | A6H |
|
|
SN Byte 2/ tag 1 | 72H |
|
|
SN Byte 3/tag 1 | 03H |
|
|
SN Byte 4/tag 1 | 00H |
|
|
SN Byte 5/tag 1 | 00H |
|
|
SN Byte 6/tag 1 | 01H |
|
|
SN Byte 7/tag 1 | 04H |
|
|
SN Byte 8/tag 1 | E0H |
|
|
Data Byte 1/ tag 1 | 52H |
|
|
Data Byte 2/tag 1 | 46H |
|
|
Data Byte 3/tag 1 | 49H |
|
|
Data Byte 4/tag 1 | 44H |
|
|
Checksum | 4BH |
|
|
Terminator | 03H |
|
|
Header/tag 2 | 0202H |
|
|
Response Size | 000DH |
|
|
Command Echo | 82H |
|
|
SN Byte 1/tag 2 | F1H |
|
|
SN Byte 2/ tag 2 | 72H |
|
|
SN Byte 3/tag 2 | 03H |
|
|
SN Byte 4/tag 2 | 00H |
|
|
SN Byte 5/tag 2 | 00H |
|
|
SN Byte 6/tag 2 | 01H |
|
|
SN Byte 7/tag 2 | 04H |
|
|
SN Byte 8/tag 2 | E0H |
|
|
Data Byte 1/ tag 2 | 52H |
|
|
Data Byte 2/tag 2 | 46H |
|
|
Data Byte 3/tag 2 | 49H |
|
|
Data Byte 4/tag 2 | 44H |
|
|
Checksum | 00H |
|
|
Terminator | 03H |
|
|
Header/tag 3 | 0202H |
|
|
Response Size | 000BH |
|
|
Command Echo | 82H |
|
|
101 | LRP2000 Passive Reader/Writer |