Examples – Rockwell Automation 2755 Enhanced Decoder Series B User Manual
Page 150

10–15
Configuration: Host Message Replacement Rules
Publication 2755-833
Examples
Example 1: Sorting by Data Source
Parameter Rule #1 Value
Rule #2 Value
Source A
B
Symbology Any
Any
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 the decode mode Coordinated 1 or 2, two symbols per package
and each scanner reading a single symbol, the data from Scanner A
will always appear first, and the data from Scanner B second.
Appropriate No-Read messages may be selected for each scanner by
using the No-Read Replacement Rules.
Example 2: Identifying the Source of Data
Parameter Rule #1 Value
Rule #2 Value
Source A|B
Aux
Symbology Any
Any
Symbol Number All
All
Find String Containing .*
.*
Replace Entire String
With
&
& Aux Data
Minimum Field Length 0
0
Alignment Right
Right
Fill Character None
None
Host Message Field
Number
1
1
All scanner data will be sent to the host as received. Data entered
into the AUX Port will be sent with the characters “Aux Data”
appended to the data. In a real application, it may be critical to know
the source of information. The Host Replacement Rules make this
possible. (Also see Source Identifier.)