Defining The Size Of The EPC Data That Can Be Encoded For GEN2 RFID Tags

Article ID: 13697305




Changing the Protocol Control (PC) bits in order to encode more or less than the default 96bits on GEN2 RFID Tags.

Applies To

Zebra RFID Printers

Gen 2 Tags


With Gen2 tags, there's an area of memory (in the EPC bank) that defines how a reader will backscatter the data. Think of it as a filter and the reader will only return the defined number of bits. The protocol control bits is the area of memory that defines the amount of the EPC data. Up till now it's generally been fixed at 96bits. You are now able to increase or decrease this value.


Customers wanting to use a value of 240 bits for example can change the protocol control bits to the desired size.

This command will set the protocol control to 240 bits:


This is based on this table Read More>>

As you can see, 7800 gives you 240 EPC bits.  This is actually defined in the Gen2 spec.  Encoding the tag requires slightly different ZPL than for a 96-bit tag.

This command:


 Will encode the 240bits (30 bytes) of data.

Notice that both of these commands are writing to the EPC memory bank (see the "m" parameter of the ^RF command).  The "1" EPC area is different than the "E" memory bank (which is 96-bits). 

Here are details related to the difference between the "E" memory and  "1" memory of the ^RF command. Read More>>

 To summarize:



 This will encode the 240 bits.


Helpful Information

RFID Commands from the ZPL Manual Read More>>