EXAMPLE TWO
*AST798X*
Symbology Code 39
Desired Output: The input record must be Code 39 and be exactly seven
characters in length with the seventh character being an “X”. It is divided
into three fields; the first three characters, the next three characters, and
the last character. The output should reverse the order of the first two
fields, delete the last character, and add an F1 function code at the end of
each field. In addition, a time delay of 900 milliseconds should be added
between the fields (after the F1) and another delay of 2000 milliseconds
added to the end of the record.
Formula
ID e LEN 07 07 M 07 X C 03 C 03 A <F1>
SEND BD DLY 09 AD DLY 20
Field List
Field A AST
Field B 798
Field C X
Field D <F1>
Prior to data editing, enable the Function Code Selection on page 9.
Keystroke Sequence
Enter Data Editing Setup
/E/D/FJ<ENTER>
Enter Data Editing and Enable
JA<ENTER>1<ENTER>
Enter Code ID and e (for Code 39) JC<ENTER>e<ENTER>
Enter Length and 0707
JD<ENTER>0<ENTER>7<ENTER>0
< ENTER >7<ENTER>
Enter Match and 07X
JE<ENTER>0<ENTER>7<ENTER>
X<ENTER>
Enter Count and 03
JF<ENTER>0<ENTER>3<ENTER>
Enter Count and 03
JF<ENTER>0<ENTER>3<ENTER>
Enter Add Field & <F1> character JJ<ENTER>\F1<ENTER>
Enter Field Sequence and BD
JK<ENTER>B<ENTER>D<ENTER>
Enter Add Delay and 09
JK<ENTER>JM<ENTER>0<ENTER>
9<ENTER>
Enter Field Sequence and AD
JK<ENTER>A<ENTER>D<ENTER>
Enter Add Delay and 20
JK<ENTER>JM<ENTER>2<ENTER>
0<ENTER>
Enter Exit Setup
JZ<ENTER>
Output Data
798<<F1>>.9s delay AST<<F1>>
2s delay
4 3
4 2
5. If UNMATCHED INPUT is set to SEND, the unmatched data is passed on
to the message processing section of the reader, where any previously-
defined postamble, preamble, and terminator characters are added before the
data is sent to the output port.
Examples
EXAMPLE ONE
76440057320712
Symbology Code 128
Desired Output: Divide the input data record into two fields with one
consisting of the first six digits and the second containing the remaining
data. The output should have a <ENTER> inserted after each field.
Formula
ID h C 06 A <ENTER> SEND ACBC
Field List
Field A 764400
Field B 57320712
Field C <ENTER>
Keystroke Sequence
Enter Data Editing Setup
/E/D/FJ<ENTER>
Enable Data Editing
JA<ENTER>1<ENTER>
Enter Code ID as h (for Code 128)
JC<ENTER>h<ENTER>
Define first six characters as Field A,
and remaining data as Field B
JF<ENTER>0<ENTER>
6<ENTER>
Enter Add Field C as the <ENTER> key
JJ<ENTER>^N<ENTER>*
Define Field Sending Sequence of ACBC JK<ENTER>A<ENTER>
C< ENTER>B<ENTER>
C<ENTER>
Save Exit Setup
JZ<ENTER>
Output Data
764400<ENTER>
57320712<ENTER>
*^N: Do a CTRL-N by holding down the <CTRL> key while pressing the
N key, then releasing both.