The text of a manual · part 12 of 23
MS-850 Raster Scanner User's Manual, pages 111 to 120
Pages 111 to 120 of 222
The original document is the PDF (4.2 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-850
Page 111
Chapter 7 Matchcode
Match Length Defines the length of the character string that will be compared with that of the master label 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:
<Knmatchcode type,sequential matching,match start position, match length,wild card character,sequence on noread,sequence on mismatch>
Default:
1
Options:
1 to
Wild Card Character Definition:
Wild Card Character allows a user to define a wild card character as part of the master label.
Usage:
For example, with Wild Card Character defined as the default asterisk, defining CR*34 as the master label will result in matches for CR134, CR234, but not CR2345. Entering the wild card at the end of the master label as in CR* will result in matches for variable label lengths such as CR1, CR23, CR358, etc.
Serial Cmd:
<Kn matchcode type,sequential matching,match start position, match length,wild card character,sequence on noread,sequence on mismatch>
Default:
* (asterisk)
Options:
Any valid ASCII character
MS-850 Raster Scanner User’s Manual
7-7
7–Matchcode
Definition:
Page 112
Matchcode Type
7–Matchcode
Sequence On Noread Definition:
When Sequence On Noread is Enabled and Matchcode is set to Sequential, the scanner sequences the master label on every match or noread. When disabled, it does not sequence on a noread.
Usage:
Sequence On Noread is useful when the scanner needs to stay in sequence even if no decode occurs.
Serial Cmd:
<Knmatchcode type,sequential matching,match start position, match length,wild card character,sequence on noread,sequence on mismatch>
Default:
Enabled
Options:
0 = Disabled
1 = Enabled
As an example of Sequence on Noread Enabled, consider the following series of decodes: Master label
Decoded label
Master label after decode
001 002 003 004 005 006 007
001 002 noread 004 noread noread 007
002 003 004 (sequenced on noread) 005 006 (sequenced on noread) 007 (sequenced on noread) 008
As an example of Sequence on Noread Disabled, consider the following series of decodes:
7-8
Master label
Decoded label
Master label after decode
001 002 003 003 004 004 004
001 002 noread 003 noread noread 004
002 003 003 (not sequenced) 004 004 (not sequenced) 004 (not sequenced) 005
MS-850 Raster Scanner User’s Manual
Page 113
Chapter 7 Matchcode
Sequence On Mismatch Note: Matchcode must be set to Sequential for this command to function. When set to Enabled, the master label sequences on every decode, match or mismatch. When set to Disabled, the master label will not sequence whenever consecutive mismatches occur.
Usage:
Enable this parameter if every trigger event should have a decode and more than one consecutive mismatch may occur. Disable this parameter if every trigger event should have a decode but no more than one consecutive mismatch may occur.
Serial Cmd:
<Kn matchcode type,sequential matching,match start position, match length,wild card character,sequence on noread,sequence on mismatch>
Default:
Disabled
Options:
0 = Disabled,
1 = Enabled
The scanner will sequence the master to one more/less than the decoded symbol. As an example of Sequence On Mismatch Enabled, consider the following decodes: Master label
Decoded label
001 002 003 004 005 006 007
001 002 abc 004 def ghi 007
Master label after decode 002 003 004 (sequenced on mismatch) 005 006 (sequenced on mismatch) 007 (sequenced on mismatch) 008
As an example of Sequence On Mismatch Disabled, consider the following decodes: Master label
Decoded label
001 002 003 004 005 006 006
001 002 abc 004 def ghi 006
Master label after decode 002 003 004 (sequenced because of previous match) 005 006 (sequenced because of previous match) 006 (not sequenced because of previous mismatch) 007
MS-850 Raster Scanner User’s Manual
7-9
7–Matchcode
Definition:
Page 114
Master Label Database
Master Label Database Important: Master Label Database is used only for comparing entire bar codes, when Sequential and Wild Card are NOT enabled, and Start Position is equal to 0.
7–Matchcode
Master Label Database Overview Definition:
Allows you to define up to 10 master labels as the master label database, which can be entered by keyboard, scanned-in, displayed, or deleted by serial or ESP commands.
Usage:
Useful where more than one master label is required, as in a Multilabel setup, for matching and other matchcode operations.
Master Label Database Size Definition:
Master Label Data Base Size allows you to select 1 to 10 master labels for the master label database.
ESP:
Click the Utilities button to access the master label:
First set the number of master labels you want to include by doubleclicking Database Size and entering the number.
Double-click here and set the master label database size. Serial Cmd:
<Mmaster label data base size> Note: You must follow this command with a save command <A> or <Z>.
Default:
1
Options:
1 to 10
7-10
MS-850 Raster Scanner User’s Manual
Page 115
Chapter 7 Matchcode
Enter Master Label Data Definition:
Allows you to enter master label data for a specific master label index number (1 to 10), provided the index number is not larger than the number of labels enabled by the Master Label Database Size (see page 7-10). For example, if Master Label Database Size is set to 2, you will not be able to enter data for labels 3 through 10.
ESP:
1. Open the Utilities menu.
7–Matchcode
2. Set the number of master labels you want to create in Database Size. 3. Double-click on each label number you want to setup and copy or type in your data. 4. With your cursor in the label row you have just edited, right-click and choose Send or Send Save.
Serial Cmd:
<Mmaster label number,master label data>
Default:
1, blank
Options:
1 to 10, data (any combination of ASCII text up to the maximum indicated in “Maximum Characters for Master Label Database” on page 7-12). For example, to enter data for master label 9, after making certain that master label database size is enabled for 9 or more labels (see “Master Label Database Size” on page 7-10), send <M9,data>.
Caution: Since the total number of characters available for the master label data base is2045, changes to the Master Label Data Base Size will re-allocate the number of characters available for each master label and could cause existing master labels to be deleted (except master label #1 unless it also exceeds the size limitation). The table below specifies the maximum number of characters available to each label according to the number of master labels defined, from 1 through 10. See “Master Label Database Size” on page 7-10. MS-850 Raster Scanner User’s Manual
7-11
Page 116
Master Label Database
7–Matchcode
Table 7-1 Maximum Characters for Master Label Database Master Label Number #1 #2 #3 #4 #5 #6 #7 #8 #9 #10
Maximum Characters 2045 1022 681 510 408 340 291 254 226 203
Request Master Label DataRequest All Master Label Data Serial Cmd:
<Mmaster label number?> This will display data in the master label number you indicated. For example, to request master label #5, enter <M5?>. The scanner transmits master label #5 data in brackets in the following format: <KM5/ .....>. If no master label data available, the output will be: <KM5,>.
ESP:
Access the same as “Enter Master Label Data” on page 7-11.
Serial Cmd:
<M?> This command will return master label data for all labels enabled (up to 10).
ESP:
Access the same as “Enter Master Label Data” on page 7-11.
7-12
MS-850 Raster Scanner User’s Manual
Page 117
Chapter 7 Matchcode
Delete Master Label Data Definition:
You can directly delete the master label data by serial command or ESP.
ESP:
1. Open the Utilities menu. 2. Select a label # under Edit Labels in Master Label Database. 3. Double-click on each label number you want to delete. 4. Delete text in the text block. 5. Change Database Size accordingly. <Mmaster label number,> To delete a master label, enter the database number and a comma, but leave the data field empty. For example, to delete master label #5, send the following <M5,>. The command is entered with a blank master label data field which tells the scanner to delete the selected master label from the database.
Default:
(no data)
Options:
Any combination of ASCII text up to the maximum indicated in “Maximum Characters for Master Label Database” on page 7-12.
MS-850 Raster Scanner User’s Manual
7-13
7–Matchcode
Serial Cmd:
Page 118
Master Label Database
7–Matchcode
Store Next Label Scanned as Master Label1 Definition:
After you’ve set the size in the database (“Master Label Database Size” on page 7-10), you can order the scanner to scan-in the next label as the master label for any given master label number.
Serial Cmd:
<G master label number> To store the next label scanned as master label #1, send: <G> or <G1>. To store next label scanned as the master label for any other master label database number, send: <G master label number [1-10]>. For example, <G5> will cause the next label scanned to be entered as master label #5.
Default:
(no data)
1. While not strictly a configuration command, <G> is included here because it is so closely related to other master label commands.
7-14
MS-850 Raster Scanner User’s Manual
Page 119
Chapter 7 Matchcode
New Master Pin After New Master Pin is enabled, a pulse can be received on the new master pin which will cause the scanner to record the next decoded bar code label(s) as the new master label(s). It is important to note that the enabling New Master Pin does not in itself cause a master label to be recorded. The master pin must then be activated momentarily (for a minimum of 10 ms) before a master label can be scanned into memory. (See Table A-5, “MS-850 Host Connector, 25-pin,” on page A-6.)
Usage:
Some applications require the line worker to change the master label. This can be done by installing a switch at the location of the scanner. It is very common to have a keyed switch so that accidental switching does not occur.
ESP:
In the Utilities menu, select New Master Pin, double-click on Disabled and select Enabled.
Serial Cmd:
<Kzstatus>
Default:
Disabled
Options:
0 = Disabled
1 = Enabled
After New Master Pin has been enabled and the pin activated, decodes will be saved in the master database beginning with master label #1. If the scanner is configured for a multilabel read cycle (Number of Labels is greater than 1), the remaining decodes will be saved in each consecutive master label location. For example, if Number of Labels is set to 3 and New Master Pin is then activated, at the end of the next read cycle, the decoded bar code labels will be saved as master labels 1, 2, and 3.
MS-850 Raster Scanner User’s Manual
7-15
7–Matchcode
Definition:
Page 120
7–Matchcode
New Master Pin
7-16
MS-850 Raster Scanner User’s Manual