The text of a manual · part 13 of 23
MS-820 Industrial Bar Code Scanner User's Manual: MS-820 Industrial Bar Code Scanner User's Manual, pages 121 to 130
Pages 121 to 130 of 222, from MS-820 Industrial Bar Code Scanner User's Manual
The original document is the PDF (4.3 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-820
Page 121
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 .)
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 Matchcode 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-820 Industrial Bar Code Scanner User’s Manual
7-15
7–Matchcode
Definition:
Page 122
7–Matchcode
New Master Pin
7-16
MS-820 Industrial Bar Code Scanner User’s Manual
Page 123
Chapter
Outputs
8 Chapter Contents
This section explains the commands for controlling data and beeper outputs. Note: The characters NULL <> and , can only be entered through embedded menus, not through ESP or serial commands.
MS-820 Industrial Bar Code Scanner User’s Manual
8-1
8–Outputs
Output Data by Embedded Menu ............................................................8-3 Bar Code Output ......................................................................................8-5 Partial Output ...........................................................................................8-8 Noread Message .....................................................................................8-9 Bad Bar Code Message.........................................................................8-10 No Bar Code Message ..........................................................................8-11 Beeper Status ........................................................................................8-12 Serial Verification ...................................................................................8-13 Operation Command Output..................................................................8-15
Page 124
Outputs by Serial Command Command Title Noread Message Bar Code Output Laser Serial Verification Beeper Partial Output No Bar Code Bad Bar Code Operation Command Output cmds Format Kk <Kkstatus,message> Kla <Klstatus,when to output> <KClaser on/off status,laser framing status,laser off KC percentage,laser on percentage> <KSserial command echo status,serial command beep KS status,control/hex output> Ku <Kustatus> KY <KYstatus,start postion,length> KN <KNstatus,message> K’ <K’status,message> K/ <K/status> a. Lower case L
8–Outputs
Outputs by Embedded Menu For information on accessing the embedded menus, see “Embedded Menus” on page A-19. From the Main menu, scroll down through the options and select the following screen:
8-2
MS-820 Industrial Bar Code Scanner User’s Manual
Page 125
Chapter 8 Outputs
Output Data by ESP Menu
Click this button to bring up the Outputs menu.
MS-820 Industrial Bar Code Scanner User’s Manual
8–Outputs
To change a setting, double-click the setting and use your curser to scroll through the options.
8-3
Page 126
Message Output The following flow chart explains the logic paths taken for Noread, Bad Bar Code and No Bar Code outputs.
Note: When Transition Counter Status is enabled, the scanner will test for a minimum number of bar and space transitions. If that minimum threshold is met, a Bad Bar Code message is sent; otherwise a No Bar Code message is sent.
Start of read cycle
Scans until end of read cycle
Does the scanner decode the symbol?
Yes
No
8–Outputs
Is Transition Sample Status enabled?
No
Scanner send Noread message (if enabled)
Yes
Scanner sends the Bad Bar Code message (if enabled)
Yes
Is Transition Sample Threshold met? No
Scanner Scanner outputs sendsthe the No NoBar Label Code message message (if(ifenabled) enabled) End of read cycle
Figure 8-1 Output Message Flow
8-4
MS-820 Industrial Bar Code Scanner User’s Manual
Page 127
Chapter 8 Outputs
Noread Message Definition: Usage:
When enabled, and if no bar code label has been decoded before timeout or the end of the read cycle, the noread message will be transmitted to the host. Used in applications where the host needs serial verification that a label has not been read and especially useful in new print verification.
Noread Status Serial Cmd: Default: Options:
<Kkstatus,message> Enabled 0 = Disabled 1 = Enabled
Noread Message Definition:
8–Outputs
Serial Cmd: Default: Options:
Any combination of ASCII characters can be defined as the noread message. <Kkstatus,message> NOREAD 0 to 7 ASCII characters.
Note: Noread Message will only be transmitted if Bar Code Output is set to Match, Mismatch or Good Read. Noread Message can be set to any ASCII characters except NULL <> and , (comma).
MS-820 Industrial Bar Code Scanner User’s Manual
8-5
Page 128
Bad Bar Code Message
Bad Bar Code Message Definition:
Usage:
When enabled, a message is sent to the host when a label is detected but not decoded. See “Transition Counter Threshold” on page 6-10. The Bad Bar Code output is tied to the transition counter. If during a read cycle no symbol is decoded and the required setting for the Transition Sample Threshold is met, a Bad Bar Code message will be sent to the host. See “Output Message Flow” on page 8-4. Useful in verifying the presence of a bar code label that has not been decoded.
Bad Bar Code Status Serial Cmd: Default: Options:
<K’status,message> Disabled 0 = Disabled 1 = Enabled
8–Outputs
Bad Bar Code Message Serial Cmd: Default: Options:
<K’status,message> BADCODE Up to seven ASCII characters (except NUL) The Bad Bar Code output is tied to the transition counter. If during a read cycle no symbol is decoded and the required setting for the Transition Sample Threshold is met, a Bad Bar Code message will be sent to the host.
8-6
MS-820 Industrial Bar Code Scanner User’s Manual
Page 129
Chapter 8 Outputs
No Bar Code Message Definition:
Usage:
When enabled, sends a message to the host whenever an object is detected but no bar code label is detected. See “Transition Counter Threshold” on page 6-10. The No Bar Code output is tied to the transition counter. If during a read cycle no symbol is decoded and the required setting for the Transition Sample Threshold is NOT met, a No Bar Code message will be sent to the host. See “Output Message Flow” on page 8-4. Useful in determining if an object has an attached bar code label.
No Bar Code Status Serial Cmd: Default: Options:
<KNstatus,message> Disabled 0 = Disabled 1 = Enabled
No Bar Code Message <KNstatus,message> NOLABLE Up to seven ASCII characters (except NUL)
MS-820 Industrial Bar Code Scanner User’s Manual
8–Outputs
Serial Cmd: Default: Options:
8-7
Page 130
Bar Code Output
Bar Code Output Note: Bar Code Output relates to data and should not to be confused with Outputs 1, 2, and 3 listed in the Outputs Parameters which describe output states and functions.
Bar Code Output Status Definition:
8–Outputs
Usage: Serial Cmd: Default: Options:
Defines the conditions under which decoded bar code labels are transmitted to the host. Useful when the host needs bar code data only under certain conditions. <Kloutput status,when to output> Good Read 0 = Disabled 1 = Match 2 = Mismatch 3 = Good Read
Note: Bar Code Output Status if set to Match or Mismatch will not take effect unless Matchcode Type is enabled and a master label is loaded into memory.
Disabled Definition: Usage:
When set to Disabled, the scanner will not transmit any data that is generated during a read cycle (bar codes, noreads, etc.). It is useful when an application only needs to use the discrete outputs and can allow the scanner to do the decision-making. When Disabled, the host does not need the bar code data and the communication lines are used only for setup and status checks.
Match Definition:
Usage:
8-8
When set to Match, the scanner transmits bar code data whenever a bar code matches a master label. However, if Matchcode Type is Disabled, it transmits on any good read. Note: A noread can still be transmitted if Enabled. Match is used in an application that requires specific bar code information and needs to sort, route or verify based on matching the specific bar code data.
MS-820 Industrial Bar Code Scanner User’s Manual