HS-21/HS-41X Handheld Reader User’s Manual P/N 84-100052 Rev A
Copyright and Disclaimer Copyright ©2012 Microscan Systems, Inc. Tel: +1.425.226.5700 / 800.762.1149 Fax: +1.425.226.8250 ISO 9001 Certified Issued by TüV USA All rights reserved. The information contained herein is proprietary and is provided solely for the purpose of allowing customers to operate and/or service Microscan manufactured equipment and is not to be released, reproduced, or used for any other purpose without written permission of Microscan.
Introduction Microscan Limited Warranty Statement and Exclusions What Is Covered? Microscan Systems Inc. warrants to the original purchaser that products manufactured by it will be free from defects in material and workmanship under normal use and service for a period of five years from the date of shipment. This warranty is specifically limited to, at Microscan’s sole option, repair or replacement with a functionally equivalent unit and return without charge for service or return freight.
Table of Contents Table of Contents Chapter 1 Quick Start Check Required Hardware ...................................................................... 1-2 USB Interface .......................................................................................... 1-3 RS-232 Interface ..................................................................................... 1-4 Install ESP............................................................................................... 1-5 Select Model...............
Introduction Aztec........................................................................................................ 6-5 Code 39 ................................................................................................... 6-6 Code 128 ................................................................................................. 6-7 BC412...................................................................................................... 6-8 Code 93 ..........................................
About the HS-21 and HS-41X Handheld Readers About the HS-21 and HS-41X Handheld Readers The HS-21 is a general-purpose 2D reader. Its many features include dual field optics for both high density and wide angle performance, a ruggedized design, IP54 sealing against dust and water, and compact size. The HS-41X is a special-purpose 2D reader for decoding direct part marks (DPM).
Introduction Statement of Agency Compliance The HS-21 and HS-41X have been tested for compliance with FCC regulations and were found to be compliant with all applicable FCC Rules and Regulations. IMPORTANT NOTE: To comply with FCC RF exposure compliance requirements, this device must not be co-located or operate in conjunction with any other antenna or transmitter.
Statement of RoHS Compliance Statement of RoHS Compliance All Microscan readers with a ‘G’ suffix in the FIS number are RoHS-Compliant. All compliant readers were converted prior to March 1, 2007. All standard accessories in the Microscan Product Pricing Catalog are RoHS-Compliant except 20-500013-01 and 98-000039-02. These products meet all the requirements of “Directive 2002/95/EC” European Parliament and the Council of the European Union for RoHS compliance.
1 Quick Start Contents Check Required Hardware ........................................................................................................... 1-2 USB Interface ............................................................................................................................... 1-3 RS-232 Interface .......................................................................................................................... 1-4 Install ESP ...................................................
Check Required Hardware Check Required Hardware The HS-21/HS-41X is shipped with one of the following cables: 6’ USB Straight Cable 8’ RS-232 Coiled Cable USB Hardware • HS-21/HS-41X Handheld Reader • USB Cable RS-232 Hardware • HS-21/HS-41X Handheld Reader • RS-232 Cable • RS-232 Power Supply Changing Cable and Communications Interface The reader can be converted from USB to RS-232 or from RS-232 to USB by changing the cable and scanning the appropriate communications programming symbol below.
Quick Start USB Interface Note: The USB interface draws its power from the host computer. USB Configuration Item 1 2 Description Part Number HS-21 Handheld Reader FIS-HS21-000XG HS-41X Handheld Reader FIS-HS41X-000XG USB Cable, 6’ Straight 61-000224-01 USB Cable, 8’ Coiled 61-000224-02 Installation Steps for USB To power on the reader, plug the USB cable into the reader’s handle and into the host’s USB port. After several seconds, the reader will beep twice and the LED will turn off.
RS-232 Interface RS-232 Interface Note: Unlike USB, the RS-232 interface does not draw its power from the host computer, and requires a power supply. RS-232 Configuration Item 1 2 3 Description Part Number HS-21 Handheld Reader FIS-HS21-000XG HS-41X Handheld Reader FIS-HS41X-000XG RS-232 Cable, 8’ Coiled 61-000224-03 RS-232 Power Supply, U.S.
Quick Start Install ESP ESP Software is Microscan’s configuration and testing software. Use ESP to set up your HS-21 or HS-41X Handheld Reader. ESP can be found on the Microscan Tools CD that is packaged with the reader. 1. Follow the prompts to install ESP from the CD. 2. Click on the ESP icon to run the program. Note: ESP can also be installed from the Download Center at www.microscan.com.
Select Model Select Model When you start ESP, the following menu will appear: 1. Click the HS-21/HS-41X button and then click OK. If you do not want to make this selection every time you start ESP, uncheck “Show this dialog at startup”. If you need to select another model later, click Switch Model at the top of the screen. Note: You can also type a name of your choice in the Description text field and click OK. 2.
Quick Start Select Interface and Connect to Reader USB • In the communications dialog box, select the communications interface you are using and click Next. Click the Show Connect Symbol button. • Click the Show Connect Symbol button, print the USB Connect Mode symbol, and decode it with the reader to ensure that you are in the correct communications interface. Keep the printed symbol in a convenient place for future use. • Click Next when you are finished.
Select Interface and Connect to Reader RS-232 • In the Select Protocol dialog box, select the communications interface you are using and click Next. Click the Show Connect Symbol button. • Print the RS-232 Connect Mode symbol (also shown in the Install ESP step) and decode it with the reader to ensure that you are in the correct communications interface. Keep the printed symbol in a convenient place for future use. • Click Next when you are finished. • The Com Port dialog will then reappear.
Quick Start Configure the Reader Click the App Mode button to make configuration changes. The following modes are accessible by clicking the buttons in the first row of App Mode icons: • • • • • Click the EZ Mode button to return to the EZ Mode view. Click the Autoconnect button to establish communication. Click the Send/Recv button to send or receive commands. Click the Switch Model button to open the model menu, or to return to a previous model.
Save Changes in ESP Save Changes in ESP To make changes to a configuration setting: 3. Place your cursor in the selection box, scroll down to the setting you want to change, and click once on the setting. 1. Left-click on the + to expand the desired tree. 2. Double-click on the desired parameter and click once in the selection box to view options. 4. Left-click again on the open screen to complete your selection. 5.
2 Using ESP Contents EZ Mode ....................................................................................................................................... 2-2 Application Mode .......................................................................................................................... 2-3 Tree Controls................................................................................................................................ 2-4 Menu Toolbar ........................................
EZ Mode EZ Mode EZ Mode offers instructions on positioning the reader in relation to a test symbol and triggering the reader to decode the symbol. Enter App Mode to access configuration trees and other setup features. Click Start to find the test symbol within the field of view and to to take an image capture of the symbol. Trigger the reader manually or check Auto Trigger for ESP to trigger the reader and decode the symbol data. Decoded symbol data will appear in the field beneath the viewing area.
Using ESP Application Mode From EZ Mode, you can click on the App Mode button to access specific configuration menus, Utilities tools, and a Terminal window where serial commands can be entered. Note: The App Mode and EZ Mode buttons appear in the same position to allow easy switching between these primary modes. Click this icon to return to EZ Mode. Menu toolbar. Click here to open the Imager, Terminal, or Utilities views.
Tree Controls Tree Controls To make changes to configuration settings in the tree control menus: 1. Left click on the +/to expand or collapse the tree. 2. Double click on the parameter and click once in the selection box to view options. 3. Place your cursor in the selection box, scroll down to the setting you want to change and click once on the setting. 4. Left click again on the open screen to complete the selection. 5.
Using ESP Menu Toolbar File > New Whenever New is selected from the File menu, the default configuration of ESP is loaded. Open / Save When Save or Save As is selected, the ESP configuration is saved to the host computer’s hard drive and available whenever the same file is selected under Open. When you save menu changes to your hard drive, these changes are not saved to your reader. The diagram below shows how settings can be saved and received between ESP and the reader, and ESP and the host hard drive.
Menu Toolbar Model The Model menu allows you to select between reader models. When you choose another model, the current connection with your present model will be terminated. New Model To connect to another model, select New Model, choose the model you want, and click OK. All models you have selected and enabled will continue to appear in the dropdown model menu. The New Model option is repeated when you click the Switch Model button on the top row of icons.
Using ESP Options You can use the Options menu to save memos and set up ESP preferences. Preferences will be saved and loaded into ESP the next time ESP is opened, whether or not you save the ESP file to the host computer. Preferences > General Tab The Toolbar Style options allow you to determine how ESP will display the mode options in the two rows at the top of the screen. Reload Last File At startup, reloads the last file saved to the computer.
Menu Toolbar Preferences > Terminal Tab Show Non-Printable Characters When Show Non-Printable Characters is enabled, characters such as “CRLF” will be displayed in the Terminal window. When Enhanced Format is checked, the characters are displayed with more detailed formatting. Change Keyboard Macros Clicking the Change Keyboard Macros button brings up the Function Keys dialog. In this dialog you can select the desired function key and then enter your macro keystrokes in the associated key map.
Using ESP Preferences > Bar Code Options Tab The Bar Code Options dialog allows you to set the size of user-created symbols. Sizing Information Sets the bar width or module width (in mils, or thousandths of an inch) of user-created symbols. Example: A bar width of 14 is 0.014 inches.
Menu Toolbar Preferences > Advanced Tab The Auto Sync options at the top of the Advanced tab allow the user to determine whether Auto Sync will be enabled automatically in sections of ESP where it is used, or if it will ask before it enables Auto Sync functions. Always Ask Before Auto Sync Occurs If this option box is checked, specific Auto Sync functions can be enabled. Receive Settings from the Reader will automatically send the reader’s settings to ESP when Auto Sync is enabled.
Using ESP Ask to Save ESP File when Quitting When enabled, prompts the user to save a .esp file when ending a session. The .esp file will be saved in the location of your choice. Use Default Storage Location When enabled, automatically stores data in ESP’s Application Data folder.
Menu Toolbar Document Memo The information you type in the Document Memo field will appear in a context-sensitive text box whenever your cursor hovers over the Document Memo item on the Options menu. Model Memo Similar to Document Memo, the information you type in the Model Memo field will appear in a context-sensitive text box whenever your cursor hovers over the Model Memo item on the Options menu. Memos created in Model Memo are specific to the model enabled when the message was created.
Using ESP Connect The Connect dropdown menu allows the user to access the Connection Wizard, as well as the Autoconnect and Configure Multidrop dialogs. Connect and Disconnect can also be performed directly from the dropdown menu without opening a dialog. Connection Wizard To connect using the Connection Wizard: • Click Connect on ESP’s menu toolbar, and then select Connection Wizard. • Select RS-232 or USB to activate the appropriate display.
Menu Toolbar View The View menu allows the user to move quickly between the Parameters, Imager, Terminal, and Utilities interfaces without using the icon buttons on the App Mode toolbar. It also allows the user to access the Bar Code Dialog, shown below. Bar Code Dialog Symbols can be created in the Bar Code Dialog by typing the text to be encoded. This is a useful tool for creating configuration symbols, allowing the user to configure the reader by reading the user-created symbols.
Using ESP Send/Receive To access Receive, Save, Lock, Default, and Advanced options, click the Send/Recv button or right-click in the tree control areas.. You can also access these options by right-clicking in any of the configuration views. Receive Reader Settings From the Send/Recv menu, select Receive Reader Settings. This option is useful if you want to receive the reader’s settings and save them as a file for later retrieval.
Send/Receive Default Current Menu Settings This option returns the settings in the current tree control to their defaults. Important: When you select Default Current Menu Settings you are only defaulting settings in ESP. The reader is not affected unless you download new settings. Default all ESP Settings This option returns all settings in ESP to their defaults. Important: When you select Default all ESP Settings you are only defaulting settings in ESP.
3 Basic Operations Contents Practice Targeting ........................................................................................................................ 3-2 Motion Detect Mode ..................................................................................................................... 3-3 Dual Optics ................................................................................................................................... 3-4 Operational Feedback ..............................
Practice Targeting When first connecting, allow approximately 3 seconds for the reader to initialize. 1. Hold the reader steady and point it at a test symbol. 2. Squeeze and hold the trigger. 3. Move the reader toward or away from the symbol in a fluid motion until the two side-by-side blue bars converge in the middle of the symbol.
Basic Operations Motion Detect Mode The HS-21 or HS-41X can be placed in a presentation stand and used in Motion Detect Mode. Important: Motion Detection must also be enabled in ESP for Motion Detect Mode to function. To decode a symbol, simply place it within the reader’s field of view. The reader will beep, vibrate, and emit a green LED flash upon Good Read.
Dual Optics The reader’s dual field optical system can read small 2D symbols as well as larger 1D symbols. An image is captured from each field. The decoder first operates on the image (Near or Far) which was successfully decoded on the last cycle. If unsuccessful, the next image is decoded. Move the reader closer to decode smaller symbols and farther away to decode larger symbols. Imaging Area 960 Far Field 640 Field of View: 50° horiz. by 33.5° vert.
Basic Operations Dual Optics Examples Far Field Dual Field Near Field 20 mil Data Matrix Far Field Dual Field Near Field 5 mil Code 39 HS-21/HS-41X Handheld Reader User’s Manual 3-5
Operational Feedback Condition Reader Successfully Powers Up Reader Successfully Enumerates with Host (via Cable) Attempting to Decode Successful Decode and Data Transfer via Cable Configuration Symbol Successfully Decoded and Processed Configuration Symbol Successfully Decoded but Not Successfully Processed 3-6 Top LED Light Green LED flashes Sound Vibration 1 Beep Handle Vibrates Once enumerated, the green LED turns Off Green LED is Off 1 Beep Handle Vibrates None No Vibration Green LED flashe
4 Communications Contents Communications by ESP.............................................................................................................. 4-2 Communications Overview........................................................................................................... 4-3 USB Interface ............................................................................................................................... 4-4 RS-232 Interface ....................................................
Communications by ESP Communications by ESP Click this button to bring up the App Mode view, then click the Communication tab. To open nested options, single-click the +. 4-2 To change a setting, double-click the setting and use your cursor to scroll through the options.
Communications Communications Overview Whenever you default the reader, it will return to the default settings of whichever interface you are using. Defaulting the reader does not remove preamble and postamble formatting. The reader is in USB Native (HID) by default. USB With USB communications, the reader connects directly to the host’s USB port from which it draws its power. Data is displayed by any open Windows-based program that can capture text in USB Keyboard Mode.
USB Interface USB Interface The reader is in USB Native (HID) by default. USB Native (HID) This mode is the standard way of transferring unformatted, unpacketized data to the reader through the USB port. USB Keyboard Mode (Windows) Data is output as keyboard sequences. USB Virtual COM One-Way Mode This mode allows a reader in a USB configuration to function as a virtual serial COM port. This mode requires installation of a USB Virtual COM driver, which is available from Microscan by request.
Communications RS-232 Interface Enabling RS-232 Interface will disable USB communications and require you to default the reader or read the USB Keyboard Mode symbol to return to USB. Baud Rate (RS-232) Baud Rate is the rate at which the reader and host transfer data. It only needs to be changed if necessary to match the host setting. 1200 2400 19.2K 38.4K 4800 57.6K 9600 115.
RS-232 Interface Parity (RS-232) Parity is an error detection routine in which one data bit in each character is set to 1 or 0 so that the total number of 1 bits in the data field is even or odd. It only needs to be changed if necessary to match the host setting. None (Default) Odd Even Data Bits (RS-232) Data Bits are the total number of bits in each character. This setting only needs to be changed if necessary to match the host setting.
Communications Preamble A preamble is a character or series of characters that is added to the beginning of a decoded data string. Preamble characters will appear in the order that they are enabled (left to right). For example, if you enable a comma and then a space, and then decode a symbol containing the data ‘ABC’, your output will look like this: , ABC The only limit to the number of preambles enabled is the total memory size available. Set the desired preamble by reading the appropriate symbol below.
Postamble Postamble A postamble is a character or series of characters that is added to the end of a decoded data string. Postamble characters will appear in the order that they are enabled (left to right). For example, if you enable a space and then a comma, and then decode a symbol containing the data ‘ABC’, your output will look like this: ABC , The only limit to the number of postambles enabled is the total memory size available. Set the desired postamble by reading the appropriate symbol below.
Communications Preamble and Postamble by ESP Characters can also be added to the beginning and end of data strings using ESP. There are a few different ways to do this, using the interface shown below. You will see the Communications tree control on the left, and the Preamble/Postamble interface on the right. When you type ASCII characters directly into the Preamble or Postamble text fields and then click Send to Reader, those preamble or postamble characters are enabled and will appear in data output.
Keyboard Mapping Keyboard Mapping The Keyboard Mapping feature provides alternatives for keyboards that do not conform to U.S. English mapping. Note: Universal Keyboard mapping is slightly slower than the other language-specific options, because it maps data by reference to the full set of ASCII characters. The advantage of Universal Keyboard mapping is that it allows any language and keyboard layout to be mapped.
Communications Communications Mode Some ESP Communications options are unique to the software, and do not have corresponding programming symbols. These options are explained below. Reader Packet Format Data that is sent from the reader to the host in Raw format is sent without packet framing or check characters. One-Way communication is in a raw format, no response is expected from the host, and data is not resent.
Communications Mode Text Commands When the Text Commands feature is enabled, the reader can accept text commands via RS-232 connections and USB Virtual COM modes. Note: Text Commands are not supported in USB HID Mode. Enable Text Commands Disable Text Commands (Default) Text Commands by ESP When Magic Sequence is enabled, it allows the user to enable Text Commands by entering a predetermined series of keystrokes.
Communications USB Keyboard Rate Requests that the host polls the USB reader at the rate specified (1 to 255 ms).
RS-232 RS-232 Baud Rate Baud Rate is the rate at which the reader and host transfer data. It only needs to be changed if necessary to match the host setting. Parity Parity is an error detection routine in which one data bit in each character is set to 1 or 0 so that the total number of 1 bits in the data field is even or odd. It only needs to be changed if necessary to match the host setting. Stop Bits Stop Bits are added to indicate the end of each character.
Communications Text Command Timeout Text Command Timeout allows you to set the maximum time during which a complete text command from the host must be received. Pending text command data is discarded when the timeout is exceeded.
Text Command Timeout 4-16 HS-21/HS-41X Handheld Reader User’s Manual
5 Read Cycle Contents Read Cycle by ESP...................................................................................................................... 5-2 External Trigger............................................................................................................................ 5-3 Default Continuous Event............................................................................................................. 5-4 Maximum Decodes per Read...........................................
Read Cycle by ESP Read Cycle by ESP Click this button to bring up the App Mode view, and then click the Read Cycle tab. To open nested options, single-click the +. 5-2 To change a setting, double-click the setting and use your cursor to scroll through the options.
Read Cycle External Trigger The External Trigger parameter allows you to determine reader behavior when triggered externally. Show Target The target LEDs will illuminate when the reader is triggered externally. Read Both Fields (Default) Both Near Field and Far Field will be activated to capture an image when the reader is triggered externally. Read Near Field Near Field will be activated to capture an image when the reader is triggered externally.
Default Continuous Event Default Continuous Event This parameter allows you to determine the default state of the reader. Idle (Default) When Default Continuous Event is set to Idle, the reader will remain inactive until triggered. Show Target When Default Continuous Event is set to Show Target, the reader will display the target LEDs but remain inactive until triggered externally.
Read Cycle Maximum Decodes per Read Maximum Decodes per Read allows you to set how many decodes can be performed in a single read cycle.
Read Cycle Timeout Read Cycle Timeout Read Cycle Timeout determines the duration of the read cycle. The default Read Cycle Timeout is 0.500 seconds.
Read Cycle Ignore Duplicate Symbol Timeout Ignore Duplicate Symbol Timeout sets the reader not to output the same symbol data multiple times within the time period designated.
Targeting Zone Tolerance Targeting Zone Tolerance Targeting Zone Tolerance is particularly useful in environments where closely spaced symbols of various sizes need to be targeted. It allows the reader to narrow the field of view relative to the size of a symbol, and to determine the distance the target must be from the symbol for a decode event to occur. See Window of Interest for more precise control of the active pixel area. The default Targeting Zone Tolerance is 1600%.
Read Cycle Morphological Preprocessing Morphological Preprocessing allows you to select the method for processing captured images, and to choose the operator size for that method. It is set to None by default. Note: This feature is only available in the HS-41X Handheld Reader. Erode Erode increases the dark cell size of a symbol. Useful for increasing the dark cell size of a dark-on-light Data Matrix symbol. Dilate Dilate increases the light cell size of a symbol.
Camera Settings Camera Settings Camera Settings allow you to set AGC Sampling Mode, to set the percentage values for Illumination, Exposure, and Gain, to set the AGC Frame Adjust Count, and also to define Window of Interest dimensions. AGC Sampling Mode When AGC Sampling Mode is set to Automatic (default), each time a No Read occurs, the reader adjusts the gain and exposure for the next capture to optimize symbol contrast.
Read Cycle Window of Interest The active pixel area of the image sensor is called the Window of Interest (WOI). The WOI allows the user to select an area of the field of view in which the desired symbol is located. The programmable window of interest increases decode speed, improves threshold, and makes it easy to select specific symbols from among several in the field of view. The user provides the upper-left pixel location and the size of the window to define the Window of Interest.
5-12 HS-21/HS-41X Handheld Reader User’s Manual
6 Symbologies Contents Symbologies by ESP.................................................................................................................... 6-2 Data Matrix ................................................................................................................................... 6-3 QR Code ...................................................................................................................................... 6-4 Aztec .................................................
Symbologies by ESP Symbologies by ESP Click this button to bring up the App Mode view, and then click the Symbologies tab. To open nested options, single-click the +. To change a setting, double-click the setting and use your cursor to scroll through the options.
Symbologies Data Matrix Data Matrix Enabled (Default) Data Matrix Disabled Sample Data Matrix Symbol If you disable the Data Matrix symbology, programming symbols will not be decodable by the reader and Data Matrix will need to be re-enabled using ESP. Use the Data Matrix Disabled programming symbol with caution.
QR Code QR Code QR Code Inverse and Standard Enabled QR Code Disabled QR Code and Micro QR Code Enabled Sample QR Code Symbol 6-4 Sample Micro QR Code Symbol HS-21/HS-41X Handheld Reader User’s Manual
Symbologies Aztec Aztec Enabled Aztec Disabled (Default) Sample Aztec Symbol HS-21/HS-41X Handheld Reader User’s Manual 6-5
Code 39 Code 39 Code 39 Disabled Code 39 Enabled (Default) Code 39 Enable Checksum Code 39 Disable Checksum (Default) Code 39 Enable Checksum and Strip from Result Code 39 Extended Full ASCII Enabled Code 39 Extended Full ASCII Disabled (Default) Sample Code 39 Symbol 6-6 HS-21/HS-41X Handheld Reader User’s Manual
Symbologies Code 128 Code 128 Enabled (Default) Code 128 Disabled Sample Code 128 Symbol HS-21/HS-41X Handheld Reader User’s Manual 6-7
BC412 BC412 BC412 Enabled (Default) BC412 Disabled Sample BC412 Symbol 6-8 HS-21/HS-41X Handheld Reader User’s Manual
Symbologies Code 93 Code 93 Enabled (Default) Code 93 Disabled Sample Code 93 Symbol HS-21/HS-41X Handheld Reader User’s Manual 6-9
Codabar Codabar Codabar Enabled (Default) Codabar Disabled Codabar Checksum Enabled Codabar Checksum Disabled (Default) Codabar Checksum Enabled and Strip from Result Sample Codabar Symbol 6-10 HS-21/HS-41X Handheld Reader User’s Manual
Symbologies Interleaved 2 of 5 Interleaved 2 of 5 Enabled (Default) Interleaved 2 of 5 Disabled Interleaved 2 of 5 Checksum Enabled Interleaved 2 of 5 Checksum Disabled (Default) Interleaved 2 of 5 Checksum Enabled and Strip from Result Interleaved 2 of 5 Two Digit Minimum Interleaved 2 of 5 Four Digit Minimum Interleaved 2 of 5 Six Digit Minimum (Default) Sample Interleaved 2 of 5 Symbol HS-21/HS-41X Handheld Reader User’s Manual 6-11
UPC UPC UPC Enabled (Default) UPC Disabled EAN Status Enabled (Default) EAN Status Disabled UPC-E as UPC-A Enabled UPC-E as UPC-A Disabled (Default) Sample UPC-E Symbol Sample UPC-A Symbol 6-12 HS-21/HS-41X Handheld Reader User’s Manual
Symbologies Postal Postal Enabled Postal Disabled (Default) Supported Postal Symbologies • USPS OneCode (4CB) • POSTNET • PLANET • Japanese Post • Australian Post • Royal Mail • KIX Code Sample Postnet Symbol Sample Royal Mail Symbol HS-21/HS-41X Handheld Reader User’s Manual 6-13
Pharmacode Pharmacode Pharmacode Enabled Pharmacode Disabled (Default) Fixed Symbol Length Enabled Fixed Symbol Length Disabled (Default) Bar Width Status: Mixed (Default) Bar Width Status: All Narrow Bar Width Status: All Wide Bar Width Status: Fixed Threshold Direction: Forward (Default) Direction: Reverse 6-14 HS-21/HS-41X Handheld Reader User’s Manual
Symbologies Fixed Symbol Length Status When enabled, the reader will check the symbol length against the symbol length field. If disabled, any length will be considered valid. Symbol Length Specifies the exact number of bars that must be present for the reader to recognize and decode the Pharmacode symbol. Minimum Bars Sets the minimum number of bars that a Pharmacode symbol must have to be considered valid.
GS1 DataBar GS1 DataBar All GS1 DataBar Enabled (Default) All GS1 DataBar Disabled GS1 DataBar Expanded Enabled GS1 DataBar Limited Enabled GS1 DataBar-14 Enabled Sample DataBar-14 Limited Symbol Sample DataBar-14 Stacked Symbol Sample DataBar Expanded Symbol Sample DataBar-14 Symbol 6-16 HS-21/HS-41X Handheld Reader User’s Manual
Symbologies PDF417 PDF417 Enabled (Default) PDF417 Disabled Sample PDF417 Symbol HS-21/HS-41X Handheld Reader User’s Manual 6-17
MicroPDF417 MicroPDF417 MicroPDF417 Disabled (Default) MicroPDF417 Enabled Sample MicroPDF417 Symbol 6-18 HS-21/HS-41X Handheld Reader User’s Manual
Symbologies Composite Composite consists of a 1D component associated with an adjacent 2D component. A successful decode is required for both the 1D and 2D components before the reader outputs a result. When Composite is enabled, the unit decodes the 1D component first. Important: EAN-8, EAN-13, UPC-A, and UPC-E cannot be decoded individually when Composite is enabled.
Symbology Identifier Symbology Identifier When Symbology Identifier is enabled, an AIM (Association for Automatic Identification and Mobility) preamble is added to decoded data output (see the AIM Symbology Identifiers list). This preamble identifies what kind of symbology has been decoded.
7 I/O Parameters Contents I/O Parameters by ESP ................................................................................................................ 7-2 No Read Notification .................................................................................................................... 7-3 Targeting ...................................................................................................................................... 7-4 Beeper..................................................
I/O Parameters by ESP I/O Parameters by ESP Click this button to bring up the App Mode view, and then click the Read Cycle tab. To open nested options, single-click the +. 7-2 To change a setting, double-click the setting and use your cursor to scroll through the options.
I/O Parameters No Read Notification No Read Notification allows you to enable or disable user feedback alerting you when a symbol is not decoded successfully. The No Read message output is ap/r, indicating that the reader did not decode the symbol.
Targeting Targeting The Targeting parameter allows you to turn the targeting LEDs on or off. They are on by default. Read the configuration symbols below to enable or disable Targeting.
I/O Parameters Beeper The Beeper parameters allow you to set the Volume, Duration, and Separation of the beep, and whether or not it will beep on a Good Read. Beeper volume is 100% by default, 0.100 seconds Duration by default, and 0.100 seconds Separation by default. Beep on Good Read is enabled by default. Read the configuration symbols below to enable or disable Beeper.
Vibrate Vibrate The Vibrate parameter allows you to turn Vibrate on or off. It is on by default.
I/O Parameters Button Stay-Down Time Button Stay-Down Time sets the amount of time (in seconds) that the reader will continue to process the current “decode symbol” event. The reader will behave as if the trigger is being activated for this specified amount of time.
Motion Detect Event Motion Detect Event Motion Detect Event allows you to determine the reader's behavior when motion is detected in the field of view. Motion Sensitivity allows you to determine the sensitivity of motion detection (lower is more sensitive - 5 is default). Motion Detect Start Delay allows you to set the amount of delay before a motion detect event occurs. (0 seconds is default.) Show Target The target LEDs will illuminate when a motion detect event occurs.
I/O Parameters Image Quality Image Quality allows you to determine the quality of images that are output from image captures. Image Quality is set to 50% by default.
Image Quality 7-10 HS-21/HS-41X Handheld Reader User’s Manual
8 Advanced Operations Contents Continuous Read.......................................................................................................................... 8-2 Mirroring ....................................................................................................................................... 8-3 Motion Detection........................................................................................................................... 8-4 Window of Interest...........................
Continuous Read Continuous Read Read the following symbols to enable or disable Continuous Read.
Advanced Operations Mirroring Mirroring allows the reader to decode symbols that are reversed. When Mirroring is enabled, all other decode functionality is disabled. Note: Once the reader has been set to Mirroring On, it can only return to its default mode by reading the Mirroring Off symbol below.
Motion Detection Motion Detection Motion Detection causes the reader to attempt a decode whenever it senses motion in its field of view. Motion Detection On, Start Delay 0 ms Motion Detection On, Start Delay 500 ms Motion Detection On, Start Delay 0 ms, Dark Environment Motion Detection On, Start Delay 500 ms, Dark Environment Motion Detection Off (Default) Motion Detection by ESP Motion Detection settings can be refined further using the options in ESP.
Advanced Operations Window of Interest Window of Interest allows you to shrink the processing area of the reader’s field of view. Because the reader has far less processing to do in a smaller window, read rates typically increase dramatically. • Click the Camera icon in App Mode to bring up Window of Interest. Click the Capture and Decode button in the Window of Interest view to decode the symbol in the field of view.
Window of Interest Linear Mode Linear Mode is intended for use with 1D (linear) symbologies. The combination of Far Field optics and narrow field of view is ideal for decoding a series of closely-spaced 1D symbols, such as a warehouse “pick list”. Clicking the Linear Mode button automatically defines the narrow Window of Interest in Far Field as shown below.
9 Terminal Contents Terminal View................................................................................................................................9-2 Find ...............................................................................................................................................9-3 Send ..............................................................................................................................................9-4 Macros......................................
Terminal View Terminal View Click the Terminal button. You will see the following view: Clear screen, copy, paste, save. Macros listed on this bar. Type text here to find matching text in the terminal window. Terminal screen Type text commands here. Click on Macros arrow to Add Macro, Remove Macro, or Edit Macro. Click on desired macro to run. The Terminal interface allows you to send commands to the reader by using macros, by copying and pasting, or by typing commands in the Send text field.
Terminal Find The Find function allows you to enter text strings to be searched for in the terminal window. For example, suppose a series of symbols have been scanned into the terminal view and you want to determine if a particular symbol whose data begins with “ABC” has been read. 1. Type “ABC” into the Find box. 2. Press Enter. The first instance of “ABC” will be highlighted in the terminal window. 3. Click the Find button to the left of the text field to locate additional instances of “ABC”.
Send Send The Send function allows you to enter text commands and then send them to the reader. (See Text Commands.) For example, suppose you want to disable the vibrate function in the reader. To disable vibrate using a text command, you would enter “P%A10” (the command that disables vibrate) in the text field and click Send. Click here to access the dropdown menu of stored text commands. Type text commands in the text field and then click the Send button to initiate.
Terminal Macros Macros can be stored in a macro selection bar, edited in a separate window, and executed by clicking on the macro name. When you click Move to Start, the names of all the macros appear, as shown at left. Choose which macro button you want to appear in the first position at the bottom of the terminal view. Click on all subsequent arrows to Edit the associated macros. Click on Next Row to see the next set of macro buttons.
Terminal Right-Click Menu Terminal Right-Click Menu Right click in the terminal window to display the following menu: • • • • • • • • • • • • Copy selected text to clipboard. Paste from terminal or other text. Clear all text in terminal window. Select All text in the terminal window. Save... incoming and outgoing data into a text file. Change Font... of data received from the reader. Change Echo Font... to change the appearance of user-entered data. Disable Echo to hide user-entered data.
Terminal Terminal Dropdown Menu The terminal dropdown menu allows you to capture and save current text, and it also includes the functions defined for the Terminal Right-Click Menu. • Capture Text... lets you append data in real time to a text file of your choice. While in operation, the text file cannot be opened. You can select Pause to interrupt the capture flow or Stop to end the flow and open the file. • Save Current Text... saves all text in the terminal window to a text file of your choice.
Terminal Dropdown Menu 9-8 HS-21/HS-41X Handheld Reader User’s Manual
10 Utilities Contents Device Control............................................................................................................................ 10-2 Differences from Default............................................................................................................. 10-3 Firmware .................................................................................................................................... 10-4 Advanced ...................................................
Device Control Device Control This feature allows you to delete stored errors, to reboot the reader, and to default the reader. • Delete Stored Errors erases all logged errors whether you have looked at them or not. • Default Reader returns the reader to its default state, without any optimization or configuration. • Reboot Reader refreshes the reader’s memory and functionality, returning it to the most recent configuration you have saved.
Utilities Differences from Default Clicking the Differences from Default button will cause ESP to check all stored configuration settings and compare them to default settings. All settings that are different than default will appear in the left column (shown below), and descriptions of those settings will appear in the right column. Click this button for a list of ESP configuration settings that are different than default settings.
Firmware Firmware The Firmware view in ESP Utilities is a simple way to update and verify your reader’s firmware and to update batch files. Choose App Code from the Firmware Update dropdown menu and click Start to install new firmware. Use this dropdown menu to locate batch files in the host computer’s file directory. Download the needed files directly to the reader by clicking the Start button.
Utilities ID and Firmware Version Another way to query the 2D Engine for its identifying information is by reading the following symbol: ID and Firmware Version The host’s text program will output a data string containing the device’s identifying information in the format shown below.
Advanced Advanced The Advanced tab in Utilities features an archive of all batch files containing reader configuration commands. Each batch file’s extension is .crb, and each file contains the fundamental code for programming the reader. Notice that the names of the batch files correspond with the numbers beneath all the Data Matrix configuration symbols.
Appendices Contents Appendix A General Specifications .............................................................................................. A-2 Appendix B Electrical Specifications ............................................................................................ A-5 Appendix C Configuration Symbols.............................................................................................. A-6 Appendix D Serial Commands ...................................................................
General Specifications Appendix A — General Specifications Mechanical Indicators Status Indicators: Beep, vibrate, LED flash Height: 5.2” (131.6 mm) Width: 2.0” (52 mm) Depth: 3.6” (91.1 mm) Format: BMP or JPEG Weight: 3.9 oz. (110 g) Memory Capacity Environmental Operating temperature: –20° to 55°C (–4° to 131°F) Storage temperature: –30° to 65° C (–22° to 150°F) Humidity: 5 to 95% (non-condensing) Shock: Withstands multiple drops of 6’ (1.
Appendices Read Ranges Narrow Bar Read Range STANDARD DENSITY 1D .0050” (.127 mm) .0075” (.191 mm) .010” (.254 mm) .020 (.508 mm) 2D .0050” (.127 mm) .0075” (.191 mm) .010” (.254 mm) .020 (.508 mm) 3.7 to 5.0” (94 to 127 mm) 2.2 to 6.5” (56 to 165 mm) 1.5 to 8.0” (38 to 203 mm) 2.3 to 15.5” (58 to 394 mm) 3.7 to 4.6” (94 to 117 mm) 1.5 to 6.0” (38 to 152 mm) 1.6 to 7.7” (41 to 196 mm) 1.6 to 9.
General Specifications FIS and Demo Kit Options; Accessories HS-21/HS-41X Handheld Readers HS-41X, Handheld, X-Mode, Dark Gray, USB, 6' Straight Cable HS-41X, Handheld, X-Mode, Dark Gray, RS-232, 8' Coiled Cable, U.S. P/S HS-41X, Handheld, X-Mode, Dark Gray, RS-232, 8' Coiled Cable, Euro P/S HS-41X, Handheld, X-Mode, Dark Gray, RS-232, 8' Coiled Cable, UK P/S HS-21, Handheld, Std, Light Gray, USB, 6' Straight Cable HS-21, Handheld, Std, Light Gray, RS-232, 8' Coiled Cable, U.S.
Appendices Appendix B — Electrical Specifications Power Requirements Reader @ 5VDC (mA): Typical: Less than 450 mA; Idle: Less than 80 mA; Sleep: Less than 31mA USB Cable Pinouts RS-232 Cable Pinouts HS-21/HS-41X Handheld Reader User’s Manual A-5
Configuration Symbols Appendix C — Configuration Symbols A1 Default to USB (HID) B1 USB Disable Alternate OS C2 C1 RS-232 8 Data Bits (Default) RS-232 9600 Baud E1 RS-232 115200 Baud (Default) A-6 B4 Reset to RS-232 Defaults C3 C4 RS-232 4800 Baud D4 RS-232 38400 Baud RS-232 19200 Baud E3 RS-232 Even Parity RS-232 7 Data Bits RS-232 2400 Baud D3 E2 USB Virtual COM Mode B3 RS-232 1200 Baud D2 D1 USB Native (HID) Mode USB Keyboard (Windows) B2 USB Enable Alternate OS A4 A3 A2 RS-2
Appendices A2 A1 UART Flow Control Hardware UART Flow Control None (Default) B1 Targeting On Continuous Trigger Off Motion Detect Off Reader Text Commands On Preamble - Tab (Keyboard Only) HS-21/HS-41X Handheld Reader User’s Manual Motion Detect On, Start Delay 500 ms D4 Preamble - Comma E3 Preamble - Tab (Serial Only) Beep On C4 Motion Detect On, Start Delay 0 Reader Text Commands Off E2 E1 Beep Off D3 D2 D1 RS-232 Packet Mode B4 C3 C2 C1 RS-232 Raw Mode (Default) B3 B2 Targeting
Configuration Symbols A2 A1 Postamble - CR (Serial Only) B1 B2 B3 Postamble - Enter (Keyboard Only) C2 C1 Postamble - Erase (None) D1 Universal Keyboard Mapping A-8 C4 U.S. Keyboard Mapping (Default) D3 Japanese Keyboard Mapping E4 E3 Custom Keyboard U.S. Keyboard without Leading 0 D4 German Keyboard Mapping French Keyboard Mapping E2 Postamble - Tab (Serial Only) Postamble - Tab (Keyboard Only) Preamble and Postamble - Erase U.S.
Appendices A2 A1 Important: If you disable the Data Matrix symbology, programming symbols will not be decodable by the reader, and you will need to re-enable Data Matrix using ESP. Use the Data Matrix Off programming symbol with caution.
Configuration Symbols A2 A1 Code 93 Off Code 93 On (Default) B1 B2 Composite On C1 Interleaved 2 of 5 Checksum Enabled MicroPDF417 Off (Default) Interleaved 2 of 5 On (Default) D3 Interleaved 2 of 5 with Control Character Stripped D4 Interleaved 2 of 5 Checksum Enabled, Strip from Result Interleaved 2 of 5 Checksum Disabled (Default) MicroPDF417 On E4 E3 PDF417 On (Default) Interleaved 2 of 5 Off C4 Interleaved 2 of 5 Six Digit Minimum Interleaved 2 of 5 Four Digit Minimum Code 128 Off B4
Appendices A1 A3 A2 Postal Off (Default) QR Code Off B2 B1 B3 All GS1 DataBar On (Default) GS1 DataBar Limited On C2 C1 UPC Off EAN Status Enabled (Default) UPC-E as UPC-A Disabled (Default) E1 Pharmacode Fixed Symbol Length Disabled (Default) EAN Status Disabled D3 Pharmacode On E2 Pharmacode Bar Width Status Mixed (Default) HS-21/HS-41X Handheld Reader User’s Manual QR Code and Micro QR Code On B4 UPC On (Default) All GS1 DataBar Off C3 D2 D1 QR Code Inverse and Standard On A4 Pha
Configuration Symbols A1 Pharmacode Bar Width Status Fixed Threshold A2 Pharmacode Direction Forward (Default) A4 A3 Pharmacode Direction Reverse B4 B3 B1 B2 ID and Firmware Version Clear All JavaScript Rules C1 C2 C3 2 Second Duplicate Scan Delay 3 Second Duplicate Scan Delay 1 Second Duplicate Scan Delay A-12 Delete Scanned Data from Memory Save Settings Disable Duplicate Symbol Timeout C4 Default Trigger Delay HS-21/HS-41X Handheld Reader User’s Manual
Appendices Configuration Symbol Reference Beeper Beep Off ..............................................................................................................................A-7 (B3) Beep On ..............................................................................................................................A-7 (B4) Continuous Trigger Continuous Trigger Off ........................................................................................................A-7 (C1) Keyboard Mapping U.
Configuration Symbols RS-232 Settings Reset to RS-232 Defaults.................................................................................................... A-6 (B3) RS-232 7 Data Bits.............................................................................................................. A-6 (B4) RS-232 8 Data Bits (Default) ...............................................................................................A-6 (C1) RS-232 1200 Baud ....................................................
Appendices Composite Off (Default) .....................................................................................................A-10 (B2) Interleaved 2 of 5 On (Default) ..........................................................................................A-10 (B3) Interleaved 2 of 5 Off .........................................................................................................A-10 (B4) Interleaved 2 of 5 Two Digit Minimum ...........................................................
Configuration Symbols USB Settings Default to USB (HID) ........................................................................................................... A-6 (A1) USB Keyboard (Windows)................................................................................................... A-6 (A2) USB Native (HID) Mode ...................................................................................................... A-6 (A3) USB Virtual COM Mode......................................................
Appendices Appendix D — Serial Commands Text Commands Text commands may be sent to the reader in RS-232 or USB Virtual COM mode using any serial communications software, e.g., ESP Terminal. Encoded-data is decoded by the reader by replacing %xx by a single byte with the value specified by the two hex-digits xx, e.g., %25 would be replaced by character number 0x25, which is ASCII ‘%’.
Serial Commands Example 1 (make the reader beep 3 times): #%03 Expected output: should make reader beep 3 times Example 2 (set reader to continuous read, High Density field (FOI0) only): P(C4)5 Expected output: should set reader to continuous read, High Density field (FOI0) only Example 3 (set reader to trigger read mode): P(C4)255 Expected output: should set reader to trigger read Packetized Commands Packetized commands consist of packetized data sent from Host-to-Reader to configure and cause the reader
Appendices 0xEE 0xEE 0xEE 0xEE 0x49 0x00 0x00 0x03 0x3C This executes the info command, “I” in text command format. Since it does not have any data datum associated with it, 0x00 following 0x49 (ASCII “I”) but before the reserved field and CRC14 (0x00 0x03 0x3C) indicating it has no dataopt. 0xEE 0xEE 0xEE 0xEE 0x50 0x04 0xC4 0x32 0x35 0x35 0x00 0x43 0x3C This will change the reader to trigger-read mode, “P(C4)255” in text command format.
Serial Commands Command Types # $ ( ) , / 1 2 5 A-20 Causes the reader to beep the specified number of times; data contains the number as a single character in the range [0,127]. (The reader will respond with d or e.) Example – beep three times: #%03 Posts an event to the reader; data contains the event number as a single character. See setting 39 in Reader Settings for a list of the event numbers. (The reader will respond with d or e.
Appendices 9 ; < = > @ A Requests the reader to delete a file from its storage; data contains the file name, terminated with ASCII NUL. Reserved (nop – treated as a comment) Causes the reader to send a list of saved reader settings (no data) (see ‘,’ command) Puts setting directly to reader’s non-volatile memory so that it will take effect upon next reboot; data is as defined in the / command; the specified integer replaces the existing setting value.
Serial Commands G I J J1 L O P Q R A-22 Get setting from reader; data contains a single character (0-255), which is the setting number. (The reader will respond with d and the setting value as a sequence of 8 ASCII hexadecimal digits or with e.) Note: See Reader Settings for possible reader settings. Requests the reader to send its information string (no data). (The reader will respond with i or e.) Requests the reader to restore settings to defaults (no data). (The reader will respond with d or e.
Appendices T U W Y Z ^ _ | Requests the current date and time (no data). (The reader will respond with d with data containing the date and time formatted as yyyy-mm-dd hh:mm:ss.) Note: On units without a battery-backed real-time clock, the date and time will reset to 2000-01-01 00:00:00 upon power-up. Reserved for script engine. Requests the reader to write its current settings from RAM to its non-volatile memory. (The reader will respond with d or e.
Serial Commands Simple Protocol The file is split into blocks of 236 or less bytes each and downloaded to the reader via 1, 2, and 5 commands using the following sequence: 1. Send a 1 command to initialize the download. 2. Wait for a d or e response from the reader or a timeout. a. If timeout or e response, restart the sequence at step 1. b. If d response, continue to step 3. 3. Send a series of 2 commands, each with a portion of the file. (The reader will not send any response.) 4.
Appendices Reader Settings The host sets the reader settings using the /, O, P, Q, and = commands and reads them using the G, ,, and < commands. For example, the following P command sets register 2C to the value C8. P(2C)C8 Note: For two-digit setting numbers (i.e., settings 00 through fd), an alternative format may be used: in place of the parentheses and hexadecimal setting number, substitute a single character, which represents the setting number.
Serial Commands Binary Dip Switch Some registers are what Microscan terms a ‘Binary Dip Switch’ where the value of each bit of the data string switches on or off some part of the behavior of that register. The bits are numbered from least significant to most (right to left). Each bit can be on or off (1 or 0). An example of this is register 0B, ‘Codabar Checksum’.
Appendices Reader Settings Table Reg 04 Setting Name Continuous Illumination During Read Default (Hex) Comment 0 0: Minimal Illumination 1: Leave Illumination On Until End Read Cycle Leave illumination on during read.
Serial Commands Binary Dip Switch 0B Matrix 2 of 5 Symbology 1 0C Telepen Symbology 0D Enable Non-Square Data Matrix Sym0 bology 0F Targeting Control 1 16 Data Matrix Rectangular Symbology 0 19 Data Matrix Symbology 1 1 Bit Controls 0 Matrix 2 of 5 Decoding 1 Checksum checking 2 Strip checksum from result 3 1 Digit Symbol Allowed 4 2 Digit Symbol Allowed Note: All symbol lengths greater than 2 are always enabled when Matrix 2 of 5 Decoding is enabled.
Appendices 1B Communications Mode 8 1C Serial Baud Rate 1C200 (#115200) 1D Serial Stop Bits 1 1E Serial Data Bits 8 HS-21/HS-41X Handheld Reader User’s Manual 1: RS232 serial 2: USB keyboard 5: USB Native (HID) 6: USB VComm 7: USB HID POS -Terminal 131 8: Dynamic (1 if decode is RS232; 2 if decode is USB) This setting is used in conjunction with settings 08 and 42 to configure the communication mode between standard “one-way” and “two-way” modes.
Serial Commands 22 Serial Parity 0 26 Beep Volume (percent) 64 (#100) 29 PDF417 Symbology 1 2A MicroPDF417 Symbology 0 0: None 1: Odd 2: Even Valid Range: 0 to 64 (#100) Percent This is the current percentage of full volume potential.
Appendices Valid Range: 0 to 7FFFFFFF Milliseconds Counts down to the change to Idle Mode. The most significant bit (MSB) of the 32-bit register indicates whether this timer is enabled. Enable or Disable the timer by setting the MSB. You can change the big directly by setting the register value (such as setting to #100) or you can change the value of just the MSB using the O (set), Q (clear) or / (toggle) bit commands. See Command Types for more information on these commands.
Serial Commands 34 Maximum Candidate Decodes Per Read 1 35 Button Stay-Down Time (ms) 0 36 Number of Control Frames Before Pic0 ture Capture 39 Trigger 1 3 40 Text Command Timeout (ms) 2AF8 (#11000) A-32 The Reader will process up to this number of codes per “read code” event. If there are more than this many codes in the field of view and within target tolerance, only the first ones will be decoded. For fastest performance with single codes, set to 1.
Appendices Binary Dip Switch Bit 0 1 2 3 4 41 Text Commands 8 5 Controls Value 0: Disabled Text Commands 1: Enabled 0: Disabled Suppress Echo 1: Enabled 0: Disabled Suppress Responses 1: Enabled Disable Text 0: Disabled Commands but Enable Magic 1: Enabled Sequence Suppress URL 0: Disabled Decode; See 1: Enabled Below Accept On Time- 0: Disabled out 1: Enabled Magic Sequence: The Magic Sequence is the string “;>PAx” where x is 1, 3, or 7 as defined above.
Serial Commands 42 Expect Acknowledgement From Host 0 43 JPEG Picture Quality (percent) 32 (#50) 45 Read Cycle Timeout 1F4 (#500) 0: Reader doesn’t wait for acknowledge 1: Reader will retransmit data when Host doesn’t acknowledge receipt This setting is used in conjunction with settings 1B and 42 to configure the communication mode between standard “one-way” and “two-way” modes.
Appendices 49 Code 39 Symbology 0 4A Composite Codes 0 4B Postal Code Symbology 0 0: Disabled 1: Enabled Code 39 Full ASCII Decoding 0: Disabled 1: Enabled Composite Code Decoding Also see register: D8 0: Disabled 1: Enabled Binary Dip Switch Bit Controls 4C GS1 Symbology 1F (#31) 4D UPC Expansion 0 4E UPC Supplemental 0 HS-21/HS-41X Handheld Reader User’s Manual Value 0: Disabled 1: Enabled 0: Disabled 1: Enabled 0: Disabled 1: Enabled 0: Disabled 1: Enabled 0: Disabled 0 GS1 Expanded
Serial Commands Binary Dip Switch 4F MSI Plessey Symbology Bit Controls 0 MSI Plessey 1 [3:1] Checksum 4 Improved Bounds Value 0: Disabled 1: Enabled 0: Disabled 1: Enabled 1: 1 mod 10 2: mod 10 and mod 11 3: 2 mod 10 5: 1 mod 10 strip cs 6: mod 10 and mod 11 strip cs 7: 2 mod 10 strip cs 0: Disabled 1: Enabled Binary Dip Switch Bit Controls 50 Aztec Symbology 1 0 1 53 Decoder HD field (FOI0) Width 54 Decoder HD field (FOI0) Height 55 Notify Of Read Failure A-36 Value 0: Disabled Aztec
Appendices 59 Beep Duration 64 (#100) 66 Bypass Illumination 0 6A UPC Symbology 1 6B Code 39 Symbology 1 6C Code 93 Symbology 1 6D Code 128 Symbology 1 6E Interleaved 2 Of 5 Symbology 1 6F Codabar Symbology 1 Valid Range: 0 to 7FFFFFFF Milliseconds Also see registers: 26, A7 Valid Range: 0 to 64 (#100) percent 0: Disabled 1: Enabled Also see registers: 4D, 4E, 74 0: Disabled 1: Enabled Also see register: 70 0: Disabled 1: Enabled 0: Disabled 1: Enabled 0: Disabled 1: Enabled Also see
Serial Commands Binary Dip Switch Bit Controls 0 85 Trioptic Options 0 1 2 86 Motion Detection: Event 3 87 Motion Sensitivity 5 93 Suppress Beep On Decode 0 98 Decoder HD field (FOI0) X Offset 0 A-38 Value 0: Disabled Trioptic Decoding, Normal Quiet Zones 1: Enabled 0: Disabled Allow Short Quiet Zones 1: Enabled No Quiet Zones 0: Disabled (requires firmware 1: Enabled version 3280+) Valid Range: (see register 39) Motion detection is enabled by setting register C4 to 0xF0.
Appendices 99 9A 9B 9D A2 A7 AC Valid Range: 0 to 959 pixels Decoder uses the pixels after the specified Decoder HD field (FOI0) Y Offset 0 pixel offset in the HD field (FOI0). Also see registers: 53, 54, 98 Valid Range: 0 to 639 pixels Decoder uses the pixels after the specified Decoder Wide field (FOI1) X Offset 0 pixel offset in the Wide field (FOI1).
Serial Commands AD Wide field (FOI1) Picture Window Upper Position AE Wide field (FOI1) Picture Window Width AF Wide field (FOI1) Picture Window Height B0 Target On Before Picture (ms) B3 Number Of Retries Before Reader Gives Up Sending Packet BF USB Keyboard Poll Rate A-40 Specify upper edge of window used with “take picture.” The position and size are relative to the virtual image (i.e., not the rotated physical image). Note: Overall image is 960 pixels by 0 1280 pixels.
Appendices C4 C7 C8 C9 CD CE CF D8 EB EC The default value of FF (idle event) disables “continuous scanning”. Use one of the read events to enable “continuous scanning.” See setting 39 for the list of events. Default (Continuous) Event FF (#255) When no button is pressed but the Reader is still in active mode (i.e., not power-saving idle or sleep modes), this event will be posted.
Serial Commands ED Prefix Decode Result With AIM Symbology Identifiers 0 F0 Allow Code 128 Short Margin 1 F6 Code 39 Short Margin 1 F8 PharmaCode Symbology 0 F9 PharmaCode Bar Count 1004 (#4100) FA PharmaCode Min Value F (#15) FB PharmaCode Max Value 1FFFE (#131070) 10B Enable JavaScript 1 10D Data Matrix Symbol Identification Effort 2 12C Data Matrix Improvement A-42 1 0: Don’t prefix with AIM identifier 1: Prefix decode result with ISO/IEC standard 15424/AIM symbology identi
Appendices Binary Dip Switch Bit Controls 12D Hong Kong 2 Of 5 Symbology 0 Hong Kong 2 of 5 decoding 1 1 Digit Symbol Allowed 2 2 Digit Symbol Allowed 0 137 PDF417 Handle Invalid Shift 0 159 Ignore Duplicate Code (ms) 0 0: Disabled 1: Enabled Allows the decoding of PDF417 bar codes that were improperly encoded Valid Range: 0 to 7FFFFFF Milliseconds Consecutive duplicate codes (i.e., codes that contain the same data) are blocked for this amount of time (in milliseconds).
Serial Commands Binary Dip Switch Bit 1DC Pharmacode Settings 28A40 1EA 1EB C8 (#200) 32 (#50) 20E A-44 Good Read Duration (ms) Decoder Data Matrix Module Size Motion Detection: Start Delay (ms) 0 Controls Value 0: Forward Direction 0 1: Reverse 0: Disabled Fixed Symbol 1 Length Status 1: Enabled 0 = Mixed 1 = All Narrow 2 = All Wide 3-2 Bar Width Status 3 = Use Fixed Threshold Minimum Number of 4-10 (#16) 8-4 Bars Value (Default 4) Fixed Symbol 1-10 (16) 13-9 Length Value (Default 5) 0-FFFF 29-
Appendices CRB System The CRB system is a convenient method for creating and maintaining a set of commands that can be easily sent to the reader. These CRB files can be created in any text editor with the file extension of .crb. The CRB system accepts all of the valid text commands. The most commonly used commands are J, N, P, and ~. There should be one command per line. The CRB file may contain empty lines and comments as well. The .
Serial Commands CRC16.c: // crc16.c #include crc_t crc ( crc_t initialCrc , const unsigned char* p , size_t n ) { enum { crcBits = 16, charBits = 8, diffBits = crcBits - charBits }; crc_t c = initialCrc; #include "crc16tab.
Appendices CRC16tab.h: /* crc16tab.h * crc16 table of partial remainders generated by * mkcrctab.c with polynomial 1021. * included only from within crc() function in file crc16.
Communications Protocol Appendix E — Communications Protocol Communications Protocol Command Table Protocol Command (Mnemonic displayed on menu) Control Characters (Entered in menu or serial command) Hex Value Effect of Command RES ^D 04 Reset REQ ^E 05 Request EOT ^D 04 Reset STX ^B 02 Start of Text ETX ^C 03 End of Text ACK ^F 06 Acknowledge NAK ^U 15 Negative Acknowledge XON ^Q 11 Begin Transmission XOFF ^S 13 Stop Transmission A-48 HS-21/HS-41X Handheld Reader U
Appendices Appendix F — ASCII Table Dec 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Hex 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 10 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 1E 1F Mne NUL SOH STX ETX EOT ENQ ACK BEL BS HT LF VT FF CR SO SI DLE DC1 DC2 DC3 DC4 NAK SYN ETB CAN EM SUB ESC FS GS RS US Ctrl ^@ ^A ^B ^C ^D ^E ^F ^G ^H ^I ^J ^K ^L ^M ^N ^O ^P ^Q ^R ^S ^T ^U ^V ^W ^X ^Y ^Z ^[ ^\ ^] ^^ ^_ Dec 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
Maintenance Appendix G — Maintenance The HS-21 and HS-41X require only a minimum of maintenance to operate. Cleaning the HS-21 and HS-41X The reader’s window should be kept clean and free of debris to ensure optimal performance. Do not touch the window. If the window becomes dirty, clean it with a soft, non-abasive cloth or a facial tissue (no lotions or additives) that has been moistened with water.
Appendices Appendix H — Glossary of Terms Aberration — The failure of an optical lens to produce an exact point-to-point correspondence between the object and its resulting image. Various types are chromatic, spherical, coma, astigmatism and distortion. Absorption — The loss of light of certain wavelengths as it passes through a material and is converted to heat or other forms of energy. (–) Active Illumination — Lighting an area with a light source coordinated with the acquisition of an image.
Glossary of Terms Delimited — A delimited command or field is bracketed by predefined characters. Decode Rate — The number of good reads per second ahieved by a reader. Darkfield Illumination — Lighting of objects, surfaces, or particles at very shallow or low angles, so that light does not directly enter a reader’s optical hardware. Depth-of-Field — The in-focus range of a reader. Measured from the distance behind an object to the distance in front of the object with all objects appearing in focus.
Appendices Good Read — A decode. The successful scanning and decoding of the information encoded in a bar code symbol. Half Duplex — A communications system in which signals can travel between devices in both directions, but not simultaneously. Host — A computer, PLC, or other device that is used to execute commands and process data and discrete signals. Image Sensor — A device that converts a visual image to an electrical signal; a CCD, for example.
Glossary of Terms PLC — See Programmable Logic Controller. Port — Logical circuit for data entry and exit. (One or more ports may be included within a single connector.) Programmable Logic Controller (PLC) — An electronic device used in industrial automation environments such as factory assembly lines and automotive manufacturing facilities. Protocol — The rules for communication between devices, providing a means to control the orderly flow of information between linked devices.