![](/images/new-backgrounds/1268454/26845447x1.webp)
Chapter 2 RFID PGL Commands
RFID PGL Commands
IMPORTANT For all examples make sure Label Length in the QUICK SETUP menu matches the physical length of the installed media.
RFWTAG
Purpose The RFWTAG command is used to program an RFID tag (embedded in a smart label) using structured data format. The data structure of an RFID tag can consist of one or more bit fields. Each bit field specifies its own field length, the data format, the field type plus additional options if the type is incremental, and finally the field value.
Mode CREATE
Format RFWTAG;[LOCKn;]size
(Bit Field)+
STOP
RFWTAG | Specifies the RFWTAG command, enter |
| RFWTAG; |
LOCKn | Optional parameter specifies that the |
| data should be protected from being |
| overwritten later. By default the data are |
| not protected. The acceptable values for |
| n are 1 to 255, meaning the data are to |
| be protected using this byte as the LOCK |
| password. |
size | A decimal number specifying the overall |
| bit length of the RFID tag. |
Bit Field | A line description of a bit field and must |
| have one of the following syntax formats: |
| 1. For |
| and dynamic) |
| length;[DFn;]format;(D)datafield(D) |
| 2. For incremental fixed data |
| length;I;format;STEP[idir]step;[RPTn;] |
| [RSTn;](D)startdata(D) |
24