Rockwell Automation 2755 Enhanced Decoder Series B User Manual

Page 151

Advertising
background image

10–16

Configuration: Host Message Replacement Rules

Publication 2755-833

Example 3: Sorting by Symbology

By setting up specific rules to check for symbology, different code
types may be sent to the host in a predetermined order.

Parameter Rule #1 Value

Rule #2 Value

Source A|B

A|B

Symbology Code 128

I 2 of 5

Symbol Number All

All

Find String Containing .*

.*

Replace Entire String

With

&

&

Minimum Field Length 0

0

Alignment Right

Right

Fill Character None

None

Host Message Field

Number

1

2

In this case, 2 symbols per package will be read. The symbols are
sent to the host with the Code 128 symbol first, or its No-read
Replacement Message. This technique may be useful in applications
where these two symbologies are used together.

Example 4: Sorting by Symbol Number

Parameter Rule #1 Value

Rule #2 Value

Source A|B

A|B

Symbology Any

Any

Symbol Number 2

1

Find String Containing .*

.*

Replace Entire String

With

&

&

Minimum Field Length 0

0

Alignment Right

Right

Fill Character None

None

Host Message Field

Number

1

2

The above rules allow the host to receive the symbol data in reverse
order from the order it was decoded. The first symbol decoded
(symbol number 1) will be sent as field number 2, while symbol
number 2 will be sent first.

Advertising