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 12

QuickScan L Barcode Scanner Advanced Data Formatting (ADF) Guide, pages 5 to 12

Pages 5 to 12 of 100: Introduction; Rules

The original document is the PDF (1.3 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.

Filed in the catalog under the Datalogic QD-2300

Page 5

Introduction About this Manual Use this Advanced Data Formatting Guide to perform advanced configuration to your scanner using programming barcodes.

References Current versions of the Product Reference Guide (PRG), Quick Reference Guide (QRG), and any other manuals and instruction sheets for this product can be downloaded from the website listed on the back cover of this manual. Alternatively, printed copies or product support CDs can be purchased through your Datalogic reseller.

Manual Conventions The following conventions are used in this document: The symbols listed below are used in this manual to notify the reader of key issues or procedures that must be observed when using the scanner: Notes contain information necessary for properly diagnosing, repairing and operating the scanner. NOTE

The CAUTION symbol advises you of actions that could damage equipment or property. CAUTION

Advanced Data Formatting Guide

1

Page 6

Introduction

Technical Support Datalogic Website Support The Datalogic website (www.scanning.datalogic.com) is the complete source for technical support and information for Datalogic products. The site offers product support, product registration, warranty information, product manuals, product tech notes, software updates, demos, and instructions for returning products for repair.

Reseller Technical Support An excellent source for technical assistance and information is an authorized Datalogic reseller. A reseller is acquainted with specific types of businesses, application software, and computer systems and can provide individualized assistance.

Telephone Technical Support If you do not have internet or email access, you may contact Datalogic technical support at (541) 349-8283.

2

QuickScan® L

Page 7

Chapter 2 Rules Advanced Data Formatting Advanced Data Formatting (ADF) is a means of customizing data before transmission to your host device. Scan data can be edited to suit your particular requirements. If you are using the Wand interface with your scanner, you will not be able to use ADF rules to format your data. NOTE

Rules: Criteria Linked to Actions In ADF, data is customized through 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. For instance, a data formatting rule could be the following: Criteria Actions

When scan data is Code 39, length 12, and data at the start position is the string “129”, Pad all sends with zeros to length 8, send all data up to X, send a space.

If a Code 39 barcode of 1299X1559828 is scanned, the following is transmitted: 00001299<space>. If a Code 39 barcode of 1299X15598 is scanned, this rule is ignored because the length criteria has not been met. The rule specifies the editing conditions and requirements before data transmission occurs.

Advanced Data Formatting Guide

3

Page 8

Rules

Using ADF Barcodes When you program a rule, make sure the rule is logically correct. Plan ahead before you start scanning. To program each data formatting rule: Start the Rule, Scan the barcode "Begin New Rule" on page 9. Criteria, Scan the barcodes for all pertinent criteria. Criteria can include code type

(e.g., Code 128), code length, or data that contains a specific character string (e.g., the digits “129”). These options are described in Chapter 4, Criteria. Actions, Scan all actions related to, or affecting, these criteria. The actions of a rule specify how to format the data for transmission. These options are described in "ADF Barcode Menu Example" on page 5. Save the Rule, Scan the barcode "Save Rule" on page 9. This places the rule in the

“top” position in the rule buffer.

4

•

If you make errors during this process, some special-purpose barcodes may be useful: "Erase Criteria And Start Again" on page 10, "Erase Actions And Start Again" on page 10, "Erase Previously Saved Rule" on page 10, etc.

•

Criteria, actions, and entire rules may be erased by scanning the appropriate barcode (see barcodes beginning on page 13).

•

Use the Product Reference Guide PRG as a for basic direction regarding the programming steps. For more information on scanning, see the Quick Reference Guide (ARG). See References on page 1 for information about how to access these other product publications.

QuickScan® L

Page 9

ADF Barcode Menu Example

ADF Barcode Menu Example This section provides an example of how ADF rules are entered and used for scan data. An auto parts distribution center wants to encode manufacturer ID, part number, and destination code into their own Code 128 barcodes. The distribution center also has products that carry UPC barcodes, placed there by the manufacturer. The Code 128 barcodes have the following format: MMMMMPPPPPDD Where:

M = Manufacturer ID P = Part Number D = Destination Code

The distribution center uses a PC with dedicated control characters for manufacturer ID <CTRL M>, part number <CTRL P>, and destination code <CTRL D>. At this center the UPC data is treated as manufacturer ID code. The following rules need to be entered: •

When scanning data of code type Code 128, send the next 5 characters, send the manufacturer ID key <CTRL M>, send the next 5 characters, send the part number key <CTRL P>, send the next 2 characters, send the destination code key <CTRL D>.

•

When scanning data of code type UPC/EAN, send all data, send the manufacturer ID key <CTRL M>.

Advanced Data Formatting Guide

5

Page 10

Rules

ADF Barcode Menu Example, cont. To enter these rules, follow the steps below:

Rule 1: The Code 128 Scanning Rule Step

Barcode

1 2 3 4 5 6 7 8 9

Begin New Rule Code 128 Send next 5 characters Send <CTRL M> Send next 5 characters Send <CTRL P> Send next 2 characters Send <CTRL D> Save Rule

On Page

Beep Indication

9 13 24 43 24 44 24 42 9

High High High High High High High High High High High High High High High High High Low High Low

On Page

Beep Indication

9 15 24 43 9

High High High High High High High High High Low High Low

Rule 2: The UPC Scanning Rule Step

Barcode

1 2 3 4 5

Begin New Rule UPC/EAN Send all remaining data Send <CTRL M> Save Rule

If you made any mistakes while entering this rule, scan the barcode: Quit Entering Rules on page 10. If you already saved the rule, scan the barcode: Erase Previously Saved Rule on page 10.

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 barcode contains the following information: Class (2 digits), Stock Number (8) digits, Price (5 digits) This barcode 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) 6

