Rockwell Automation 2755 Enhanced Decoder Series B User Manual

Page 147

Advertising
background image

10–12

Configuration: Host Message Replacement Rules

Publication 2755-833

Replace Entire String With

Field Type Options

Edit Text

Any valid string up to 24
characters in length
Blank

Defines the string or expression that should be sent to the host to
replace the string that was matched by the search pattern currently in
effect. Whenever the search pattern is satisfied, the replacement
pattern defined here will be substituted for the entire string.

Even if the search pattern is only a portion of the incoming string,
the entire incoming string is replaced by the replacement pattern. For
an example of how to replace only a portion of the incoming string,
see Example 9 at the end of this chapter.

The resulting string appears in the field defined by the host message
field number. The string or expression may consist of any valid
combination of ASCII characters and metacharacters. The default
value is Blank.

Minimum Field Length

Field Type Options

Edit Numeric

0 through 64
0

Specifies the minimum number of characters in any field that
satisfies the rule. Fields that are longer than the minimum field
length remain unchanged, but fields that are shorter than the
minimum length are padded to meet the minimum value. Fill
characters appear either before or after the existing field, depending
on the field’s alignment.

The default value is 0, which means minimum field length,
alignment, and fill character functions are all disabled. Allowable
values are any number from 0 to 64.

Advertising