Zebra Technologies radio frequency identification (rfid) Photo Scanner User Manual


 
ZPL II Commands for RFID
^RB
94
58978L-008 Rev. A RFID Programming Guide 11/14/2008
Example 2 •The following command specifies that there are 64 bits used with eight 8-bit
fields.
^RB64,8,8,8,8,8,8,8,8^FS
The ZPL code to encode a tag with this format would look like this:
^RFW,E^FD1.123.160.200.249.6.1.0^FS
When writing to the tag, each set of data is written in its respective 8-bit field.
Example 3 •This example uses the SGTIN-64 standard, which defines 64-bit structure in the
following way:
The ZPL code to encode a tag with this format would look like this:
^XA
^RB64,2,3,14,20,25
^RFW,E^FD0,3,12345,544332,22335221^FS
^XZ
These commands would put
0 in the header
3 as the filter value
12345 as the company prefix
544332 as the item reference
22335221 as the serial number
To read this EPC data and print the results on the label, you would use the following code:
^XA
^RB64,2,3,14,20,25
^FO50,50^A0N,40^FN0^FS
^FN0^RFR,E^FS
^XZ
The resulting label would look like this:
Header Filter Value
Company
Prefix Index
Item Reference Serial Number
SGTIN-64 2 bits 3 bits 14 bits 20 bits 25 bits
10
(binary value)
8
(decimal
capacity)
16,383
(decimal
capacity)
9 to 1,048,575
(decimal
capacity*)
33,554,431
(decimal
capacity)
* Capacity of Item Reference field varies with the length of the company prefix.
0.3.12345.544332.22335221