beautypg.com

Rules – Rockwell Automation 2755 2D Hand-Held Scanner User Manual

Page 101

background image

Advanced Data Formatting

E–3

Publication 2755-6.4

Rules

ADF data is customized using rules. These rules perform detailed
actions when the data meets certain criteria. One rule may consist of
single or multiple criteria applied to single or multiple actions.

The following describes an example of a data formatting rule:

Criteria – Scan data is Code 39, Length 12, and data at the start
position is the string 129.

Actions – Pad all sends with zeros to length 8, send all data up to
X, send a space.

If a Code 39 bar code of 1299X1559828 is scanned, then the
following is transmitted: 00001299. If a Code 39 bar code
of 1299X15598 is scanned, this rule is ignored because the code
length is not 12.

The rule specifies the editing conditions and requirements before
data transmission occurs.