
How to Program RFID Tags: A Practical Step-by-Step Guide
Sommario
Riepilogo
For passive UHF EPC Gen2 tags, the most common task is encoding an Electronic Product Code (EPC) that identifies a product, carton, pallet, or asset.
The basic process is to identify the chip, connect the writer, read the existing tag, prepare the new data, write it, and verify the result.
However, not every RFID tag is writable. LF, HF/NFC, and UHF tags use different protocols and memory structures, so the programming tools must match the tag.
This guide explains the equipment you need, how to write and verify UHF RFID data, and how to avoid common encoding mistakes.
Cosa significa programmare un tag RFID?
RFID programming, also called RFID encoding, means writing data to a memory area that supports writing.
Reading and programming are different operations.
- Reading: The reader retrieves existing tag data without changing it.
- Writing: The reader updates data in a supported writable memory area.
- Verification: The reader checks whether the stored value matches the intended data.
- Registration: Software links the encoded tag identifier to a product or asset record.
For example, a warehouse may assign an EPC identifier to a carton and register it in inventory software.
The tag holds the identifier, while the database stores details such as the carton contents, receiving status, and movement history.
Writing a number to a tag does not automatically make it unique. The numbering system must prevent duplicate assignments.
Quali dati possono essere memorizzati su un tag RFID?
The available data depends on the RFID chip and communication protocol.
Passive UHF EPC Gen2 tags use four logical memory banks.
| Banca dati | Scopo | Can Users Rewrite It? |
| Riservato (Banca 00) | Holds access and kill passwords when supported | Depends on chip permissions and locking |
| EPC (Banca 01) | Holds the EPC identifier and related control information | Usually writable when permitted |
| TID (Banca 10) | Contains chip manufacturer and model information, sometimes with a serialized identifier | Normally factory-programmed |
| Memoria utente (Banca 11) | Optional storage for application-specific data | Writable if the chip provides it and permissions allow |
Not every UHF RFID tag includes User Memory.
For most inventory applications, the EPC is enough to identify an item. Additional details can be kept in a connected database rather than written to the chip.
Other RFID technologies, including LF and HF/NFC, use different memory structures. Do not apply the EPC Gen2 memory-bank layout to every RFID tag.
For a detailed explanation of EPC, TID, Reserved Memory, and optional User Memory, read our guide on Come vengono memorizzati i dati nei tag RFID.
Comprendere i tipi di tag RFID prima della programmazione
Not all RFID tags can be programmed using the same reader or software.
| Tecnologia RFID | Example Chip or Protocol | Programming Consideration |
| LF RFID (125/134.2 kHz) | EM4100/EM4200, T5577, selected animal ID chips | Some are read-only; others are writable using supported equipment |
| HF/NFC (13.56 MHz) | NTAG21x, MIFARE, ISO 15693 chips | Memory and access methods depend on the exact chip |
| RFID UHF passivo | EPC Gen2 / ISO/IEC 18000-63 | A compatible UHF writer can encode supported EPC or User Memory |
| Active or Battery-Assisted RFID | Device-specific protocols | Programming methods depend on the manufacturer and system |
How Do You Know If a Tag Is Programmable?
Check the chip’s datasheet or ask the supplier for its exact model.
Confirm the following before writing:
- Operating frequency and protocol
- Writable memory areas
- Available memory capacity
- Current lock or access permissions
- Compatible writer and software
A tag operating at the correct frequency is not necessarily compatible with every reader or writing command.
For example, an EM4200 identification chip and a T5577 writable chip may both be used in 125 kHz applications, but they do not have the same memory functions.
Quante volte è possibile riscrivere i tag RFID?
RFID rewrite limits depend on the chip model and memory technology.
Some tags contain read-only memory. Others support repeated writing until the relevant memory area is locked or reaches its specified write endurance.
The number of supported write cycles should be confirmed from the chip manufacturer’s datasheet.
Also check these two specifications:
- Conservazione dei dati: How long the chip is designed to retain stored data under specified conditions.
- Scrivi Resistenza: How many write or erase cycles the memory is designed to support.
These are different from the physical durability of the finished RFID tag.
A chip may support rewriting even when the label’s antenna, adhesive, or housing is no longer suitable for reuse.
For most inventory projects, the tag identifier is written during commissioning and may remain unchanged throughout normal operation.
Come scegliere il tag RFID giusto prima della programmazione
La scelta del tag sbagliato è la causa più comune di errore di programmazione.
Suggerisco di controllare:
- Frequenza: LF, HF/NFC, UHF
- Ambiente: superficie metallica, acqua, esposizione a sostanze chimiche, calore
- Dimensione della memoria: memoria utente richiesta o solo EPC
- Fattore di forma: etichetta, etichetta rigida, etichetta per lavanderia, fascetta serracavi, etichetta incorporata
- Posizione di montaggio: imballaggio, corpo dell'asset, attrezzatura interna
Esempio:
- Etichette per lavanderia necessitano di resistenza alle alte temperature e impermeabilità.
- Le etichette delle fascette devono essere resistenti e a prova di manomissione.
- I tag per pallet richiedono un lungo raggio di lettura e un montaggio stabile.
For a UHF encoding project, confirm whether the chip provides enough EPC memory for the required identifier.
If the customer needs GS1-compliant item identification, the EPC must follow the appropriate GS1 encoding scheme and numbering rules.
For an internal closed-loop system, a customer-specific identifier may be suitable, provided the software can manage unique values consistently.
Before ordering tags in bulk, test samples with the actual reader/writer and final application environment.
Do not choose a tag only because it is described as programmable. The memory, chip protocol, tag construction, and software requirements must all match the project.
Di quali apparecchiature hai bisogno per programmare i tag RFID?
For basic UHF RFID encoding, you need:
- A compatible writable UHF RFID tag
- A UHF RFID reader/writer that supports write commands
- Compatible programming software
- A computer or supported mobile terminal
- The identifier or data you want to encode
Desktop RFID Writers
A desktop UHF reader/writer is useful for preparing individual tags at a workstation.
For example, the JIA-17D USB RFID reader supports UHF EPC Gen2 tag reading and writing for desktop identification and encoding applications.
Before choosing a device, confirm the supported software interface and writing functions.
Importante: A reader operating only in USB keyboard-output mode may display or type the EPC into a computer without providing direct write-command control through that mode. Programming requires a supported command interface and compatible software.
Industrial Encoding Equipment
For larger projects, additional equipment may include:
- RFID printer/encoders
- Fixed UHF readers with suitable antennas
- Tag encoding or verification software
- Middleware or integration with ERP, WMS, or MES systems
- Label inspection and rejection equipment, when required
Software is not interchangeable between every reader manufacturer.
Examples include Zebra 123RFID for supported Zebra equipment, Impinj ItemTest for compatible Impinj readers, and NXP TagWriter for supported NFC tags.
Always verify that the chosen software supports the required read and write operations on the actual device.
Come programmare i tag RFID passo dopo passo
The following workflow focuses on writable passive UHF EPC Gen2 tags. Button names may differ between reader software applications.
Step 1 — Connect the RFID Reader/Writer
Connect the compatible reader/writer to your computer using its supported USB, serial, Ethernet, or other interface.
Open the software provided for the device.
Confirm that the reader is connected and supports tag-writing operations.
Check that the reader’s frequency configuration is appropriate for your region and the selected tags.
Step 2 — Place One RFID Tag in the Writing Area
Place a single tag within the writer’s intended working area.
Keep other RFID tags away from the antenna to reduce the risk of writing to the wrong tag.
For a desktop writer, use the recommended tag position and suitable RF power setting.
Step 3 — Read the Existing Tag Data
Use the software’s Read or Inventory function to confirm that the tag responds.
Check the current EPC.
Where supported, read the TID to help identify the chip and distinguish it from nearby tags.
Confirm the available writable memory and whether the tag is locked or password-protected.
Do not continue until you have identified the correct tag.
Step 4 — Prepare the New EPC Data
Prepare the identifier according to the application’s numbering rules.
For example, a 96-bit raw hexadecimal value contains 24 hexadecimal characters.
However, a raw hexadecimal value is not automatically a valid GS1 EPC. Applications using GS1 identifiers must follow the correct EPC encoding scheme.
Confirm that the chip supports the required identifier length.
If you are writing additional information, check whether the chip has User Memory and whether that memory is suitable for the data.
Step 5 — Write the Data
Select the intended tag and the correct memory operation in the software.
For a standard EPC encoding task, use the software’s EPC write function and enter the prepared value.
If the EPC length changes, the relevant protocol control information must also be handled correctly. Suitable software normally manages this as part of its EPC encoding process.
Start the write operation and check the software response.
Do not attempt to overwrite TID or protected memory areas without confirming the chip’s actual capabilities and permissions.
Step 6 — Read Back and Verify
After writing, read the tag again.
Compare the EPC with the intended value.
Confirm that the result matches the required identifier exactly.
If the project uses individual serialization, check that the new EPC has not already been assigned to another item.
For production projects, record the encoding result and the corresponding product or asset information.
A successful write command alone is not enough. Read-after-write verification is needed to confirm the stored result.
Step 7 — Apply Protection if Required and Test the Tag
If the project requires write protection, review the supported access-password and locking functions before applying them.
Some lock operations are permanent and cannot be reversed.
Do not use the Kill command as a normal encoding or security step. It is designed to disable supported tags and may make them unusable.
Finally, test the encoded tag with the intended application reader and software.
Verify that the tag can be identified correctly under normal operating conditions.
The tag is ready for deployment only after the required encoding, verification, and system checks have passed.
Programmazione dei tag RFID in ambienti industriali
Industrial RFID encoding uses the same basic write-and-verify principles as desktop programming, but the process must handle more tags and production records.
A typical workflow includes:
- Import the approved EPC or serialization data.
- Confirm the tag model and encoding format.
- Configure the printer/encoder or industrial RFID reader.
- Write the required identifiers.
- Read back and verify each tag.
- Reject or reprocess tags that fail verification.
- Record the final EPC and related production information.
For printable RFID labels, the physical printing and electronic encoding results should match the customer’s data requirements.
A practical encoding report may contain:
| Field | Scopo |
| Printed Serial Number | Identifies the visible number on the label |
| EPC | Records the value written to the RFID chip |
| TID, if required | Records supported chip identification information |
| Encoding Result | Shows whether the tag passed verification |
| Batch Number | Links the encoded tag to the production batch |
For GS1-based projects, the numbering process must follow the customer’s authorized GS1 allocation and the selected EPC encoding scheme.
The actual production rate depends on the equipment, tag construction, encoding method, verification rules, and handling process.
Before mass production, run a sample batch and confirm the results using the customer’s intended reader and software.
Comprendere la struttura della memoria RFID UHF
La maggior parte dei tag UHF Gen2 dispone di 4 banchi di memoria:
| Banca dati | Funzione |
|---|---|
| Memoria riservata | Password di accesso e di terminazione |
| EPC (Banca 01) | Codice prodotto elettronico (ID principale) |
| TID (Banca 10) | Numero di serie fisso di fabbrica |
| Memoria utente (opzionale) | Dati specifici dell'applicazione |
Esempio:
-
EPC = ID a 96 bit
-
Memoria utente = 512 bit o più
Can You Program RFID Tags With a Phone?
A smartphone with NFC hardware can read or write certain compatible 13.56 MHz tags using suitable software.
For example, an NFC-enabled Android phone or iPhone may be able to write a website URL to a compatible NFC sticker.
However, standard smartphone NFC hardware cannot directly program passive UHF EPC Gen2 tags.
A phone or mobile terminal connected to a compatible external UHF RFID reader/writer may support UHF writing through the manufacturer’s software or SDK.
LF RFID tags also require equipment compatible with their specific frequency and protocol.
For detailed smartphone-based NFC writing steps, read our guide on Come programmare gli adesivi NFC.
Errori comuni nella programmazione dei tag RFID
| Problema | Possible Cause | Cosa controllare |
| Tag Not Detected | Frequency mismatch, poor positioning, or unsupported protocol | Confirm reader compatibility and tag placement |
| Write Command Fails | Locked memory, insufficient signal, or unsupported operation | Read permissions and test within the recommended writing area |
| Wrong EPC After Writing | Incorrect target, data format, or memory setting | Isolate the tag and read back the EPC |
| Multiple Tags Show the Same EPC | Duplicate numbering or incorrect batch configuration | Review the serialization file and assignment records |
| User Memory Cannot Be Written | User Memory absent or protected | Check the exact chip datasheet |
| Tag Works on Writer but Not in the System | Reader compatibility or installation issue | Test the final reader, antenna, mounting surface, and software |
| RFID Printer Rejects Labels | Inlay position, calibration, or media mismatch | Check printer-compatible RFID media and calibration |
Before You Start Bulk Encoding
Confirm the tag chip, reader model, target frequency, numbering format, memory permissions, and verification requirements.
Keep a record of the expected identifiers and the final encoding results.
For large orders, test a sample batch before processing the full quantity.
In che modo la programmazione RFID aiuta le aziende
La programmazione dei tag RFID migliora:
- Accuratezza dell'inventario
- Tracciamento automatico
- Controllo delle risorse e responsabilità
- Efficienza del lavoro
- Sicurezza e conformità
- Visibilità in tempo reale nella catena di fornitura
Settori che ne traggono i maggiori benefici:
- Lavanderie industriali e ospedali
- Operazioni di magazzino e logistica
- Tracciabilità di utensili e attrezzature
- Silvicoltura e agricoltura
- Vendita al dettaglio e produzione
Frequently Asked Questions About RFID Programming
Can all RFID tags be programmed?
No. Some RFID tags have factory-programmed read-only data, while others provide writable memory. Programming depends on the chip, protocol, and memory permissions.
Can I reprogram an RFID tag?
Yes, if the required memory area supports rewriting and is not permanently locked. Check the exact chip model and current access settings.
Posso programmare i tag RFID UHF con un telefono?
Standard phone NFC hardware cannot directly program passive UHF EPC Gen2 tags. However, a supported mobile device connected to a compatible external UHF writer may perform writing operations through suitable software.
Do I need special software to write RFID tags?
Yes. The reader/writer must support the required commands, and the software must be compatible with the device and tag protocol. Some RFID applications only read identifiers and do not provide encoding functions.
Posso programmare più tag RFID contemporaneamente?
Industrial systems can support automated or batch encoding. However, the process must correctly target, serialize, and verify each tag to prevent duplicate or incorrect identifiers.
What should I do if an RFID tag cannot be rewritten?
Check the chip type, memory bank, lock status, password requirements, and reader compatibility. A read-only or permanently locked memory area cannot be made writable through ordinary software settings.
Need RFID Tags or Encoding Equipment?
Programming RFID tags requires the correct combination of chip, reader/writer, software, and data format.
For UHF EPC Gen2 projects, the most important steps are choosing a compatible writable tag, preparing the identifier, writing the data, and verifying the result.
JIA RFID supplies RFID tags and readers for industrial and commercial identification applications.
If you need tags with custom EPC encoding or a desktop UHF reader/writer, share the chip model, numbering format, required memory operations, regional frequency, quantity, and software interface requirements.
We recommend confirming sample compatibility before bulk production.
Contatta JIA RFID per discutere del tuo progetto.
Commenti
Prodotti caldi

