Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeEnglishEspañolContact

The text of a manual · part 2 of 64

Symbol Omnidirectional Scanner Advanced Programmer's Guide, pages 11 to 20

Pages 11 to 20 of 632

The original document is the PDF (1.7 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.

For the Symbol LS-9100

Page 11

Symbol Omnidirectional Scanners: Advanced Data Formatting

Alternate Rule Sets ADF rules may be grouped into one of four alternate sets which can be turned on and off when needed. This is useful when you want to format the same message in different ways. For example, a Code 128 bar code contains the following information: Class (2 digits), Stock Number (8) digits, Price (5 digits) This bar code might look like this: 245671243701500 where: Class = 24 Stock Number = 56712437 Price = 01500 Ordinarily you would send this data as follows: 24 (class key) 56712437 (stock key) 01500 (enter key) But, when there is a sale, you may want to send only the following: 24 (class key) 56712437 (stock key) and the cashier will key the price manually.

1-7

Page 12

Symbol Omnidirectional Scanners: Advanced Data Formatting To implement this, you would first enter an ADF rule that applies to the normal situation. This 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, send the data that remains, send the enter key. 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” must be programmed. This rule specifies what type of bar code must be scanned to switch between the rule sets. For example, in the case of the “sale” rule above, the programmer wants the cashier to scan the barcode “M” before a sale. To do this, a rule can be entered as follows: When scanning a bar code of length 1 that begins with “M”, select rule set number 1. Another rule could be programmed to switch back. When scanning a bar code of length 1 that begins with “N”, turn off rule set number 1.

1-8

Page 13

Symbol Omnidirectional Scanners: Advanced Data Formatting The switching back to normal rules can also be done in the “sale” rule. For example, the 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, turn off rule set 1. It is recommended that you scan the DISABLE ALL RULE SETS bar code after programming a rule belonging to an alternate rule set. In addition to enabling and disabling rule sets within the rules, you can enable or disable them by scanning the appropriate bar codes on 2-14 to 2-18.

1-9

Page 14

Symbol Omnidirectional Scanners: Advanced Data Formatting

Rules Hierarchy (in Bar Codes) When rules are created, they are stored at the “top” of a rules list. If three rules have been created, the list would be configured as follows: Third Rule Second Rule First Rule All inputs will check the rules list from top to bottom to determine if the criteria matches (and therefore, if the actions should occur). This illustrates the importance of the order in which the rules were created. Input will be modified into the form of the first matching set of criteria it finds. For example, if the THIRD rule states: When scanning a bar code of any length, send all data, then send the ENTER key. And the SECOND rule states: When scanning a Code 128 bar code of length 12, send the first four characters, then send the ENTER key, then send all remaining data. If a Code 128 bar code of length 12 were scanned, the THIRD rule would be in effect. The SECOND rule would appear to not function.

1-10

Page 15

Symbol Omnidirectional Scanners: Advanced Data Formatting Note also that ADF Rules are actually created when you use the standard data editing functions. Scan serial, and magstripe options are entered as ADF rules, and the hierarchy mentioned above also applies to them. These rules reside in the same “rule list” as ADF Rules, so the order of their creation is also important.

Default Rules Every unit has a default rule to send all data, regardless of the source. Units with custom software may have one or more default rules burned in. The rules hierarchy will check user programmable rules first, then the default rules. Default rules can be disabled by entering the following general rule in the user programmable buffer: When receiving data from any source, send all data. Since this rule always applies, ADF will never go into the default rules.

1-11

Page 16

Symbol Omnidirectional Scanners: Advanced Data Formatting

Beeper Definitions Beeper Sequence

Indication

Short High-Low

Entry of a number is expected. Enter another digit. Add leading zeros to the front if necessary.

Short Low-Low

Entry of an alphabetic character is expected. Enter another character or scan the End of Message bar code.

Short High-High

Entry of Criterion/Action is expected. Enter another criterion or action, or scan the Save Rule bar code.

Short High-Low-HighLow

Rule saved. Rule entry mode exited.

Short High-Low-Low

All criteria or actions were cleared for rule currently being entered; continue entry of rule.

Short Low

Last saved rule was successfully deleted. The rule presently being entered is left intact.

Short Low-High-High

All rules are now deleted. The rule presently being entered is left intact. (This beep sequence has a different meaning outside of ADF.)

1-12

Page 17

Symbol Omnidirectional Scanners: Advanced Data Formatting

Beeper Sequence

Indication

Long Low-High-LowHigh

Out of rule memory. Erase some existing rules, then try to save rule again. (The current rule need not be re-entered.)

Long Low-High-Low

Cancel rule entry. Rule entry mode exited because of an error or the user asked to exit rule entry.

Long Low-High

Entry error, wrong bar code scanned. Re-enter criterion or action. All previously entered criteria and actions are retained. Criteria or action list is too long for a rule.

1-13

Page 18

Symbol Omnidirectional Scanners: Advanced Data Formatting

ADF Bar Code Menu Example This section will show you specifically how ADF rules are entered and used. Examples are given for each of the three data sources.

Formatting Scan Data A local men's clothing store wants to encode a vendor number, size, and color code into their own Code 128 bar codes. The store also has products that carry UPC bar codes, placed there by the manufacturer. The Code 128 bar codes have the following format: VVVVV SSSSCC Where V = Vendor Code S = Size Code C = Color Code The store uses an NCR 7052 cash register with buttons for vendor [F1], size [F2], and color code [F3]. At this store the UPC data is treated as one vendor code. The following rules need to be entered: When scanning data from any port, and the code type is Code 128, send the next 5 characters, send the vendor key [F1], send the next 4 characters, send the size key [F2], send the next 2 characters, send the color code key [F3]. When scanning data from any port, and the code type is UPC/EAN, send all data, send the vendor key [F1].

1-14

Page 19

Symbol Omnidirectional Scanners: Advanced Data Formatting To enter these rules, follow the steps below and on the next page:

Rule 1: The Code 128 Scanning Rule Step

Bar Code

On Page

Beep Indication

1

Either Scanner Port

2-22

High High

2

Code 128

2-42

High High

3

Send Next 5 Characters

2-111

High High

4

Send F1

2-437

High High

5

Send Next 4 Characters

2-110

High High

6

Send F2

2-438

High High

7

Send Next 2 Characters

2-108

High High

8

Send F3

2-439

High High

9

Save Rule

2-7

High Low High Low

1-15

Page 20

Symbol Omnidirectional Scanners: Advanced Data Formatting

Rule 2: The UPC Scanning Rule Step

Bar Code

On Page

Beep Indication

1

Either Scanner Port

2-22

High High

2

UPC/EAN

2-51

High High

3

Send All Data That Remains

2-106

High High

4

Send F1

2-437

High High

5

Save Rule

2-7

High Low High Low

If you made any mistakes while entering this rule, scan “Quit Entering Rules” on page 2-6.

1-16