The text of a manual · part 24 of 43
QX-870 Industrial Raster Scanner User Manual, pages 231 to 240
Pages 231 to 240 of 426
The original document is the PDF (7.0 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 Microscan QX-870
Page 231
Scanner Parameters
Quality Output
Quality Output Separator The separator character separates quality output data from symbol data.
Decodes per Trigger Status When Enabled, the scanner enters a state where it processes frames as configured until the end of a read cycle, with or without a successful symbol decode. When the read cycle ends, the scanner outputs any decoded symbol data along with the decodes per trigger count.
Decode Direction Output When Enabled, compares the symbol decode direction to the direction specified in Output Filter Configuration.
QX-870 Industrial Raster Scanner User Manual
5-165
Page 232
I/O Parameters
Symbol Position Output
Raster Status Scan Status When Enabled, the location of the symbol within the scan line is appended to the symbol data output. The scan position is formatted with a leading identifier of “SP” plus two zero-padded three digit numbers (corresponding to the first and last bar of the symbol for most symbologies), separated by a colon. The scan position values correspond to the configurable Laser On/Off position values in the Laser Setup command. Example: Assume a symbol with the data “HELLO” is read when its first bar is at 25% of the scan width and its last bar is at 85% of the scan width. The data output would be HELLO SP025:085, assuming that no other outputs or formatting were enabled.
Separator This character separates all other symbol information from the Scan Status data field.
5-166
QX-870 Industrial Raster Scanner User Manual
Page 233
Scanner Parameters
Matchcode Click the App Mode button and then the Parameters button to display the tree control tabs. Then click the Matchcode tab to display the Matchcode tree control.
The * indicates that the setting is the default.
To open nested options, single-click the +.
To change a setting, double-click the setting and use the cursor to scroll through the options.
Note: Matchcode settings can also be sent to the scanner from ESP’s Terminal using Microscan’s K command format. Refer to the Matchcode section of Appendix E.
QX-870 Industrial Raster Scanner User Manual
5-167
Page 234
Matchcode
Overview of Matchcode Matchcode allows the user to store master symbol data in the scanner’s memory, compare that data against other symbol data, and define how symbol data and/or discrete signal output will be directed. A master symbol database can be set up for up to 10 master symbols. Note: Matchcode will function with multiple symbols; however, if Matchcode Type is set to Sequential or if Trigger Mode is set to Continuous Read 1 Output, the scanner will behave as if Number of Symbols were set to 1, regardless of the user-defined configuration. Matchcode is used in applications to sort, route, or verify data based on matching the specific symbol in a variety of ways as defined in this section. For example, a manufacturer might sort a product based on dates that are embedded in the symbol.
Steps for Entering and Using Master Symbols 1. Set Trigger Mode to External Level, External Edge, or Serial Data. 2. Choose the method of symbol comparison that fits the application. 3. Define the type of output required with Matchcode setup: a. Symbol data output b. Discrete output 4. Select the number of master symbols required. 5. Decide how the master symbol(s) will be entered: a. Use ESP to type master symbol data directly. b. Send a serial command with symbol data in the form of <K231,master symbol#, data>. c. Send a <G> (Read Next Symbol as Master Symbol) command. d. Enable the New Master Pin command and activate the discrete input to store the next symbol read as the master symbol.
5-168
QX-870 Industrial Raster Scanner User Manual
Page 235
Scanner Parameters
Matchcode Type Allows the user to choose the way that master symbols will be compared with subsequently read symbols. Note: First set Trigger Mode to External Level, External Edge, or Serial Data.
Sequential Instructs the scanner to compare symbols or portions of symbols with the master symbol. Instructs the scanner to sequence after each match (numeric only) and compare symbols or portions of symbols for sequential numbers.
Wild Card Allows the user to enter user-defined wild card characters in the master symbol. Note: If Matchcode Type is set to Sequential, the scanner will behave as if Number of Symbols were set to 1, regardless of the user-defined configuration.
Sequential Matching Useful in tracking product serial numbers that increment or decrement sequentially. With Sequential enabled, Sequential Matching determines if a count is in ascending (incremental) or descending (decremental) order.
QX-870 Industrial Raster Scanner User Manual
5-169
Page 236
Matchcode
Match Start Position Match Start Position is useful in defining specific portions of a symbol for comparison. For example, if a symbol contains a part number, manufacturing date, and lot code info, but only the part number information is needed, set the scanner to sort only the part number and to ignore the other characters. Match Start Position determines the portions of symbols that will be matched by defining the first character in the symbol (from left to right) that will be compared with those of the master symbol, when Matchcode Type is set to Enabled or Sequential. For example, if Match Start Position is set to 3, the first 2 characters read in the symbol will be ignored and only the 3rd and subsequent characters to the right will be compared, up to the number of characters specified by Match Length. Note: Match Start Position must be set to 1 or greater to enable this feature. A 0 setting will disable this feature.
Match Length Example: If Match Length is set to 6 in a 10-character symbol, and Match Start Position is set to 2, only the 2nd through 7th characters (from left to right) will be compared. Defines the length of the character string that will be compared with that of the master symbol when Match Start Position is set to 1 or greater. When Match Start Position is set to 0, no comparison will occur.
5-170
QX-870 Industrial Raster Scanner User Manual
Page 237
Scanner Parameters
Wild Card Wild Card allows you to define a wild card character as part of the master symbol. Entering a wild card sequence at the end of the master symbol, as in CR****, will result in matches for symbol lengths such as CR1, CR12, or CR123, but not for CR1234. The number of wild card characters entered must be at least one more than the total number of symbol data characters present. You can use as many wild card characters as required, even if the number of wild card characters exceeds the total number of symbol data characters. Wild cards can also be used as placeholders. For example, if you want to match the 3 in CR358, you must enter **3***.
QX-870 Industrial Raster Scanner User Manual
5-171
Page 238
Matchcode
Sequence on No Read Sequence on No Read is useful when the scanner needs to stay in sequence even if no decode occurs. When Sequence on No Read is Enabled and Matchcode Type is set to Sequential, the scanner sequences the master symbol on every match or No Read. When disabled, it does not sequence on a No Read.
Consider the following decodes as an example of Sequence on No Read Enabled: Master Symbol 001 002 003 004 005 006 007
Decoded Symbol 001 002 No Read 004 No Read No Read 007
Master Symbol after Decode 002 003 004 (sequence on No Read) 005 006 (sequence on No Read) 007 (sequence on No Read) 008
Consider the following decodes as an example of Sequence on No Read Disabled: Master Symbol 001 002 003 003 004 004 004
5-172
Decoded Symbol 001 002 No Read 003 No Read No Read 004
Master Symbol after Decode 002 003 003 (not sequenced) 004 004 (not sequenced) 004 (not sequenced) 005
QX-870 Industrial Raster Scanner User Manual
Page 239
Scanner Parameters
Sequence on Mismatch Note: Matchcode Type must be set to Sequential for this command to function. Enable this parameter if every trigger event should have a decode and more than one consecutive mismatch may occur. When set to Enabled, the master symbol sequences on every decode, match, or mismatch. Disable this parameter if every trigger event should have a decode but no more than one consecutive mismatch may occur. When set to Disabled, the master symbol will not sequence whenever consecutive mismatches occur. The scanner will sequence the master to one more or one less than the decoded symbol.
Consider the following decodes as an example of Sequence on Mismatch Enabled: Master Symbol 001 002 003 004 005 006 007
Decoded Symbol 001 002 abc 004 def ghi 007
Master Symbol after Decode 002 003 004 (sequence on mismatch) 005 006 (sequence on mismatch) 007 (sequence on mismatch) 008
Consider the following decodes as an example of Sequence on Mismatch Disabled: Master Symbol 001 002 003 004 005 006 006
Decoded Symbol 001 002 abc 004 def ghi 006
QX-870 Industrial Raster Scanner User Manual
Master Symbol after Decode 002 003 004 (sequenced because of previous match) 005 006 (sequenced because of previous match) 006 (not sequenced) 007
5-173
Page 240
Matchcode
Sequence Step When the master symbol is sequenced (incremented/decremented), Sequence Step defines the magnitude of change.
New Master Pin If Matchcode and New Master Pin are enabled and the new master pin is momentarily connected to ground (must be held low for a minimum of 10 ms), master symbol information will be loaded into the database based on the next read cycle that achieves a Good Read, starting with Index 1. The Master Database will be loaded with all symbols decoded in the read cycle as long as it does not exceed the Master Symbol Database Size parameter.
New Master Load Status The new master status responds with the number of the next master position to be loaded, where 0 represents “idle” or “no master to be loaded.” Example: If the user has the Master Symbol Database Size set to 1, and then either sends a <G> or toggles an active New Master Pin, the state will be 1, and prior to reading and effectively loading position 1, the response to <NEWM> would be <NEWM/1>. Once a symbol has been read and loaded, the status will be cleared: <NEWM/0>.
5-174
QX-870 Industrial Raster Scanner User Manual