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 14 of 42

DS/DD Series B Enhanced Bar Code Decoders User Manual (Bulletin 2755): 8 - Configuration: Extended Match Table and Counters

Pages 114 to 122 of 361, from DS/DD Series B Enhanced Bar Code Decoders User Manual (Bulletin 2755)

The original document is the PDF (1.4 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 Allen-Bradley 2755-DD and Allen-Bradley 2755-DS

Page 114

Configuration: Extended Match Table and Counters Extended Match Table

You can use the screen illustrated below to set up match code entries in the Extended Match Code Table. You can define up to 128 entries here that provide added flexibility in response to incoming data over the Primary Match Codes described in the previous chapter. Using Extended Match Codes you can compare all incoming data against table entries that you create to meet your own unique needs. The decoder can then count valid matches, and optionally fire one or more outputs. Extended Match Codes provide a way to gather extremely detailed information based on decoder activity, and to exercise an additional level of control over decoder output activities. The Extended Match Codes differ from the Primary Match Codes in a number of ways:

• Extended Match Code counters appear on the same screen from which they are controlled (the primary counters appear on a separate Status and Primary Counters screen) • Extended Match Codes can activate multiple outputs, the duration of which are defined in the Primary Match Code Table (Primary Match Codes can each fire only a single output). This screen displays the extended match code table in eight sets of sixteen entries. Set one includes entries 1 through 16, set 2 includes 17 through 32, and so on. The entry numbers (1 through 128) appear on the left side of the screen.

Publication 2755-833

Page 115

8–2

Configuration: Extended Match Table and Counters

Each parameter is defined below. The options for each parameter are summarized in a table, and explained more fully in the text. The default setting for each parameter is displayed in bold letters in the table.

Screen Status Field Type Options Auto Refresh Reset All Counts Select Reset Set Only Next Set Previous Set

This parameter can be used to control three different functions relating to the extended match codes:

• It determines whether the display is refreshed regularly Selecting the default Auto Refresh setting will result in all displayed counters being updated every second. • It permits resetting the value of extended match code table counters to zero Selecting Reset All Counts zeroes all extended counters, whether they are among the currently displayed set or not. Selecting Reset Set Only zeroes only those counters in the currently displayed set. The system will ask you to confirm either reset command before it takes any action. • It provides a means to move through all eight sets as necessary Selecting Next Set displays the next set of sixteen extended match code entries. Selecting Previous Set displays the previous set of sixteen extended match code entries. Both commands treat all eight sets as a closed loop. If you select Next Set while displaying set 8, the system will display set 1. If you select Previous Set while displaying set 1, the system will display set 8. Once you’ve selected either Next Set or Previous Set, you can continue to scroll through all sets by repeatedly pressing [Return]. Note, however, that there may be a slight delay while the system prepares and formats each new set for display. If you hold down the [Return] key in an effort to speed up paging, you are likely to pass your intended destination. It is not necessary to assign extended match code values in sequence. One could, for example, assign match patterns to entries 1, 2, 5, 7, 12, and 16 in set 1, nothing in set 2, and 33 through 35 in set 3. The details of each application will determine the strategy used in assigning (or not assigning) extended match code patterns.

Publication 2755-833

Page 116

Configuration: Extended Match Table and Counters

8–3

Status of Counter Set Field Type Options Select

Enabled Disabled

This parameter activates or deactivates the counters within the particular set of extended match code values currently displayed. The default value is Enabled, which means that any extended match code table entry in the currently displayed set to which a match pattern has been assigned will be enabled. Selecting Disabled turns off all entries in the currently displayed set. Keep in mind that this parameter affects only the currently displayed set. Use the Screen Status parameter described above to move among sets within the table. Note that when moving from one screen to another the “Set” identifier changes to reflect the number of the set currently displayed. The ability to turn individual sets of extended match code table entries on and off at will provides a potentially useful additional level of process control and flexibility.

Mode Field Type Options A = Autoload M = Match Entry Select D = Disabled L = Lot

The Mode parameter controls the operational status of individual entries in the extended match code table. The default setting is Disabled. Other choices include:

• Autoload, which configures the specified extended match code table entry to match the bar code data from the first valid package(s) into the extended match code table Once a pattern is entered, the Mode parameter changes to Match Entry. If the bar code data contains the ”%” character, the decoder displays %% in the match code table, but records a single % in the data. Use the ”%” character to enter any non-printable character. For example, %M represents CTRL-M, or carriage return. See Appendix I. • Match Entry, which activates the specified output when bar code data matches the string in that row➀ ➀ The duration of Extended Match Code Table outputs are established in the Primary Match Code Table below.

Publication 2755-833

Page 117

8–4

Configuration: Extended Match Table and Counters

Used for verification of specific label information. The corresponding output counter increments each time a match entry occurs. • Lot, which is an advanced capability available only in the extended match code table, and not in the primary match code table When Lot is selected, the decoder will change the Mode parameter to Match Entry, M, place into the extended match code table entry the value of the first Interleaved 2-of-5 label it reads, and increment the counter. If Any had been selected as the Symbology, it will change to I 2-of-5. Every time the system encounters a matching I 2-of-5 label it will then: – Increment the counter – Activate appropriate outputs.➀ This will continue until the decoder encounters a Code 39 label with the same value, at which point the system will: – Reset the Mode to Disable – Change the Symbology to Code 39 – Increment the counter a final time – Activate appropriate outputs a final time.➀ You can use multiple Lot entries, and have them running independently of one another. The Lot parameter provides a level of process monitoring and control sophistication required in only a few applications, but highly valuable where needed to generate statistical information. For example, suppose extended match code table entry 1 is set up for lot mode, with activation of output 4. If the first Interleaved 2-of-5 symbol read by the decoder has a value of 123456, then the mode becomes Match Entry, and 123456 becomes the match string. Subsequent I 2 of 5 symbols with the same value will each increment the counter in row 1, and activate output 4. The first Code 39 symbol read that has the value 123456 will “close” the lot, and change the Symbology value from I 2 of 5 to Code 39, change M to D for the Mode, activate output 4 for the last time, and increment the counter a final time. This “closed” lot will not increment the counter or activate outputs for any I 2 of 5 or Code 39 symbols once the lot is closed. Instead, it will open a new lot if one is available.

Publication 2755-833

Page 118

Configuration: Extended Match Table and Counters

8–5

Source Field Type Options A (Default for DS) B Select A|B = A or B (Default for DD) A–B = Precedent determined

Specifies from which scanner(s) an event can originate and meet the extended match pattern requirements. For single head decoders, Scanner A is the default value. For dual head decoders, the default value is A|B, which means that the decoder will accept input from either A or B to create a match. Other options include Scanner B, or precedent determined (A–B). When set to A–B, the decoder will use the first input from either Scanner A or Scanner B to establish a precedent for all following inputs. If, for example, the first input comes via Scanner B, then only data from Scanner B will be matched from that point on.

Symbology Field Type Options Code 39 Interleaved 2-of-5 Codabar UPC-A UPC-E Select EAN-8 EAN-13 Code 128 Pharma–Code① Any ① Applies only to decoders equipped with the optional Pharma–Code capabilities.

Selects the symbology of the match code string. You can select any one of the symbologies for each extended match code string. Note: Any is the default value in the Symbology field for all entries in the match code tables.

Publication 2755-833

Page 119

8–6

Configuration: Extended Match Table and Counters

Match Pattern String Field Type Options Edit Text

0 to 32 characters Blank

Defines the characters for a specified match code string (1 - 128). The default is no characters (Blank), which means a match code string is not defined. You can enter up to 32 characters for each match code string (including non-printable control characters). Enter the characters as they will be transmitted to the host. Do not include check digits if you disabled the Include Check Character parameter for the selected symbology. The string accepts the question mark (?) as a single character wild card. A position containing a ? will match any single ASCII character in the same position of the decoded data. Note: The Extended Match Code tables interpret a question mark differently than do the Host Replacement rules. The question mark functions as a generic wildcard when used in the Extended Match Code Table, and as a metacharacter in the Host Message Replacement Rules. The decoder compares all decoded data with the specified entries in the match code table. If the decoded data matches any of the 128 strings, a match condition occurs.

Count Field Type Options Edit Numeric

0 through 999999 0

This field displays the current value of the extended match count for each table entry. The count automatically increments when the pattern, source, and symbology values all match a given extended match pattern. You can edit this field to set a specific start value when desired.

Publication 2755-833

Page 120

Configuration: Extended Match Table and Counters

8–7

Loading Field Type Options Edit Numeric

0 through 9, X 0

In the most general sense, loading provides a means to distribute the response to incoming data among the eight discrete outputs. Loading instructs the decoder to respond to a match by activating the discrete corresponding to the next column number in which a nonzero value appears. The default value of 0 disables loading for a given discrete. Values include 0 through 9, and X. Activation occurs from left to right in a “round-robin” fashion. During operation, a “greater than” symbol (>) will appear on the terminal screen to indicate the next discrete scheduled to fire. Any output set to “X” will fire every time a match is successful, in addition to the appropriate “round-robin” output. Note: The duration of Extended Match Code Table outputs are established in the Primary Match Code Table. See below. Given a situation where discretes 5, 6, and 8 are activated with loading values of 1, 3, and 1, the table below shows what would happen during three complete cycles (15 total matches). In the example below, a bold horizontal line marks the beginning of each new cycle.

Publication 2755-833

Page 121

8–8

Configuration: Extended Match Table and Counters

On Terminal Display➀

Internal Status of Counters Match #

1

2

3

4

5

6

7

8

1

2

3

4

5

6

7

8

0

0

0

0

0

1

3

0

1

•

•

•

•

>1

3

•

1

1

0

0

0

0

0

3

0

1

•

•

•

•

1

>3

•

1

2

0

0

0

0

0

2

0

1

•

•

•

•

1

3

•

>1

3

0

0

0

0

0

2

0

0

•

•

•

•

1

>3

•

1

4

0

0

0

0

0

1

0

0

•

•

•

•

1

>3

•

1

5

0

0

0

0

1

3

0

1

•

•

•

•

>1

3

•

1

6

0

0

0

0

0

3

0

1

•

•

•

•

1

>3

•

1

7

0

0

0

0

0

2

0

1

•

•

•

•

1

3

•

>1

8

0

0

0

0

0

2

0

0

•

•

•

•

1

>3

•

1

9

0

0

0

0

0

1

0

0

•

•

•

•

1

>3

•

1

10

0

0

0

0

1

3

0

1

•

•

•

•

>1

3

•

1

11

0

0

0

0

0

3

0

1

•

•

•

•

1

>3

•

1

12

0

0

0

0

0

2

0

1

•

•

•

•

1

3

•

>1

13

0

0

0

0

0

2

0

0

•

•

•

•

1

>3

•

1

14

0

0

0

0

0

1

0

0

•

•

•

•

1

>3

•

1

➀

Tinted cells in this table show location of indicator arrow (“greater than” symbol). Cells are not highlighted on screen.

Note that the numbers displayed on the terminal during processing do not change as loading progresses. Only the “greater than” symbol changes, moving as necessary to indicate the next scheduled discrete activation. Note also that the value in each vertical (output) column has meaning only in relation to the other values on the same horizontal (match entry) row. To find the percentage of cases in which a given loading value will fire, simply divide that value by the sum the values for that match, then multiply by 100. 0+0+0+0+1+3+0+1=5 In the example above, discretes 5 and 8 will each fire 20% of the time (1/5*100), while discrete 6 will fire 60% of the time (3/5*100).

Publication 2755-833

Page 122

Configuration: Extended Match Table and Counters

8–9

Output Duration

!

ATTENTION: Outputs that are addressed from multiple Extended Match Code Table entries (or from both Primary and Extended Match Code Table entries) and have overlapping durations will activate as shown below. Failure to consider this fact could lead to unexpected discrete output behavior.

The settings in the Primary Match Code Table determine the duration of all outputs initiated by the Extended Match Codes. For example, assume output 1 is set to activate for 100 ms on a match to 1234 in the Primary Match Code Table, and to activate on a match to 1345 in the Extended Match Code Table. The duration of the Extended Match Code Table activation will be 100 ms (as established in the Primary Match Code Table). If the decoder reads 1234, followed 75 ms later by 1345, the resulting timing will be the 175 ms. The following illustration will help explain why.

Output Timing of 1234 Alone

Read 1234

Output Timing of 1345 Alone

Read 1345 Combined Result

Output Timing of 12341345

Milliseconds 0

25

50

75

100

125 150

175 200

Publication 2755-833