RFID tags are a modern way to ID products, quickly replacing barcodes. What makes RFID tags different is they use radio signals. This lets you scan large quantities of items fast, saving a bunch of time. RFID tags are also used to identify employees within companies. In this article, we'll check out how RFID tags work with the new TfrxDeviceCommand object in FastReport VCL.
The structure of an RFID tag consists of four data banks:
All banks except the first can have varying capacities or may be locked by suppliers; all this is described in the specifications of the tag. The standards for formatting data in these banks are described in this document. For local use, any data formatting that is convenient for the user to work with can be employed.
TfrxDeviceCommand object was created for the implementation of tags in FastReport VCL, where the RFID tag is one of the possible presets. Currently, this is the only preset, but we plan to expand this category in the future.
In version 2025.1.8, this object is processed only via ZPL export (other exports currently skip it). We plan to extend its processing to other exports upon request.
A separate queue for a single preset is an excessive solution. However, it is still worth considering the parameters of the TfrxDeviceCommand object that influence the specified queue.
To configure the processing time, the object has a field called ProcessingTime, which can take 2 values:
If the container has multiple TfrxDeviceCommand objects with the same ProcessingTime, the Order field (ranging from 0 to MaxInt) will be required.
Suppose there are 3 TfrxDeviceCommand objects in the container with the following parameters:
When exporting the container, the processing order will be as follows:
Additionally, this object has the following fields:
The content can be configured not only in the object inspector but also in the editor.
Translation into other languages besides English is not available to avoid confusion with specialized terminology.
The editor is divided into tabs, each containing properties for a specific memory bank, along with one tab for additional label options.
Some fields are duplicated to support filling expressions (for example, from the database).
In the reserved data bank, passwords can only be entered in the format of a hexadecimal number consisting of eight characters. Furthermore, without a non-zero access password, it will not be possible to control access modes. In other data banks, you can choose the recording format: either a hexadecimal number or a string in ASCII encoding.
For more information on RFID support in ZPL, you can refer to the official documentation.
This object for FastReport VCL is the first of its kind. However, new presets for this object will be implemented in the future.