The text of a manual · part 1 of 9
IS4120 ScanQuest Laser Scan Engine Programming Guide, pages 1 to 9
Pages 1 to 9 of 81
The original document is the PDF (241 KB). 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 Metrologic IS4120
Page 1
METROLOGIC INSTRUMENTS, INC. IS4120 ScanQuest™ Laser Scan Engine Programming Guide
MLPN 2343 Printed in USA March 1998
Page 2
Locations: USA Corporate Headquarters Metrologic Instruments, Inc. Blackwood, NJ 08012 Customer Service: 1-800-ID-METRO Tel: 609-228-8100 Fax: 609-228-6673
Europe Metrologic Instruments GmbH Munich, Germany Tel: 49-89-89018-0 Fax: 49-89-89019-200 ASIA Metrologic Asia (PTE) Ltd. Singapore 417818 Tel: 65-842-7155 Fax: 65-842-7166
South America Metrologic Instruments CEP 04571-090, São Paulo-SP, Brasil Outside Brazil: Tel: 55-11-5505-6568 Fax: 55-11-5505-1681 In Brazil: Tel: 55-11-5505-2396 Fax: 55-11-5507-2301 Copyright
© 1998 by Metrologic® Instruments, Inc. All rights reserved. No part of this work may be reproduced, transmitted, or stored in any form or by any means without prior written consent, except by reviewer, who may quote brief passages in a review, or provided for in the Copyright Act of 1976. Products and brand names mentioned in this document are trademarks of their respective companies.
ii
Page 3
Table of Contents Scope of the IS4120 Programming Guide . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 Programming the Scanner . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 Enter Program Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 Recall Defaults . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 HandSet® Program Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 Serial Program Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3, 4 Laser Activation Range . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 Laser Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 RS-232/Serial Related Activation Methods . . . . . . . . . . . . . . . . . . . . . . . . 7, 8 Same Symbol Re-Scan . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 Identical Symbol Re-Scan Indicator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 1 vs 2 Scan Buffers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 Decode Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 Beeper Tones . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 Audible Indicators for Communication Timeouts . . . . . . . . . . . . . . . . . . . . . 12 RS-232 Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 RS-232 Parameter - Baud Rate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13, 14 RS-232 Parameter - Parity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 RS-232 Parameter - Data Bits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 RS-232 Parameter - Hardware Handshaking . . . . . . . . . . . . . . . . . . . . . 16, 17 RS-232 Parameter - Software Handshaking . . . . . . . . . . . . . . . . . . . . . . . . . 17 iii
Page 4
RS-232 Parameter - Intercharacter Delay . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 RS-232 Parameter - Scanning Control (DTR Signal) . . . . . . . . . . . . . . . . . 19 “DE” Disable Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 Longitudinal Redundancy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 Record Header/Terminator Select . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20-22 RS-232 Parameter - UPC/EAN Identifiers . . . . . . . . . . . . . . . . . . . . . . . . . . 23 Keyboard Wedge (KB) Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 KB Parameter - Keyboard Type . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 KB Parameter - Keyboard Country Type . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 KB Parameter - Caps Lock Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 KB Parameter - Alt Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 KB Parameter - Inter Scan Code Delay (AT and PS/2 Modes) . . . . . . . . . . 27 KB Parameter - XT-Clean-Up Bit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 Light Pen Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29, 30 Code Type Selections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30-33 Minimum Code Length for All Code Types . . . . . . . . . . . . . . . . . . . . . . . . . 33 Code Length Minimum Feature . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 UPC/EAN Code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34, 35 UPC-A Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35, 36 UPC-E Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36, 37 Supplemental UPC Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 Supplemental ISBN Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 iv
Page 5
Coupon Code 128 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39, 40 Code 39 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40, 41 Codabar . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 Interleaved 2 of 5 (ITF) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 Interleaved 2 of 5 (ITF) Symbol Lengths . . . . . . . . . . . . . . . . . . . . . . . . 44-47 ITF Minimum Symbol Length Test . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 Matrix 2 of 5 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 MSI - Plessey Check Digit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49, 50 UK Plessey Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50, 51 Test Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51, 52 Special Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52-56 User Programmable Prefix and Suffix ID Characters . . . . . . . . . . . . . . . . . . 56 RB0-RB9 Bar Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57 ASCII Reference Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58-62 Reserved Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63-71 Disclaimer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72 Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73-75 v
Page 6
Scope of the IS4120 Programming Guide Not all hardware versions of the laser scan engine support all of the features universally. PC Keyboard Wedge units do not use baud rates. Light Pen emulation scanners should not try to drop UPC/EAN check digits. Some features will deliver different results based upon the primary interface selected. Version 17 Keyboard Wedge units default to Keyboard Wedge communications. Version 41 defaults to RS-232 communications.
Programming the Scanner The IS4120 is shipped from the factory programmed to a set of default parameters. Defaults are noted in the following pages by double asterisks ** next to the bar code labels. Modifications to the default program to match the host system are made using bar codes contained in this manual. 1. Connect the scanner to the host system or power source. (Refer to the Installation and User’s Guide.) 2. Scan the ENTER/EXIT PROGRAM MODE bar code. (The unit will beep three times.) 3. Scan by positioning the output window within two inches of each code. (When you scan the first menu selection, the laser will stay on until you scan the ENTER/EXIT PROGRAM MODE code again. If no scanning occurs for 30 seconds while the scanner is in program mode, the unit will beep three times and all changes made will be lost. If this occurs, return to Step 1.) 4. After completing the scanning of the appropriate configuration options, scan the ENTER/EXIT PROGRAM MODE bar code again. (The new options will be saved and the scanner is ready for normal operation.)
Enter/Exit Program Mode
*
*
1
Page 7
Enter/Exit Program Mode
*
*
Enter Program Mode **Ability to Enter Program Mode After Any Scan
R
1
8
Enter Program Mode Only on First Scan
R
1
9
When this option is selected, enter programming by scanning the ENTER/EXIT PROGRAM MODE bar code after power up or during normal scanning operation.
When this option is selected, the scanner will only enter program mode after power-up. Scan the ENTER/ EXIT PROGRAM MODE bar code immediately after the scanner first receives power. This option prevents the scanner from accidentally entering program mode during normal scanning operation.
Recall Defaults If during programming of the scanner, there is a need to return the scanner to the original factory settings, scan the RECALL DEFAULTS bar code. Any settings selected during that session or any previous session will be lost.
Recall Defaults
D
F
1
HandSet® Program Mode An IBM compatible PC-based menu driven program called HandSet is available to configure the IS4120. Please contact Metrologic or the HandSet documentation for details.
2
Page 8
Recall Defaults
D
F
1
Serial Program Mode The MS4120 can be configured via a serial command set from a host system. This works as long as the baud rate of the scanner is always known. The host system simply transmits all of the ASCII representations of all bar codes scanned to configure a scanner for a given application. This is especially useful when an IS4120 will be used as an embedded component in a system. A maintenance/ setup screen may be included so that when a new scan engine is installed in the system, it can automatically be configured to match site specific requirements. A sample configuration process is listed below. Here the scanner is being configured to activate the laser when it receives a “DC2” character.
Action
Command
Hexadecimal Form
Enter Program Mode Recall Defaults Enable DC2 Activation Exit Program Mode
** *DF1* *R40* **
2AH, 2AH 2AH, 44H, 46H, 31H, 2AH 2AH, 52H, 34H, 30H, 2AH 2AH, 2AH
These are the data and framing characters from the bar codes normally used to configure the scanner via scanning. Note: The “*” (asterisk) characters are used to frame each command. If the scanner misses a character or has another problem it may interpret the trailing “*” of one command and the leading “*” of the next command as an exit program mode. This is usually only a problem when the initial configuration code is being written for the host software. To help detect this problem, it is recommended that the external beeper be connected at least for development purposes. The scanner beeps 3 times when exiting program mode. It does not beep when entering program mode.
3
Page 9
General Flow of the serial program mode process: Host **
ž wait 150 milliseconds *DF1* wait 150 milliseconds *R40*
Scanner (NO scanner beeps) ACK (06H) (.15 seconds) (.15 seconds)
wait 150 milliseconds (.15 seconds) . . If > 20 seconds between characters/commands the scanner sends an NAK (15H) to the host, exits program mode and recalls the previous scanner configuration. (DOES NOT beep in this case) **
4 scanner beeps three times to indicate exiting program mode (if equipped with a beeper)