The text of a manual · part 12 of 42
DS/DD Series B Enhanced Bar Code Decoders User Manual (Bulletin 2755): 7 - Configuration: Scanner Control, Primary Match Table, Discrete I/O, pages 98 to 106
Pages 98 to 106 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 98
7–10
Configuration: Scanner Control, Primary Match Table, Discrete I/O
In Independent Package Detect mode, the Symbols/Package setting must be satisfied by each scanner individually. For example, the Symbols/Package setting is 2. Scanner A must decode two symbols to produce a valid read, or scanner B must decode two symbols to produce a valid read. If both scanners are triggered from their respective package detects, and Scanner A decodes only one symbol and Scanner B decodes only one symbol, two packages will be sent to the host with a no-read indicated in each. In Independent Host Command mode, the decoder starts and stops decoding symbols as instructed by a host computer. For example, the Symbols/Package setting is 2. Scanner A must decode two symbols to produce a valid read, or scanner B must decode two symbols to produce a valid read. If both scanners are triggered using their respective Start Scan and Stop Scan characters, and Scanner A decodes only one symbol and Scanner B decodes only one symbol, two packages will be sent to the host with a no-read indicated in each. The following example illustrates the difference between Coordinated 1 and Coordinated 2 modes, and how the Symbols/Package setting affects scanner operation in both the Coordinated and the Independent modes. Symbols/Package = 2 Coordinated 1 Mode Example #1
Scanner A reads 1234
Scanner A reads 1234
Scanner A reads 1234 ScnA /1234/ABCD//
ScnA /1234/ABCD//
ScnA /1234/No–Read// ScnB /ABDC/No–Read//
ScnA /1234/No-Read//
ScnA /1234/No–Read// ScnB /1234/No–Read//
ScnA/1234/ABCD//
ScnA /1234/ABCD// ScnB/No-Read/No-Read//
Scanner B reads 1234
ScnA /1234/1234// Example #3
Independent Modes
Scanner B reads ABCD
ScnA /1234/ABCD//
Example #2
Coordinated 2 Mode
Scanner A reads ABCD
In this example the field delimiter is the “ /”, source identifiers are ScnA and ScnB for scanner A and B respectively, and the default no-read message is “No-Read”.
Publication 2755-833
Page 99
Configuration: Scanner Control, Primary Match Table, Discrete I/O
7–11
Trigger Timeout Field Type Options Edit 10 through 9999 or 0
Determines the length of time (in milliseconds) the Scanner B laser remains on after receiving a start trigger. The trigger timeout determines a no-read condition for Scanner B. The default is 0, which disables the timer. To set the trigger timeout, enter a number between 10 and 9999.➀ The timer has an accuracy of ± 5 milliseconds. Select a value that allows enough time for the decoder to read an entire package or a no-read will occur. When Scanner B is triggered, the timer starts. If a package is not processed successfully within the elapsed time Symbols/Package setting is not satisfied), a no-read occurs. Note: The Trigger Timeout acts like the No-Read Timer if the Scanning Mode is independent; it is not used if the Scanning Mode is set to coordinated.
Package Detect Input Parameters These parameters control the package detect input for Scanner A and B. 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.
Package Detect Input A Filter Field Type Options Select
Yes No
Enables or disables the debounce filter for the package detect signal on Scanner A. The default is No which disables the filter. When disabled, the decoder recognizes any signal greater than 1 millisecond as a start trigger.
➀ ATTENTION: Set output durations in multiples of 5 milliseconds. Actual output will have a worst-case precision of +0 to –5 milliseconds, varying with the timing of the output. Durations that are not set in multiples of 5 milliseconds will be rounded up to the nearest multiple of 5 and function within the same +0 to –5 millisecond precision. For example, a setting of 25 milliseconds will result in a duration of from 20 to 25 milliseconds. A setting of 23 milliseconds will result in the same duration range.
Publication 2755-833
Page 100
7–12
Configuration: Scanner Control, Primary Match Table, Discrete I/O
If the filter is enabled, the decoder starts a timer whenever it senses a package detect signal longer than 1 millisecond. This timer delays the decoder’s reaction to the package detect for between 10 and 15 milliseconds to allow any “bounce” in the signal level to settle. If the package detect signal is still present when the timer expires, the decoder will begin to process the package. Package detect signals shorter than 10 milliseconds will be ignored by the decoder when the filter is used. Because of timer resolution, package detects between 10 and 15 milliseconds may be ignored. The filter likewise reacts to the loss of the package detect signal. When the signal is lost for a minimum of 1 millisecond, the filter will maintain the trigger for 10 to 15 milliseconds. The resultant trigger period length will be equal to the package detect period milliseconds. Note: This parameter also applies to Scanner B when operating in coordinated mode. In coordinated mode, Scanner A and B are triggered by the same package detect signal (Package Detect Input A Filter and Package Input A Sense). Package Detect Input A Sense Field Type Options Select
Lo = Package Hi = Package
Determines whether a package on Scanner Port A is detected when the voltage at the package detect input is high or low. The default is LO=Package. Note: This parameter applies to Scanner B when operating in coordinated mode. In coordinated mode, Scanner A and B are triggered by the same package detect signal (Package Detect Input A Filter and Package Input A Sense). Package Detect Input B Filter Field Type Options Select
Yes No
Enables or disables the debounce filter for the package detect signal on Scanner B. The default is No which disables the filter. When disabled, the decoder recognizes any signal greater than 1 millisecond as a start trigger.
Publication 2755-833
Page 101
Configuration: Scanner Control, Primary Match Table, Discrete I/O
7–13
If the filter is enabled, the decoder starts a timer whenever it senses a package detect signal longer than 1 millisecond. This timer delays the decoder’s reaction to the package detect for between 10 and 15 milliseconds to allow any “bounce” in the signal level to settle. If the package detect signal is still present when the timer expires, the decoder will begin to process the package. Package detect signals shorter than 10 milliseconds will be ignored by the decoder when the filter is used. Because of timer resolution, package detects between 10 and 15 milliseconds may be ignored. The filter likewise reacts to the loss of the package detect signal. When the signal is lost for a minimum of 1 millisecond, the filter will maintain the trigger for 10 to 15 milliseconds. The resultant trigger period length will be equal to the package detect period milliseconds. Note: This parameter applies only when Scanner B is operating in independent mode. (See Scanning Mode under Scanner B Control.) Package Detect Input B Sense Field Type Options Select
Lo = Package Hi = Package
Determines whether a package on Scanner B is detected when the voltage at the package detect input is high or low. The default is LO=Package. Note: This parameter applies only to Scanner B and only when Scanner B is operating in an independent mode. (See Scanning Mode under Scanner B Control.)
Primary Match Table Parameters These parameters define match code entries in the primary match code table. You can define up to eight entries here (and another 128 entries in the extended match code table described later). Each table entry has two parameters:
• symbology of match code string • match code string 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.
Publication 2755-833
Page 102
7–14
Configuration: Scanner Control, Primary Match Table, Discrete I/O
Symbology (1 - 8) 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 (1–8). You can select any one of the symbologies for each primary match code string. Note: Any is the default symbology for all entries in the match code tables. Match Code String (1 - 8) Field Type Options Edit Text
0 to 32 characters Blank
Defines the characters for a specified match code string (1 - 8). The default is nothing (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 Primary and 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 primary match code table, and as a metacharacter in the Host Message Replacement Rules. (See Chapter 10.)
Publication 2755-833
Page 103
Configuration: Scanner Control, Primary Match Table, Discrete I/O
7–15
Discrete I/O Parameters These parameters define conditions that control the discrete outputs. Each output is defined by four parameters:
• • • • • normal state of an output (O=opened or C=closed) source of the event (Scanner A or B) condition that activates an output duration of pulsed output send Host Message parameter
The discrete outputs can be controlled locally via the configuration screens or remotely using host commands. The discrete I/O system can:
• indicate the success or failure of the decoder to read bar code data • • • • • from a package indicate the results of a compare operation between decoded bar code data and match code data provide external control of the outputs using host commands indicate a buffer full condition (no data lost) indicate a buffer overflow condition load bar code data into the match code table using an external switch along with an input module
!
ATTENTION: When controlling outputs locally using configuration screens, suspend host communications to prevent outputs from unintentionally changing state.
Each discrete I/O parameter is defined below. The options for each parameter are shown, with the default setting in bold letters. Output State Field Type Options Select
O = Normally Open C = Normally Closed
Defines the normal state of each discrete output (or input). The default is O=Normally Opened. To change the state of the output to C=Normally Closed, select C.
Publication 2755-833
Page 104
7–16
Configuration: Scanner Control, Primary Match Table, Discrete I/O
!
ATTENTION: Outputs are initially open (off) when power is first applied to the decoder, and again when the decoder is powered off.
If a fault condition is detected, the outputs open and the CPU ACTIVE indicator light turns off. Source Field Type Options Select
A (Default for DS) B A|B = A or B (Default for DD) A–B = Precedent determined
Specifies from which scanner(s) an event can originate and meet the primary 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. Output Condition Field Type Options None Read Package No–Read Package Match-Complete Match-Entry Select Read and No-Match No-Read or No-Match Auto Load at Startup Buffer Full Buffer Overflow Auto Load (INPUT)① ① Applies only to module position 8.
Defines the condition that will activate a specified output. The default is None, which means a condition is not defined for the output. The available output conditions appear below. Select the output condition appropriate for your application.
Publication 2755-833
Page 105
Configuration: Scanner Control, Primary Match Table, Discrete I/O
None
7–17
The factory default setting for each output is None, which means an output condition is not defined. You can hold an output open or closed by setting the condition to None and then changing the Output State to normally open or normally closed.
Match-Entry Activates the specified output when bar code data matches the string to the left of the output. Used for verification of specific label information. The corresponding output counter increments each time a match entry occurs. In the following example, Output 1 (normally open contact) will activate (close) for 100 milliseconds if decoded data matches 123456.
Match-Complete Activates the specified output when bar code data from a valid package matches the number of entries in the primary match code table as set by the Match Complete parameter. The match-complete condition is used to verify that multiple symbols with different information appear on the same package. Read (Package) Activates the specified output when bar code data results in a valid package. The read (package) condition is used to verify the presence of a good label. The corresponding output counter increments once for each package read. No-Read (Package) Activates the specified output when a no-read occurs for the last processed package. The no-read condition is used to detect missing or damaged labels. A no-read occurs when end of trigger occurs without a valid package The corresponding output counter increments once for each package not read. NOTE: The no-read condition does not exist in continuous mode.
Publication 2755-833
Page 106
7–18
Configuration: Scanner Control, Primary Match Table, Discrete I/O
Read and No-Match Activates the specified output when a valid read occurs but the bar code data does not match any entry in the primary match code table. The read and no-match condition is used to detect when incorrect labels have been used. The corresponding output counter increments each time a read and no-match condition occurs. No-Read or No-Match Activates the specified output when either a no-read or a no-match condition occurs. (The bar code data does not match any entry in the primary match code table.) Like the read and no-match condition, this condition is used to detect incorrect or missing labels. The corresponding output counter increments each time a no-read or no-match condition occurs. Buffer Full
The specified output signals that the bar code data buffer is full and cannot process additional bar code data. The output turns off when the buffer full condition is cleared. This is not a pulsed output. The output will actuate whenever the Buffer Full condition exists, and turn off when Host Communications resume. Often, the decoder can decode data faster than the host can receive it. Use this condition as an indicator to control the package rate to keep pace with host transmissions. The corresponding output counter increments each time the buffer full condition occurs.
Buffer Overflow The specified output signals that bar code data has been lost because of a buffer overflow condition. The output turns off when the buffer overflow condition is cleared. The buffer overflow condition may occur:
• if host communications is suspended • if an XOFF is sent to the decoder via either the Host or AUX Port The performance indicator displays 999 until the buffer overflow condition is cleared.
Publication 2755-833