How to Connect an RFID Reader to a Computer
You can connect an RFID reader to a computer using USB, RS-232, RS-485, Ethernet, Bluetooth, or Wi-Fi, depending on the

Tracciabilità della biancheria alberghiera: come funziona la tecnologia RFID negli hotel
Gli hotel gestiscono ogni giorno grandi quantità di lenzuola, federe, asciugamani, accappatoi e altri articoli tessili. Questi articoli vengono spostati da una camera all’altra,

Un lettore RFID è in grado di leggere i dati NFC?
Sì, un lettore RFID HF è in grado di leggere i tag NFC se opera a 13,56 MHz e supporta il protocollo utilizzato

Braccialetti RFID per hotel: come funzionano i braccialetti RFID negli hotel
Gli hotel godono di una flessibilità senza precedenti nel modo in cui rilasciano le credenziali agli ospiti. La chiave della camera non deve più essere

Un lettore RFID è in grado di leggere più tag contemporaneamente?
Sì. Un lettore RFID è in grado di leggere più tag all’interno della stessa zona di lettura, ma l’efficacia di questa operazione dipende

I lettori RFID sono in grado di leggere le carte di credito?
Il pagamento contactless ha reso normale avvicinare la carta di credito al terminale invece di inserirla. Da allora
Etichette
BLOG CORRELATI

How to Connect an RFID Reader to a Computer
You can connect an RFID reader to a computer using USB, RS-232, RS-485, Ethernet, Bluetooth, or Wi-Fi, depending on the

Tracciabilità della biancheria alberghiera: come funziona la tecnologia RFID negli hotel
Gli hotel gestiscono ogni giorno grandi quantità di lenzuola, federe, asciugamani, accappatoi e altri articoli tessili. Questi articoli vengono spostati da una camera all’altra,

Un lettore RFID è in grado di leggere i dati NFC?
Sì, un lettore RFID HF è in grado di leggere i tag NFC se opera a 13,56 MHz e supporta il protocollo utilizzato