The text of a manual · part 18 of 27
AdaptaScan Software (Cat. No. 2755-ASN) User Manual: 11 - Using Match Tables, pages 153 to 162
Pages 153 to 162 of 224, from AdaptaScan Software (Cat. No. 2755-ASN) User Manual
The original document is the PDF (2.8 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 Accu-Sort 2755-SN3, Accu-Sort 2755-SN5, Allen-Bradley 2755-SN5, Accu-Sort 2755-SN8 and Allen-Bradley 2755-SN8
Page 153
Chapter
11
Using Match Tables Chapter Objectives
This chapter describes match table operations. Section
Helpful Hints
Page
Helpful Hints
11–1
What is a Match Table?
11–2
Match Table Applications
11–3
Match Rules
11–3
Defining a Package
11–4
Using Auto-Load
11–5
Configuring Match Tables
11–7
Configuring the Contents of Match Tables
11–9
Configuring Match Table Outputs
11–11
Configuring the Match Entry Counter
11–12
Configuring a Package Definition
11–13
Configuring a Package Using Match Table Entries
11–15
Configuring Package Outputs
11–17
Configuring the Package Counter
11–18
Configuring the Auto-Load Trigger
11–19
Viewing Readers with the Same Trigger Source
11–20
When creating match tables: • Match table functions are selected from a list to define a package. You must define the match table functions (entries) before defining a package. • You can use search metacharacters in match functions. Refer to Appendix C for a description of these characters.
Page 154
11–2
What is a Match Table?
A match table contains bar code data and/or metacharacters entered by an operator. The Reader compares the match table entries with the decoded bar code data. When matches are found, the Reader determines whether or not a package has been read or activates discrete output(s). A Reader match table may contain up to 128 match entries.
For Example, assume the following match table entries and package definitions.
➀ Match Table Definitions Match Function 1 = 456789 Match Function 2 = 123456 Match Function 3 = 245678
Package Definitions Package 1 = Match Function 1 Package 2 = Match Function 2 and 3
Reader 1
Reader 2 Reader 2 Symbols sent to Reader 1 match table.
➁
Reader 2
Reader 1
Diverter
Reader 2 Reader 1 scans a package label with a label content of 999888 which does not correspond with any match table entry. Reader 2 scans a label on the same package with a content of 123456 and 245678 which corresponds with the match table definition for package 2.
➂
Reader 2 turns on a discrete output of Reader 1 as a result of the match. The discrete output of Reader 1 sets a diverter to route the package to its proper location.
Reader 1
Diverter
Reader 1 scans a package label with a label content of 456789 which matches the package 1 definition. Reader 1 turns on a discrete output as a result of the match to route the package to it’s proper location.
Publication 2755-838
Page 155
11–3
Match Table Applications
Verify Labels When verifying a label, the Reader compares the decoded data with the expected label content entered in a match table.
Decoded Data (5/95) = Match Table (5/95) Label Verified Reader
Sort Products When sorting products, the Reader compares decoded data with match code entries. Each match table entry is linked to a different output. When a package is read, the match table result turns on the corresponding output. Reader
Reader
Match Rules
Instead of entering the exact bar code data in a match table, you can enter a rule (using metacharacters) to define a category of symbols. For example, a rule that can match any symbol that begins with 231 and ends in 09.
All Match Rule: 231 . . . 09
See Appendix C for details on metacharacters.
Publication 2755-838
Page 156
11–4
Defining a Package
The Reader determines when a package is read by matching the decoded bar code symbols with symbols entered in a match table. A valid package is decoded when all of the decoded symbols correspond with the specified match table entries for the package.
➂ ➀ Decoded Bar Code Data 016759089 287944498
➁
Match Table Package Definition ➃ 016759089 = Package Read 287944498
Match Function Match Entry
Reader decodes two symbols ➀ on the package. Two Match Entry ➁ functions are defined, one for each value. The Match Table ➂ defines a Package as two match entries. Decoded bar code symbols ➀ match the match table package definition ➂ resulting in a valid package ➃.
An output module can be triggered whenever a match occurs or a package is decoded. This allows you to design sorting and label verification functions. In addition, the Reader has both match entry and package counters for tracking the number of symbols or packages read.
Publication 2755-838
Page 157
11–5
Using Auto-Load
Auto-Load allows you to enter a Match Entry data string by scanning the desired bar code label. Usually, the Auto-Load input is provided by a switch or push button connected to one of the AdaptaScan I/O in the wiring base. To configure a Match Entry for Auto-Load: 1. On the Match Function dialog (page 11–9), select Auto-Load as the function. 2. Use the Auto-Load Trigger Source dialog (page 11–19) to define the trigger source. After the AdaptaScan has been configured and running, Auto-Load symbol data by triggering the decoder while the desired symbol is being scanned and decoded. The Auto-Load input must be energized before the decoder is triggered and must remain on until the decoder trigger goes off. Trigger Decoder Trigger
Data Scanned
Keep Auto-Load Trigger On Until Decoder Trigger is Off.
Auto-Load Trigger Auto-Load Triggered Prior to Decoder Trigger
The following page shows a typical Auto-Load sequence. Notes: A string that is auto-loaded does not appear in the Rule field of the Match Function dialog. Auto-Load clears the Match Counters.
Publication 2755-838
Page 158
11–6
Here is an example of an Auto-Load using a push button as the trigger source. ➀ The match table function is set for Auto-Load. Match Table Function = Auto-Load Rule =
④ Scan the same label again. Verify that the correct data was entered into the match table by observing the output assigned to the match table.
➁ Auto-Load is triggered by operator prior to Package Detect trigger (both Package Detect and Auto-Load triggers required). Auto-Load trigger is maintained (button pressed) while the Reader scans the label data.
➂ Auto-Load trigger is turned off (operator releases button). The decoded bar code data is entered into the match table definition. Match Table Function = Match Entry Rule = 016759089
Publication 2755-838
Page 159
11–7
Configuring Match Tables
The Match Table dialog configures the operation of the match table functions. Open this dialog by selecting the Match Table button on the main Project window.
Opens Packages Dialog Opens AutoLoad Trigger Dialog
Match Functions Displays a list of match table functions that have been defined. Select:
To:
New
Open the Match Function dialog allowing you to create a new match table definition. Open the Match Function dialog for the highlighted match table definition. Cut the highlighted match table definition to the clipboard.
Edit Cut Paste
Move the match table definition from the clipboard to a match functions listing. Select Paste to make copies of the match table definition.
Publication 2755-838
Page 160
11–8
Triggered By Specifies when the Reader activates an output based on the results of the match table. Items that appear in brackets specify the same trigger assigned to the specified function. For example selecting [Decoder] indicates that the match table uses the same trigger assigned to the decoding function. Select:
To:
Device
Specify the Reader that is the source of the trigger.
Input
Specify the input used to provide the timing of a match table output.
The following selections are typical trigger inputs. Select:
Publication 2755-838
To:
Package Detect
Use the package detect input as the trigger source.
Timer
Use the internal Reader timer as the trigger source.
ASCII Command [Decoder]
Use an ASCII command as the trigger source. Use the decode trigger as the trigger source.
[Package]
Use the package trigger as the trigger source.
[Message]
Use the message trigger as the trigger source.
[Match Table]
Use the match table on another Reader as the trigger source.
Page 161
11–9
Configuring the Contents of Match Tables ☞ Or double-click the match
The Match Function dialog defines both the contents of the match table and the source of the symbols to be matched. Open this dialog by selecting the New or Edit button on the Match Table dialog.
function to open the dialog.
Functions Specifies the type of match required between a match table entry and decoded bar code data. Select:
To:
Match Entry
Specify a match occurs when the contents of the Rule field matches data from a bar code symbol. Specify a match occurs when the same symbol is decoded from each of the specified sources. Specify that bar code data is inserted into the match table as the data is decoded. After Auto-Load has been completed, the match function automatically changes to Match Entry.
Symbols Equal Auto-Load
Match Function Name Specifies a unique name for the match function. This name appears in the Match Table functions list and as a selection on the Packages dialog where match functions are selected to define a package. Symbol Source Specifies the Reader decoding the bar code data being compared with the match table entry. When a Reader is selected, the label setups and label symbols that have been assigned to the Reader appear in the Bar Code Labels and Symbols box.
Publication 2755-838
Page 162
11–10
Bar Code Labels and Symbols Specifies the symbols or labels to be matched against the contents of the match table. Data from multiple Readers may be compared with a match table entry. To select more than one symbol, hold down the [Shift] or [Ctrl] keys while making the selection. [Shift] selects a group of consecutive listings and [Ctrl] selects nonconsecutive listings. Rule Specifies either the exact contents of the bar code symbol to match and/or a metacharacter string that defines parameters of symbols being matched. Refer to Appendix C for a list of the metacharacters. For example, to match any number of occurrences of any character, enter the metacharacter string .* Disable When selected, disables the match function. When disabled, the Reader will not search for bar code data that matches the Rule entry. Match Exactly Enables / disables metacharacters. When selected, metacharacters are read as normal ASCII characters. When not selected, certain characters (metacharacters) perform special functions as described in Appendix C.
Publication 2755-838