Allen-Bradley 2-D User Manual page 108

2-d hand-held bar code scanners
Table of Contents

Advertisement

E–10
Advanced Data Formatting
Alternate Rule Sets
ADF rules may be grouped into one of four alternate sets which can
be turned on and off as needed. This is useful when you want to
format the same message in different ways. For example, a Code
128 bar code contains the following information:
Class (2 digits), Stock Number (8 digits), Price (5 digits)
This bar code might look like this:
Class = 24
Stock Number = 56712437
Price = 01500
Ordinarily you would send the data as follows:
24 (class key)
56712437 (stock key)
01500 (enter key)
But, when there is a sale, you may want to send only the following:
24 (class key)
56712437 (stock key)
and the cashier will key the price manually.
To implement this, you would first enter and ADF rule that applies to
the normal situation. This rule may look like this:
When scanning a bar code of length 15:
send the next 2 characters
send the class key
send the next 8 characters
send the stock key
send the data that remains
send the ENTER key
Publication 2755-6.4

Advertisement

Table of Contents
loading

This manual is also suitable for:

2755-htg-4

Table of Contents