RFID Guidelines ^RB

Example 3 • This example uses the SCTIN-64 standard, which defines 64-bit structure in the following way:

 

Header

Filter Value

Company

Item

Serial

 

Prefix Index

Reference

Number

 

 

 

SGTIN-64

2

3

14

20

25

 

10

8

16,383

9 to 1,048,575

33,554,431

 

(binary value)

(decimal

(decimal

(decimal

(decimal

 

 

capacity)

capacity)

capacity*)

capacity)

* Capacity of Item Reference field varies with the length of the company prefix.

The ZPL code to write to 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:

0.3.12345.544332.22335221

82

R110Xi/R170Xi User Guide

12/23/04 23063L-003 Rev. 2