QuickScan® L

Page 11

Alternate Rule Sets

Alternate Rule Sets, cont. 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. 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 barcode 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 barcode 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 barcode must be scanned to switch between the rule sets. For example, in the case of the “sale” rule above, the rule 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 barcode of length 1 that begins with “M”, select rule set number 1. Another rule could be programmed to switch back. When scanning a barcode of length 1 that begins with “N”, turn off rule set number 1. 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 barcode 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 barcode: Disable All Rule Sets on page 11 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 barcodes beginning on page 11.

Advanced Data Formatting Guide

7

Page 12

Rules

Rules Hierarchy (in Barcodes) The order of programming individual rules is important.The most general rule should be programmed last. All programmed rules are stored in a buffer. As they are programmed, 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 When data is scanned, the rules list is checked from top to bottom to determine if the criteria match (and therefore, if the actions should occur). Input is modified into the data format specified by the first matching set of criteria it finds. Be sure that your most general rule is the last one programmed. For example, if the THIRD rule states: When scanning a barcode of any length, send all data, then send the ENTER key. And the SECOND rule states: When scanning a Code 128 barcode of length 12, send the first four characters, then send the ENTER key, then send all remaining data. If a Code 128 barcode of length 12 were scanned, the THIRD rule would be in effect. The SECOND rule would appear to not function. Note also that ADF rules are actually created when you use the standard data editing functions. Scan options are entered as ADF rules, and the hierarchy mentioned above also applies to them. For the scanner, this applies to prefix/suffix programming in the parameter Scan Data Transmission Format. 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 scan data. Units with custom software may have one or more default rules burned in. The rules hierarchy checks 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 scan data, send all data. Since this rule always applies, ADF will never go into the default rules.

Special Considerations for Multipoint Networks ADF rules scanned by an individual scanner are NOT broadcast to other scanners in the piconet, as are other parameters.

8

QuickScan® L