beautypg.com

Rockwell Automation 2755 2D Hand-Held Scanner User Manual

Page 109

background image

Advanced Data Formatting

E–11

Publication 2755-6.4

The sale rule may look like this.

When scanning a bar code of length 15:

send the next 2 characters

send the class key

send the next 8 characters

send the stock key

To switch between the two sets of rules, a “switching rule” you must
program a switch rule. This rule specifies what type of bar code
must be scanned to switch between the two rule sets. For example,
in the case of the “sale” rule above, you want the cashier to scan the
bar code “M” before a sale. To do this rule, you can enter a rule as
follows:

When scanning a bar code of length 1 that begins with “M”,
select rule set number 1.

You can program another rule to switch back.

When scanning a bar code length of 1 that begins with “N”,
turn off rule set number 1.

The switching back to normal rules can also be done on the “sale”
rule. For example:

When scanning a bar code length of 15:

send the next 2 characters

send the class key

send the next 8 characters

send the stock key

turn off rule set 1

We recommend that you scan the Disable All Rules Sets bar code
after programming a rule belonging to an alternate rule set.

Besides enabling and disabling rule sets within rules, you can enable
or disable them by scanning the appropriate bar codes.