Using Option 60 (Incrementing/Decrementing Fields) - Avery Dennison ADTP1 Reference Manual

Monarch tabletop printer 1
Hide thumbs Also See for ADTP1:
Table of Contents

Advertisement

U s i n g O p t i o n 6 0 ( I n c r e m e n t i n g / D e c r e m e n t i n g F i e l d s )
Applications such as serial numbers require a numeric field to increment (increase in value) or
decrement (decrease in value) on successive labels within a single batch. Incrementing or
decrementing can be applied to numeric data only. If a field includes letters and digits, apply
incrementing or decrementing to only the portion of the field that contains digits. Do not use with
Option 42 (price field).
When using Option 60 with RFID Data Fields or EPC data:
♦ Use caution when incrementing an RFID field if data is coming directly from a host because
the field must be incremented in ASCII Hex.
♦ The data increments by one as follows: 0 to F (0123456789ABCDEF), then back to 0.
♦ Parameters R3, R4, R5, and R6 are ignored for RFID and EPC data fields.
Syntax
R,60,I/D,amount,l pos,r pos |
R1. R
R2. 60
R3. I/D
R4. amount
R5. l pos
R6. r pos
Example
R,60,I,5,1,6 |
Increments a field by 5 each time the field is printed. The field increments beginning with the first
left position and ending with the sixth position.
Incrementing EPC Data Example
{F,1,A,R,E,400,400,""|
T,1,30,V,50,70,0,1,1,1,B,L,0,0|
R,60,I,1|
B,2,12,F,10,130,1,4,50,8,L,0|
R,60,I,1|
X,3,100,0|
R,60| }
{B,1,N,3|
1,"001"|
2,"123456789012"|
3,"12345678123456781234561B~028~028~02812345678~02812345678~02800000~02
8"| }
This example uses option 60 to increment the EPC RFID data by one.
Option Header.
Option 60.
Increment or decrement. I is the default.
I
incrementing field
D
decrementing field (not valid for RFID)
Amount to increase or decrease. Range: 0 to 999.
1 is the default.
Leftmost position in inc/dec portion of field. If this value is not
entered, the default value is used. Range: 0 to 2710. 1 is the
default.
Rightmost position in inc/dec portion of field. If this value is not
used, the entire field length is used as the default.
Range: 0 to 2710. 2710 is the default.
RFID Da ta Field
Incrementing Option
RFID Da ta Field Bat ch
Dat a in ASCII He x w ith
EPC Data included
Defining Field Options 4-13

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents