Allen-Bradley 2755-DS1A Product Data page 21

Single/dual-head enhanced bar code decoders
Table of Contents

Advertisement

Example 5: Sorting Symbols by Data Identifiers
Parameter Rule #1 Value
Source A|B
Symbology Any
Symbol Number All
Find String
^P( . . . . . . . )$
Containing
Replace Entire String
\1
With
Minimum Field
0
Length
Alignment Right
Fill Character None
Host Message Field
1
Number
This example illustrates the effects of sorting host data using data identifiers.
Specifications such as AIAG and ODETTE use these unique characters to
identify specific data within a group of symbols. These characters are
embedded into the encoded Bar Code symbol. Although not always printed
in the human readable text, they appear as the first character (or group of
characters) in the symbol. In this example data are sorted so that the part
number, quantity, serial number, and supplier identification are sent to the
host in that particular order. By using the parentheses in the search string
and the "\1" in the replace string, we are able to strip off the data identifier,
and send only the data desired.
In this example, if the part number does not have exactly 7 characters after
the identifier, it will fail the rule and not be sent. In rule #2, we search for
the quantity identifier. If the symbol Q100 was read, we would send "Qty =
100
" with the replace string "Qty = \1"
Product Data
Bulletin 2755
Single/Dual-Head Enhanced Bar Code Decoders
Rule #2 Value
Rule #3 Value
A|B
A|B
Any
Any
All
All
^Q( . * )
^S( . * )
Qty = \1
\1
0
0
Right
Right
None
None
2
3
Rule #4 Value
A|B
Any
All
^V( . . . . . )$
\1
0
Right
None
4
21

Advertisement

Table of Contents
loading

This manual is also suitable for:

2755-ds4a2755-dd1a2755-dd4a

Table of Contents