beautypg.com

Printronix SL5000e User Manual

Page 28

background image

Chapter 2

RFID PGL Commands

28

Example 2

Same as Example 1, except the EPC number is broken
into its component parts. Assume that the SGTIN–64
value has the Header = 2d, Filter Value = 5d, EPC
Manager Index = 15383d, Object Class = 703710d or
0xABCDE, and the Serial Number = 0123456d.

~CREATE;SGTIN–64;432
RFWTAG;64
2;B;*10*

/Header

3;D;*5*

/Filter Value

14;D;*15383*

/EPC Manager Index

20;H;*ABCDE*

/Object Class

25;D;*0000123456*

/Serial Number

STOP
END
~EXECUTE;SGTIN–64;1
~NORMAL

Example 3

Same as Example 2, except it uses a dynamic method.
This example also shows how to program another
RFID tag without redefining the data structure of the
SGTIN–64.

~CREATE;SGTIN–64;432
RFWTAG;64
2;DF1;B

/Header

3;DF2;D

/Filter Value

14;DF3;D

/EPC Manager Index

20;DF4;H

/Object Class

25;DF1;D

/Serial Number

STOP
ALPHA
AF1;18;10;5;3;3
STOP
END
~EXECUTE;SGTIN–64
~DF1;*10*

/Header

~DF2;*5*

/Filter Value

~DF3;*15383*

/EPC Manager Index

~DF4;*ABCDE*

/Object Class

~DF5;*0000123456*

/Serial Number