Zebra Technologies radio frequency identification (rfid) User Manual

Page of 162
37
Creating Basic RFID Label Formats
Sample RFID Label Formats
11/14/2008
RFID Programming Guide
58978L-008 Rev. A
RFID Label Format 6—Encode Tag, Read Tag, and Return Results 
to Host
Programmed to Transponder
010203040500000000000000
Read from Transponder
010203040500000000000000
Resulting Label
Line 
Number
Type This ZPL Code
Function of ZPL Code
1
^XA
Indicates start of label format.
2
^RS8
Sets tag type to Gen 2
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
Encodes 12 bytes of data (96 bits) to the tag with 
7 bytes of zeroes as padding. The data written is: 
010203040500000000000000
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
Returns 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, 
010203040500000000000000 would be returned to 
the host.
7
^XZ
Indicates end of label format.
010203040500000000000000