RFID Guidelines
^RB
^RB
Define EPC Data Structure
Description This command defines the structure of EPC data, which can be read from or written to an RFID transponder.
RFID transponders can have different partitions defined. This command specifies the number of partitions and how many bits are in each partition.
Important • All parameters in this command are persistent and will be used in subsequent formats if not provided. The values are initially set to the default values.
Format ^RBn,p0,p1,p2, ..., p15
The following table identifies the parameters for this format.
ParametersDetails
n= total bit size of the Accepted values: 1 to n, where n is the bit size of the tag.
field | Default value: 96 |
|
|
p1 ... p15 = | Specify each partition size. These must add up to the total bit size. |
partition sizes | Accepted values: 1 to 64 bit total bit size |
| Default value: 1 |
|
|
Example 1 • The following command specifies that there are 96 bits used with three fields. Fields 1, 2, and 3 contain 10, 26, and 60 bits, respectively.
^RB96,10,26,60
The ZPL code to write to a tag with this format would look like this:
^RFW,E^FD1000.67108000.1122921504606846976^FS
When writing to the tag, the data will be stored in the tag in the following way:
•Field 1 contains 1000. This value is stored in the first 10 bits
•Field 2 contains 67108000. This value is stored in the next 26 bits.
•Field 3 contains 1122921504606846976. This value is stored in the remaining 60 bits.
Example 2 • The following command specifies that there are 64 bits used with eight
^RB64,8,8,8,8,8,8,8,8^FS
The ZPL code to write to a tag with this format would look like this:
^RFW,E^FD1.123.160.200.249.6.1.0^FS
When writing to the tag, each set of data is written in its respective
R110Xi/R170Xi User Guide | 81 |