The text of a manual · part 16 of 31
MS-890 Industrial Automation Scanner User's Manual, pages 151 to 160
Pages 151 to 160 of 308
The original document is the PDF (3.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 MS-890
Page 151
I/O Parameters
Configurable Output 3 Note: Output 3 has the same parameters and default settings as Output 1 and Output 2. Serial Cmd:
<K812,output on,output state,pulse width,output mode>
Trend Analysis Output 3 Note: Output On under Output 3 Parameters must be set to Trend Analysis for this output to function. Serial Cmd:
<K782,trend analysis mode,trigger evaluation period,number to output on,decodes/trigger threshold>
Diagnostics Output 3 Note: Output On under Output 3 Parameters must be set to Diagnostic Warning for this output to function. Serial Cmd:
<K792,over temperature,service threshold,unused,laser current high,laser current low,low temperature>
MS-890 Industrial Automation Scanner User’s Manual
6-29
Page 152
Database Identifier Output
Database Identifier Output Usage: Serial Cmd: Default: Options:
Useful in keeping track of which database entries read which symbols. <K759,status,separator> 0 0 = Disabled 1 = Enabled
Output Status Disabled When this command is disabled, no database identifier information will be output.
Enabled When this command is enabled, the scanner will append a two-digit number and the characters “DB” to the data output following the separator for each symbol decoded using Configuration Database. For example, if the separator is an underscore character and the second database entry reads a symbol encoded with “data capture” during the read cycle, the symbol data output will be “data capture_DB02”. If the database is not active, no identifiers will be attached to output.
Separator Usage: Serial Cmd: Default: Options:
6-30
The separator character separates the symbol data from the database identifier. <K759,status,separator> <space> Any ASCII character
MS-890 Industrial Automation Scanner User’s Manual
Page 153
I/O Parameters
Quality Output Definition:
Allows the host to track the number of good reads per trigger by appending a five digit numeric field to the end of symbol data. When enabled, symbol data is followed by a separator, followed by the five digits in the form of 00000. For example, a certain symbol that has been averaging 00100 decodes per read cycle suddenly drops to 00012, this would be a good indication that a problem has arisen even though good reads are still occurring.
Usage:
Host system can monitor scanning performance (printing process, scanning environment changes, etc.) by setting thresholds in their processing or displaying the outputs for visual verification.
Quality Output Separator Serial Cmd:
<K704,quality output separator,decodes/trigger status,direction output>
Default:
, (comma)
Options: Any ASCII character Note: For all serial configuration commands, the following characters cannot be used: NUL, <, >, and , .
Decodes/Trigger Status Serial Cmd:
<K704,quality output separator,decodes/trigger status,direction output>
Default:
Disabled
Options:
0 = Disabled
1 = Enabled
Direction Output Serial Cmd:
<K704,quality output separator,decodes/trigger status,direction output>
Default:
Disabled
Options:
0 = Disabled
1 = Enabled
MS-890 Industrial Automation Scanner User’s Manual
6-31
Page 154
Quality Output
6-32
MS-890 Industrial Automation Scanner User’s Manual
Page 155
7 Matchcode Contents Matchcode by ESP ....................................................................................................................... 7-2 Matchcode Serial Commands ...................................................................................................... 7-2 Overview of Matchcode ................................................................................................................ 7-3 Using Master Symbols.................................................................................................................. 7-4 Matchcode Type ........................................................................................................................... 7-5 Sequence Step ........................................................................................................................... 7-10 New Master Pin .......................................................................................................................... 7-11 Match Replace............................................................................................................................ 7-12 Mismatch Replace ...................................................................................................................... 7-13
This section explains the Matchcode output functions and setup. Note: The characters NUL, <, >, and , can only be entered through embedded menus, not through ESP or serial commands.
MS-890 Industrial Automation Scanner User’s Manual
7-1
Page 156
Matchcode by ESP
Matchcode by ESP
Click this button to bring up the Matchcode menu.
To change a setting, double-click the setting and use your cursor to scroll through the options.
To open nested options, single-click the +.
Matchcode Serial Commands Command Title Matchcode Type Master Symbol Database Size New Master Pin Configuration Database Sequence Step Enter/Delete Master Symbol Data Request Master Symbol Data Match Replacement Message Mismatch Replacement Message
7-2
Command Format <K223,matchcode type,sequential matching,match start position, match length,wild card character,sequence on No Read,sequence on mismatch> <K224,number of master symbols> <K225,status> <K227,database index,focus position,gain,tracking,AGC mode,raster top,raster bottom,raster speed,laser framing status,laser on position, laser off position,laser power,background color> <K228,sequence step> <K231,master symbol number,master symbol data [no data will delete current master symbol data]> <K231,?>[for all] or <K231,master symbol number?> <K735,status,match replacement message> <K736,status,mismatch replacement message>
MS-890 Industrial Automation Scanner User’s Manual
Page 157
Matchcode
Overview of Matchcode Usage:
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.
Definition:
With Matchcode you can store master symbol data in the scanner’s memory, compare this data against the scanned symbols, 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.
MS-890 Industrial Automation Scanner User’s Manual
7-3
Page 158
Using Master Symbols
Using Master Symbols 1. Set Triggering Mode to External or Serial (see Trigger on page 4-5). 2. Set Matchcode Type to an option that fits your application (see Matchcode Type on page 7-5). 3. Define the output you want with your matchcode setup: a) Data output (Symbol Data Output on page 6-4). b) Discrete output (see Configurable Output 1 on page 6-20). 4. Select the number of master symbols you want to create. If more than one, send a <K224,number of master symbols> command (see Master Database on page 12-11). 5. Enter master symbol data in one of the following ways: a) Use ESP to type in master symbol data directly into the Utilities menu. b) Send a serial command with symbol data in the form of <Mmaster symbol#, data> (or <) data)> for single master symbol only). c) Send a <Gmaster symbol number> command to scan the next symbol as the master symbol. d) Enable the New Master Pin command and activate a discrete input to store the next symbol scanned as the master symbol (see New Master Pin on page 7-11).
7-4
MS-890 Industrial Automation Scanner User’s Manual
Page 159
Matchcode
Matchcode Type Note: When Matchcode is set to Enabled, Wild Card or Sequential, Number of Symbols will default back to 1 (if set to any number greater than 1). Definition:
Allows the user to choose the way that master symbols will be compared with subsequently scanned symbols. Note: First set Triggering Mode to External or Serial.
Serial Cmd:
<K223,matchcode type,sequential matching,match start position, match length,wild card character,sequence on No Read,sequence on mismatch>
Default:
Disabled
Options:
0 = Disabled 1 = Enabled 2 = Sequential 3 = Wild Card
Disabled:
Has no effect on operations.
Enabled:
Instructs the scanner to compare symbols or portions of symbols with the master symbol.
Sequential Matching:
Instructs the scanner to sequence after each match (numeric only) and compare symbols or portions of symbols for sequential numbers. Note: If Matchcode Type is set to Sequential, Number of Symbols will default back to 1 (if set to any number greater than 1).
Wild Card:
Allows the user to enter user defined wild card characters in the master symbol.
Sequential Matching Usage:
Used in tracking product serial numbers that increment or decrement sequentially.
Definition:
With Sequential enabled under Matchcode Type, Sequential Matching determines if a count is in ascending (incremental) or descending (decremental) order.
Serial Cmd:
<K223,matchcode type,sequential matching,match start position, match length,wild card character,sequence on No Read,sequence on mismatch>
Default:
Increment
Options:
0 = Increment
1 = Decrement
MS-890 Industrial Automation Scanner User’s Manual
7-5
Page 160
Matchcode Type
Match Start Position Usage:
Match Start Position is useful in defining specific portions of a symbol for comparisons. For example, if a symbol contains a part number, manufacturing date, and lot code info but the user is only interested in the part number information, Match Start Position can be set to only sort on the part number and ignore the rest of the characters.
Definition:
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.
Function:
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.
Serial Cmd:
<K223,matchcode type,sequential matching,match start position, match length,wild card character,sequence on No Read,sequence on mismatch>
Default:
0
Options:
0 to maximum length allowed for master symbol Note: Match Start Position must be set to 1 or greater to enable this feature. A 0 setting will disable this feature.
Match Length Definition:
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.
Usage:
For example, if Match Length is set to 6 in a 10 character symbol, and Match Start Position is set for 2, only the 2nd through 7th characters (from left to right) will be compared.
Serial Cmd:
<K223,matchcode type,sequential matching,match start position, match length,wild card character,sequence on No Read,sequence on mismatch>
Default:
1
Options:
1 to 2710
7-6
MS-890 Industrial Automation Scanner User’s Manual