U s i n g O p t i o n 3 0 ( P a d D a t a )
You can add characters to one side of a field to "pad" the field. Padding
allows you to fill in the remaining spaces when the entered data does not
fill an entire field.
If a variable length field is not completely filled with batch data, this
option fills the remaining positions in the field with the character
designated by Option 30.
Syntax
R,30,L/R,"character"¦
R1. R
R2. 30
R3. L/R
R4. "character"
Note:
Example R,30,L,"A"¦
Pads data with an "A" on the left side of the field.
Example
X,2,24,0,0¦
R,30,R,"0"¦
4-4 HF Application Notes
Option Header.
Option 30.
Indicates type of padding
L Pad field on left side
R Pad field on right side
Pad character must be within the 0 - 255 decimal
range and enclosed inside quotation marks.
The pad character must be in the same format specified in the
RFID Data Field. See "Defining the RFID Data Field" for more
information.
Option 30 – pads RFID data with a "0" to the right.
RFID data field