RFID Guidelines
Creating Basic RFID Label Formats
RFID Label Format 6—Write Tag, Read Tag, and Return Results to Host
Line | Type This ZPL Code | Function of ZPL Code | |
Number | |||
|
| ||
1 | ^XA | Indicates start of label format. | |
2 | ^RS3 | Sets tag type to EPC Class 1 |
3^FO50,50
^A0N,65
^FN3
^FS
When the label prints, the data read from the tag at field variable 3 (^FN3) will be printed at location 50,50.
4^RFW,H
^FD0102030405
^FS
W,H = write hex
Writes 8 bytes of data (64 bits) to the tag with 3 bytes of zeroes as padding. The data written is: 0102030405000000
5^FN3
^RFR,H
^FS
R,H = read hexadecimal
Reads the tag data into field variable 3 (^FN3). After this occurs, any fields in this label format that have ^FN3 will be replaced with this read data.
6 | ^HV3 | Return the value in ^FN3 to the host computer. Data |
|
| is sent over whichever communication channel is |
|
| established with the host (such as parallel, serial, |
|
| USB, ethernet) In this example, 0102030405000000 |
|
| would be returned to the host. |
7 | ^XZ | Indicates end of label format. |
Programmed to Transponder 0102030405000000
Read from Transponder 0102030405000000
Resulting Label
0102030405000000
R110Xi/R170Xi User Guide | 75 |