beautypg.com

Ast798x – Omnitron Systems Technology RS-232 User Manual

Page 48

background image

42

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 (ASCII code 03) 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 \ 03

SEND BD DLY 09 AD DLY 20

Field List

Field A AST

Field B 798

Field C X

Field D

Keystroke Sequence

Enter Data Editing Setup

/E/D/FJ

Enter Data Editing and Enable

JA1

Enter Code ID and e (for Code 39) JCe

Enter Length and 0707

JD070

< ENTER >7

Enter Match and 07X

JE07

X

Enter Count and 03

JF03

Enter Count and 03

JF03

Enter Add Field &

character

JJ^C *

Enter Field Sequence and BD

JKBD

Enter Add Delay and 09

JM0

9

Enter Field Sequence and AD

JKAD

Enter Add Delay and 20

JM2

0

Enter Exit Setup

JZ

Output Data

798<>.9s delay AST<>

2s delay

* ^C: Do a CTRL-C by holding down the key while pressing the C key, then

releasing both.