MS 4 Imager User's Manual Ms4manual
2010-05-18
: Microscan Ms4Manual ms4manual bfd67ff5-e080-4103-8ffb-738df1f47de2 _att
Open the PDF directly: View PDF .
Page Count: 390
Download | |
Open PDF In Browser | View PDF |
MS-4 Imager User’s Manual P/N 83-000004 Rev E Copyright and Disclaimer Copyright ©2010 Microscan Systems, Inc. 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. Throughout this manual, trademarked names might be used. Rather than place a trademark (™) symbol at every occurrence of a trademarked name, we state herein that we are using the names only in an editorial fashion, and to the benefit of the trademark owner, with no intention of infringement. Disclaimer The information and specifications described in this manual are subject to change without notice. Latest Manual Version For the latest version of this manual, see the Download Center on our web site at: www.microscan.com. Technical Support For technical support, e-mail: helpdesk@microscan.com. Warranty and Terms of Sale For Standard Warranty information, see: www.microscan.com/warranty. Microscan Systems, Inc. Renton Headquarters Tel: 425.226.5700 / 800.251.7711 Fax: 425.226.8250 Nashua Office Tel: 603.598.8400 Fax: 603.577.5818 Microscan Europe Tel: 011 31 172 423360 Fax: 011 31 172 423366 Microscan Asia Pacific Tel: 65 6846 1214 Fax: 65 6846 4641 ii MS-4 Imager User’s Manual Introduction Table of Contents Chapter 1 Quick Start Step 1 Check Required Hardware ........................................................... 1-2 Step 2 Connect the System ..................................................................... 1-3 Step 3 Position Imager and Symbol ........................................................ 1-4 Step 4 Install ESP.................................................................................... 1-5 Step 5 Select Model ................................................................................ 1-6 Step 6 Select Communications Protocol ................................................. 1-7 Step 7 Locate the Symbol in the FOV ..................................................... 1-8 Step 8 Calibrate Settings ....................................................................... 1-10 Step 9 Test Read Rate .......................................................................... 1-11 Step 10 Configure the Imager in ESP ................................................... 1-12 Step 11 Make Menu Changes and Save in ESP ................................... 1-13 Chapter 2 Using ESP EZ Mode .................................................................................................. 2-2 Application Mode ..................................................................................... 2-3 Menu Toolbar .......................................................................................... 2-4 Connecting ........................................................................................... 2-12 View ...................................................................................................... 2-13 Navigating in ESP................................................................................. 2-14 Send/Receive Options .......................................................................... 2-15 Using EZ Trax........................................................................................ 2-17 Chapter 3 Communications Communications by ESP......................................................................... 3-2 Communications Serial Commands ........................................................ 3-3 Host Port Connections............................................................................. 3-4 Host Port Protocol ................................................................................... 3-5 ACK/NAK Options ................................................................................... 3-7 Polling Mode Options .............................................................................. 3-8 RS-422 Status ......................................................................................... 3-9 Auxiliary Port Connections .................................................................... 3-10 Auxiliary Port System Data Status......................................................... 3-18 Daisy Chain Autoconfigure .................................................................... 3-19 Response Timeout ................................................................................ 3-20 LRC Status ............................................................................................ 3-21 Protocol Configuration Examples .......................................................... 3-22 USB HID Interface ................................................................................. 3-23 ASCII Character Entry Modifier ............................................................. 3-32 Preamble ............................................................................................... 3-33 Postamble.............................................................................................. 3-34 Chapter 4 Calibration Calibration Serial Commands .................................................................. 4-2 MS-4 Imager User’s Manual iii Table of Contents Calibration Overview ............................................................................... 4-2 Calibration Options .................................................................................. 4-3 Calibration by ESP ................................................................................ 4-10 Initiating Calibration ............................................................................... 4-12 Additional Notes about Calibration ........................................................ 4-17 Chapter 5 Read Cycle Read Cycle by ESP ................................................................................. 5-2 Read Cycle Serial Commands ................................................................ 5-3 Read Cycle Setup ................................................................................... 5-4 Multisymbol ............................................................................................. 5-5 Trigger Mode and Duration ..................................................................... 5-6 External Trigger Polarity ........................................................................ 5-11 Serial Trigger ......................................................................................... 5-12 Start Trigger Character (Non-Delimited)................................................ 5-13 Stop Trigger Character (Non-Delimited)................................................ 5-13 End of Read Cycle ................................................................................ 5-14 Capture Mode........................................................................................ 5-16 Capture Timing ...................................................................................... 5-20 Image Processing Timeout.................................................................... 5-22 Image Storage ....................................................................................... 5-23 Minimum Good Reads........................................................................... 5-25 Setting Up the Imager for EZ Trax ........................................................ 5-26 Chapter 6 Symbologies Symbologies by ESP............................................................................... 6-2 Symbologies Serial Commands .............................................................. 6-3 Data Matrix .............................................................................................. 6-4 QR Code ................................................................................................. 6-6 Code 39 ................................................................................................... 6-7 Code 128 / EAN 128 ............................................................................. 6-10 BC412 ................................................................................................... 6-13 Interleaved 2 of 5................................................................................... 6-14 Code 93 ................................................................................................. 6-17 Codabar................................................................................................. 6-18 UPC / EAN ............................................................................................ 6-21 GS1 DataBar (RSS) .............................................................................. 6-25 PDF417 ................................................................................................. 6-27 MicroPDF417 ........................................................................................ 6-29 Composite ............................................................................................. 6-30 Narrow Margins / Symbology Identifier.................................................. 6-31 Background Color.................................................................................. 6-33 Chapter 7 I/O Parameters I/O Parameters by ESP ........................................................................... 7-2 I/O Parameters Serial Commands .......................................................... 7-3 Symbol Data Output ................................................................................ 7-4 iv MS-4 Imager User’s Manual Introduction No Read Message ................................................................................... 7-6 Bad Symbol Message.............................................................................. 7-8 No Symbol Message ............................................................................... 7-8 1D / Stacked Symbology Qualification .................................................... 7-9 2D Symbology Qualification .................................................................. 7-10 Read Duration Output............................................................................ 7-16 Output Indicators ................................................................................... 7-17 Beeper ................................................................................................... 7-21 LED Configuration ................................................................................. 7-22 Serial Verification................................................................................... 7-23 EZ Button............................................................................................... 7-25 EZ Button Modes ................................................................................... 7-27 Configurable Output 1 ........................................................................... 7-29 Trend Analysis Output 1 ........................................................................ 7-32 ISO/IEC 16022 Symbol Quality Output 1 .............................................. 7-35 Diagnostic Output 1 ............................................................................... 7-38 Configurable Output 2 ........................................................................... 7-39 Trend Analysis Output 2 ........................................................................ 7-39 ISO/IEC 16022 Symbol Quality Output 2 .............................................. 7-39 Diagnostic Output 2 ............................................................................... 7-39 Configurable Output 3 ........................................................................... 7-40 Trend Analysis Output 3 ........................................................................ 7-40 ISO/IEC 16022 Symbol Quality Output 3 .............................................. 7-40 Diagnostic Output 3 ............................................................................... 7-40 Power-On/Reset Counts........................................................................ 7-41 Time Since Reset .................................................................................. 7-42 Service Message ................................................................................... 7-43 Frame Information ................................................................................. 7-44 Image Output ......................................................................................... 7-45 Database Identifier Output..................................................................... 7-48 Quality Output........................................................................................ 7-49 Configuring EZ Trax Output................................................................... 7-50 Chapter 8 Symbol Quality Symbol Quality Serial Commands ........................................................... 8-2 Overview of Symbol Quality .................................................................... 8-3 Symbol Quality by ESP ........................................................................... 8-4 Symbol Quality Separator / Data Matrix Output Mode ............................ 8-8 ISO/IEC 16022 Symbol Quality Output ................................................. 8-10 ISO/IEC 16022 Symbol Quality Output by ESP .................................... 8-12 Microscan Symbol Quality Output ......................................................... 8-13 Microscan Symbol Quality Output by ESP ............................................ 8-16 Chapter 9 Matchcode Matchcode by ESP .................................................................................. 9-2 Matchcode Serial Commands ................................................................. 9-2 MS-4 Imager User’s Manual v Table of Contents Overview of Matchcode ........................................................................... 9-3 Matchcode Type ...................................................................................... 9-4 Match Replace ........................................................................................ 9-9 Mismatch Replace ................................................................................. 9-10 New Master Pin ..................................................................................... 9-11 Chapter 10 Camera and IP Setup Camera and IP Setup by ESP............................................................... 10-2 Camera and IP Setup Serial Commands .............................................. 10-3 Video ..................................................................................................... 10-4 Evaluation.............................................................................................. 10-5 Calibration ............................................................................................. 10-9 Window of Interest............................................................................... 10-10 Configuration Database....................................................................... 10-13 Dynamic Setup .................................................................................... 10-14 Pixel Sub-Sampling ............................................................................. 10-15 Camera................................................................................................ 10-16 Focal Distance..................................................................................... 10-18 Focal Distance Table (Read-Only) ...................................................... 10-19 IP Threshold ........................................................................................ 10-20 Number of Symbols in Field of View ................................................... 10-22 Image Processing Timeout.................................................................. 10-23 Damaged Symbol ................................................................................ 10-24 IP Mode ............................................................................................... 10-25 Hollow Mode........................................................................................ 10-26 Mirrored Image .................................................................................... 10-27 Illumination Brightness ........................................................................ 10-28 Skew Correction .................................................................................. 10-29 Chapter 11 Configuration Database Configuration Database Serial Commands ........................................... 11-2 Number of Active Indexes ..................................................................... 11-3 Configuration Database Status ............................................................. 11-4 Database Mode ..................................................................................... 11-9 Save Current Settings to Configuration Database .............................. 11-14 Load Current Settings from Configuration Database .......................... 11-15 Request Selected Index Settings ........................................................ 11-16 Request All Configuration Database Settings ..................................... 11-17 Chapter 12 Terminal Terminal Window................................................................................... 12-2 Find ....................................................................................................... 12-3 Send ...................................................................................................... 12-4 Macros................................................................................................... 12-5 Terminal Window Menus ....................................................................... 12-6 Chapter 13 Utilities Serial Utility Commands ........................................................................ 13-2 vi MS-4 Imager User’s Manual Introduction Read Rate ............................................................................................. 13-4 Counters ................................................................................................ 13-5 Device Control ....................................................................................... 13-7 Master Database ................................................................................... 13-8 Firmware.............................................................................................. 13-14 Bar Code Configuration ....................................................................... 13-17 Default / Reset / Save.......................................................................... 13-18 Imager Status Requests ...................................................................... 13-20 Other Operational Serial Commands .................................................. 13-22 Chapter 14 Output Format Output Format Serial Commands .......................................................... 14-2 Output Format Status ............................................................................ 14-3 Format Assign ....................................................................................... 14-4 Format Extract ....................................................................................... 14-5 Format Insert ......................................................................................... 14-7 Output Filter Configuration .................................................................... 14-9 Ordered Output Filter........................................................................... 14-13 Appendices Appendix A General Specifications .........................................................A-2 Appendix B Electrical Specifications .......................................................A-5 Appendix C Serial Configuration Commands ..........................................A-6 Appendix D Communications Protocol ..................................................A-12 Appendix E ASCII Table ........................................................................A-21 Appendix F Interface Standards ............................................................A-22 Appendix G Object Detector ..................................................................A-23 Appendix H Operational Tips.................................................................A-24 Appendix I USB-to-Serial Virtual COM Port Driver ................................A-25 Appendix J Glossary of Terms ..............................................................A-28 Index MS-4 Imager User’s Manual vii About the MS-4 Imager About the MS-4 Imager The key features of the MS-4 are: • • • • • • • A multi-function EZ button for location, calibration, and symbol reading. A target pattern symbol locator that identifies the center point of the field of view. A green flash (visible from all angles) to signal a successful read. Ability to read both 2D and linear symbols. Ability to read difficult and damaged symbols. USB, RS-232, RS-422 connectivity options. Standard Density and Low Density options. About This Manual This manual provides complete information on setting up, installing, and configuring the Imager. The chapters are presented in the order in which an Imager might be set up and made ready for operation. Highlighting Commands are highlighted in rust bold. Cross-references and web links are highlighted in blue bold. References to ESP, its toolbar headings (Communications, Read Cycle, Symbologies, etc.), menu topics, and other points of emphasis, are highlighted in Bold Initial Caps. References to topic headings within this manual or other documents are enclosed in quotation marks. Host Communications There are four ways to configure and test the MS-4: 1. EZ button. 2. Microscan’s Windows-based ESP (Easy Setup Program), which offers point-and-click ease of use and visual responses to user adjustments. 3. Serial commands, such as, that can be sent from ESP’s Terminal window or another terminal program. 4. The tree control menus and graphic interfaces in ESP’s App Mode. viii MS-4 Imager User’s Manual Introduction Warning and Caution Summary WARNING LED LIGHT DO NOT VIEW DIRECTLY WITH OPTICAL INSTRUMENTS CLASS 1 LED PRODUCT LED Output: .564 mW. Wavelength: 470 nm; 525 nm; 617 nm. IEC 60825-1:1993+A1:1997+A2:2001 • Viewing the MS-4’s LED output with optical instruments such as magnifiers, eye loupes, or microscopes within a distance of 100 mm could cause serious eye injury. • Maximum LED output: .564 mW. • Wavelength: 470 nm; 525 nm; 617 nm. • Location of the MS-4’s LED aperture window: LED Aperture Window CAUTION: Use of controls or adjustments or performance of procedures other than those specified herein may result in hazardous radiation exposure. IMPORTANT: The MS-4 is intended for connection to a UL-listed direct plug-in power unit marked Class II and rated 5 VDC at 3 Watts, or greater if using electrical accessories. European models must use a similarly rated Class I or Class II power supply that is certified to comply with standard for safety EN 60950. MS-4 Imager User’s Manual ix Statement of Agency Compliance Statement of Agency Compliance The MS-4 Imager has been tested for compliance with FCC (Federal Communications Commission) regulations and has been found to conform to all applicable FCC Rules and Regulations. 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. Changes or modifications not expressly approved by the party responsible for compliance could void the user’s authority to operate the equipment. The MS-4 Imager has been tested for compliance with CE (Conformité Européenne) standards and guidelines, and has been found to conform to applicable CE standards, specifically the EMC requirements EN 55024, ESD EN 61000-4-2, Radiated RF Immunity EN 61000-4-3, ENV 50204, EFT EN 61000-4-4, Conducted RF Immunity EN 61000-4-6, EN 55022, Class B Radiated Emissions, and Class B Conducted Emissions. The MS-4 Imager has been tested by an independent electromagnetic compatibility laboratory in accordance with the applicable specifications and instructions. x MS-4 Imager User’s Manual Introduction 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 the European Parliament and the Council of the European Union for RoHS compliance. In accordance with the latest requirements, our RoHS-compliant products and packaging do not contain intentionally added Deca-BDE, Perfluorooctanes (PFOS) or Perfluorooctanoic Acid (PFOA) compounds above the maximum trace levels. To view the documents stating these requirements, please visit: http://eur-lex.europa.eu/LexUriServ/LexUriServ.do?uri=CELEX:32002L0095:EN:HTML and http://eur-lex.europa.eu/LexUriServ/LexUriServ.do?uri=OJ:L:2006:372:0032:0034:EN:PDF Please contact your sales manager for a complete list of Microscan’s RoHS-Compliant products. This declaration is based upon information obtained from sources which Microscan believes to be reliable, and from random sample testing; however, the information is provided without any representation of warranty, expressed or implied, regarding accuracy or correctness. Microscan does not specifically run any analysis on our raw materials or end product to measure for these substances. The information provided in this certification notice is correct to the best of Microscan’s knowledge at the date of publication. This notice is not to be considered a warranty or quality specification. Users are responsible for determining the applicability of any RoHS legislation or regulations based on their individual use of the product. MS-4 Imager User’s Manual xi Statement of RoHS Compliance xii MS-4 Imager User’s Manual 1 Quick Start Contents Step 1 Check Required Hardware ................................................................................................ 1-2 Step 2 Connect the System .......................................................................................................... 1-3 Step 3 Position Imager and Symbol.............................................................................................. 1-4 Step 4 Install ESP ......................................................................................................................... 1-5 Step 5 Select Model...................................................................................................................... 1-6 Step 6 Select Communications Protocol....................................................................................... 1-7 Step 7 Locate the Symbol in the FOV........................................................................................... 1-8 Step 8 Calibrate Settings ........................................................................................................... 1-10 Step 9 Test Read Rate .............................................................................................................. 1-11 Step 10 Configure the Imager in ESP........................................................................................ 1-12 Step 11 Make Menu Changes and Save in ESP ....................................................................... 1-13 This section is designed to get your MS-4 Imager up and running quickly, using the EZ button or ESP (Easy Setup Program). Following these steps will allow you to get a sense of the Imager’s capabilities and to test sample symbols. Detailed setup information for installing the Imager into your actual application can be found in the subsequent chapters. MS-4 Imager User’s Manual 1-1 Check Required Hardware Step 1 — Check Required Hardware Item 1 2 Description MS-4 Imager IB-3PC 3 Power Supply 4 Comm. Cable Part Number FIS-0004-XXXXG FIS-0001-0030G 97-000002-01 (90-264 VAC, +5VDC) 97-100004-15 (24VDC) 61-000010-02 To additional imagers or terminating resistor 1 To host Hardware Required (RS-232 / RS-422) Hardware Required (USB) Caution: Be sure that all cables are connected BEFORE applying power to a system with an external power source (RS-232 / RS-422). Always power down BEFORE disconnecting any cables. 1-2 MS-4 Imager User’s Manual Quick Start Step 2 — Connect the System Connecting by RS-232 / RS-422 • • • • Connect the Imager (1) to the IB-3PC interface (2). Connect the comm. cable (4) to the host (5) and to the host connector on the IB-3PC (2). Connect power supply (3) to the IB-3PC (2). Apply power to the Imager. Connecting by USB • Plug the MS-4 Imager’s USB cable into a host USB port. The host will power the Imager. To additional imagers or terminating resistor 1 To host Hardware Configuration (RS-232 / RS-422) Hardware Configuration (USB) Caution: Be sure that all cables are connected BEFORE applying power to a system with an external power source (RS-232 / RS-422). Always power down BEFORE disconnecting any cables. MS-4 Imager User’s Manual 1-3 Position Imager and Symbol Step 3 — Position Imager and Symbol • Position the Imager at a distance from the symbol that matches the factory pre-set focal distance. For example, if your MS-4 is pre-set at 4”, position the Imager’s parting line 4” from the symbol. • Tip the Imager relative to the symbol to avoid the glare of direct (specular) reflection. The case parting line should be perpendicular to the plane of the symbol by either pitching the symbol or the Imager as shown. • Position the Imager in a place with as little ambient light as possible. • Symbols can be rotated (tilted) at any angle; however, for best results symbols should be aligned with the FOV (field of view). ±30° Imager Position Relative to Symbol • In the case of linear symbols, aligning the bars in the direction of their movement (“ladder” orientation) will minimize the chances of blurring, and will produce better reads. • Avoid excessive skew or pitch. Maximum skew is ±30°; maximum pitch is ±30°. Note: For instant setup and validation, the MS-4 can be hand-held or placed on its side. For accuracy, however, Microscan’s mounting arm adapter kits (P/N 98-000048-01) are recommended. 1-4 MS-4 Imager User’s Manual Quick Start Step 4 — Install ESP Easy Setup Program (ESP) is Microscan’s proprietary setup and testing application. The purpose of ESP is to provide a quick and easy way to set up and configure Microscan readers. When the MS-4 is connected to a host computer (Windows Vista, XP, or 2000), ESP can be used to configure reader settings and to set up communications between the reader and host. If installing from the Microscan Tools CD: 1. 2. 3. 4. Insert the Microscan Tools CD in your computer’s CD drive. Select ESP Software from the navigation bar at the left of the screen. Click on ESP Software under the Current Version heading. Click the Run button and follow the prompts in the ESP Setup Wizard. Note: During installation, you may see an Internet Explorer Security Warning that states: “The publisher could not be verified.” If you see this warning, click Run to continue installation. If downloading from the web: 1. Go to the Download Center at www.microscan.com. 2. Create a new member account or, if you are already a member, enter your user name and password. 3. Navigate to the “Microscan Software” section of the Download Center (near the top of the page). 4. Click on the link showing the latest version of ESP. Extract the ESP installation files to a location of your choice on the host computer. Note where your ESP.exe file is stored on your hard drive. 5. At the end of the installation process, the following icon will appear on your desktop: 6. Click the ESP icon to start the program. System Requirements for ESP • • • • • • 166 MHz Pentium processor (recommended) Windows Vista, XP, or 2000 operating system Internet Explorer 5.0 or higher 64 MB minimum RAM 40 MB minimum disk space 800 x 600 pixel minimum 256 color display MS-4 Imager User’s Manual 1-5 Select Model Step 5 — Select Model When you start ESP, the following menu will appear: 1. Click the MS-4 button and then click OK. If you do not want to make this selection every time you start ESP, uncheck “Show this window at Startup”. 2. Select the default reader name (MS-4-1), or type a name of your choice in the Description text field and click OK. 3. Click Yes when this dialog appears: Note: If you need to select another reader model later, click the Switch Model button near the top of the screen. 1-6 MS-4 Imager User’s Manual Quick Start Step 6 —Select Communications Protocol Important: The Imager is in Continuous Read Mode by default. For best connection results, be sure that no symbols are within the Imager’s field of view while attempting to connect. • When the Select Protocol dialog appears, choose your connection protocol and click Next. If you choose USB protocol: If you choose RS-232 protocol: • Select the MS-4 from the Select Device menu and click Finish. • Click Connect. When you are connected, you will see the green connection indicator in the status bar at the bottom right of your screen. USB: RS-232: • If you are using an RS-232 interface and your connection attempt fails, click the Autoconnect button, select a different communications port, and try again. Note: If your RS-232 host settings cannot be changed to match the Imager’s settings, check the Force Connect box. MS-4 Imager User’s Manual 1-7 Locate the Symbol in the FOV Step 7 — Locate the Symbol in the FOV • Move the symbol or the Imager so that the blue target pattern is centered over the symbol. At 2 to 3 inches, the pattern resembles an X. At 3 to 6 inches, the pattern resembles a V. It is important for the whole symbol to fall within the field of view (FOV) of the Imager. The field of view is what appears in ESP’s Locate/Calibrate window. Center on object in field of view. Target pattern shown as it would appear between 3 and 6 inches. Locate by EZ Button If you are not connected to a host computer, the EZ button will allow you to locate a symbol in the Imager’s FOV. • Hold down the EZ button for about one second and release when you hear one short beep. The amber 20% LED will turn on, and you will see the blue target pattern projected from the front of the Imager. • Center the target pattern on the symbol. Note: To end all EZ button functions, press the EZ button once and quickly release. 1-8 MS-4 Imager User’s Manual Quick Start Locate by ESP • In ESP’s EZ Mode, click the Locate button to enable the target pattern. You will see the blue target pattern projected from the front of the Imager. • Center the target pattern over the symbol you wish to read. Center on object in field of view. Target pattern shown as it would appear between 3 and 6 inches. • Click the Stop button to end the Locate function. MS-4 Imager User’s Manual 1-9 Calibrate Settings Step 8 — Calibrate Settings MS-4 image settings can be adjusted automatically for optimum readability by either the EZ button or by ESP. During the calibration routine, the reader will flash its amber read rate percent LEDs and red illumination LEDs while searching through various focus and camera settings and determining the best configuration for decoding symbol data. Upon successful completion of this routine, a green LED pattern will flash brightly and illuminate the symbol. If unsuccessful, the Imager will emit 5 short beeps and stop searching. Calibrate by EZ Button 1. Hold down the EZ button about two seconds and release when you hear two short beeps. The 20% and 40% LEDs will illuminate. 2. The Imager will search through various camera and IP settings to determine the best configuration for decoding symbol data. Important: The object must be centered in the field of view for the calibration process to be successful. Note: To end all EZ button functions, press the EZ button once and quickly release. Calibrate by ESP 1. Click the Calibrate button. 2. The Imager will search through various camera and IP settings to determine the best configuration for decoding symbol data. A successful calibration will display a green frame around the symbol, and the following message will appear: “Uploading all reader parameters.” After a moment the symbol’s data and related features will be presented under the “Symbol Information” box below the image display window. Calibrate by Serial Command Send <@CAL> to begin calibration. 1-10 MS-4 Imager User’s Manual Quick Start Step 9 — Test Read Rate This test will let you know the percent of good reads per image captures the Imager is producing. Testing by EZ Button 1. To start the read rate test, hold down the EZ setup button about three seconds until you hear three short beeps. The 20%, 40%, and 60% LEDs will illuminate. While the symbol is being decoded, the read rate LEDs will indicate the corresponding read rate percentage on the back of the unit. 2. To end the read rate test, press the EZ button and quickly release. Testing by ESP 1. Click the Test button to start the read rate test and Stop to end it. If your symbol has been successfully decoded, its data and related features will be presented under “Symbol Information.” Also, while the symbol is being decoded, the read rate LEDs will indicate the corresponding read rate percentage on the back of the unit. 2. To end the test, click the Stop button. Testing by Serial Command You can also start a test with the or command and end it with the command. MS-4 Imager User’s Manual 1-11 Configure the Imager in ESP Step 10 — Configure the Imager in ESP To make setup changes to the MS-4, click the App Mode button. The following modes are accessible by clicking the buttons in the first row of App Mode icons: • • • • Establish communications between ESP and the Imager by clicking the Autoconnect button. Send or receive commands by clicking the Send/Recv button. Make changes to Camera options by clicking the Camera button. Access the Terminal window, where you can see symbol data and enter serial commands, by clicking the Terminal button. • Review status settings or make changes to operational commands by clicking the Utilities button. • Format data for output by clicking the Output Format button. Click the Configuration button to display the second row of ESP icons. From here you can make changes in the configuration trees that can be accessed by clicking the buttons on the second row of icons in the ESP window. For further details, see ESP Help in the pulldown Help menu. 1-12 MS-4 Imager User’s Manual Quick Start Step 11 — Make Menu Changes and Save in ESP To make changes to a configuration 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. 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 your selection. 5. Right click on the open screen and select Save to Reader to implement the command in the Imager. Saving Options • Send, No Save. Changes will be lost when power is re-applied to the Imager. • Send and Save. This activates all changes in current memory and saves to the Imager for power-on. MS-4 Imager User’s Manual 1-13 Make Menu Changes and Save in ESP 1-14 MS-4 Imager User’s Manual 2 Using ESP Contents EZ Mode........................................................................................................................................2-2 Application Mode...........................................................................................................................2-3 Menu Toolbar ................................................................................................................................2-4 Connecting ..................................................................................................................................2-12 View ............................................................................................................................................2-13 Navigating in ESP .......................................................................................................................2-14 Send/Receive Options ................................................................................................................2-15 Using EZ Trax .............................................................................................................................2-17 This section is designed to help you understand the structure, elements, and application of ESP (Easy Setup Program). When you open ESP, unless otherwise specified in the ESP Preferences dialog accessible from the Options heading on the menu toolbar, you will enter EZ Mode for initial setup. From there, you can enter Application Mode (App Mode) and access several configuration menus (Communications, Read Cycle, Symbologies, I/O Parameters, Symbol Quality, Matchcode, and Diagnostics), a Camera setup interface, a Terminal interface, a Utilities interface, and an Output Format interface. ESP can be used to configure the MS-4 Imager in four different ways. • Control Trees: Each configuration menu contains a list of all option settings that pertain to that specific element of Imager operation. For example, the Communications menu shows a Host Port Connections option, and then a list of the sub-options Baud Rate, Parity, Stop Bits, and Data Bits. Each of these sub-options is configurable by using dropdown menus. • Graphic User Interfaces: Imager settings can be configured using such point-and-click tools as radio buttons, zoom in/zoom out sliders, spin boxes, check boxes, and dragand-drop functions. • Terminal: ESP’s Terminal interface allows you to send serial configuration and utility commands directly to the Imager by typing them in the provided text field. • Symbol Configuration: The Imager can be configured by reading symbols produced in ESP’s Bar Code Dialog interface. Symbols can be created by dragging and dropping configuration settings from the control trees to the Bar Code Value field in the Bar Code Dialog, and then printing the new symbol. For ESP system requirements, see Chapter 1, Quick Start. MS-4 Imager User’s Manual 2-1 EZ Mode EZ Mode In EZ Mode you are presented with the Locate, Calibrate, and Test options. After connecting to your Imager, EZ Mode is the screen you will see. You will be provided with on-screen instructions that will help you with positioning, testing, and calibration. Test Click the Test button to start the read rate test for a quick indication of the Imager’s read capabilities and the limits of your application. When Decodes per Second is unchecked, the test will count the percentage of decodes relative to the number of actual scans. Click Stop to end the test. Calibrate The calibration routine that will optimize the Imager by comparing read rates at various camera and image processing settings. Enter App Mode to access configuration trees and other setup features. Click Calibrate to begin the initial calibration routine. Calbration is explained at the left of the EZ Mode screen, and also in the “Quick Start” chapter of this manual. Click Locate to activate the MS-4’s blue target pattern LEDs. Center the target pattern on the symbol. The real-time display shows you where the symbol is located in the Imager’s field of view. Starts read rate test. Click here to change from percentage of good decodes to decodes per second while performing a read rate test. 2-2 Ends read rate test. MS-4 Imager User’s Manual Using ESP Application Mode From EZ Mode, you can click on the App Mode button to access specific configuration menus, Utilities tools, Camera setup, Output Format options, 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. Camera Setup, advanced Calibration, Configuration Database. Click this icon to return to EZ Mode. Menu toolbar. Click here to open the Terminal view. Click here for Ordered Output and Output Format features. Click on icons in this row to access configuration trees like the one shown here. Click the Configuration icon to return to full App Mode view from Camera, Terminal, Utilities, or Output Format. Click Capture and Decode to read the symbol in the field of view, and to see a high resolution image capture of the symbol. Decoded symbol data is shown in this table. Note: For specific information on any of the icons shown above in the operations bar or configuration bar, see the corresponding chapters in this manual. MS-4 Imager User’s Manual 2-3 Menu Toolbar Menu Toolbar File > New Whenever New is selected, 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. Important: When you save menu changes to your hard drive, these changes are not saved to your Imager. The illustration below shows how settings can be saved and received between ESP and the Imager, and ESP and the host hard drive. (Save to Imager) (Receive Imager Settings) Import / Export Import converts the ASCII settings from a text file to ESP configuration settings. Export converts the active ESP configuration settings to an ASCII text file. 2-4 MS-4 Imager User’s Manual Using ESP Model In Model you can select any of the models shown in ESP’s model menu. When you choose another model, your current connection to your present model will be terminated. To connect to another model, select New Model, choose a new model from the menu, and click OK. Note: All the models you have enabled by selecting will continue to appear in the Model menu and that the same menu is repeated when clicking the Switch Model icon. When you save your ESP file, you will be saving the settings of all the models defined in a single ESP file. MS-4 Imager User’s Manual 2-5 Menu Toolbar Options The Options menu allows you to save memos and set up ESP Preferences. Note: Preferences will be saved and loaded into ESP when ESP is opened next, whether or not you save the ESP file. Preferences General Tab Reload Last File At startup, reloads the last file saved to the host computer’s hard drive. Show Model Prompt At startup, shows the model menu displaying all supported readers. Skip EZ Mode At startup, skips EZ Mode and opens directly in App Mode. Show Connect Prompt At startup, displays the Would you like to connect...? prompt. Receive After Connect At startup, loads the Imager’s settings into ESP. (This is not recommended if you want to preserve your ESP settings for future use.) Enable Send and Save as Customer Defaults At startup, enables the Send and Save as Customer Defaults option in the Send/Recv command. 2-6 MS-4 Imager User’s Manual Using ESP Terminal Tab When Show Non-Printable Characters is checked, 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 In this dialog you can first select the function key and then enter your macro keystrokes in the associated key map. For example, to make Ctrl-F5 the keystroke to enable, send a trigger character, select F5, and then in the Ctrl row, enter and click OK. Then whenever the Ctrl-F5 keystroke is pressed, the trigger character will start the read cycle. Change Font Allows you to modify the font used for decode data received from the Imager on the Terminal screen. Change Echo Font Allows you to modify the font used for command characters typed into the Terminal view. Toolbar Style Displays user-selected toolbar buttons as icons, text only, or both (default). MS-4 Imager User’s Manual 2-7 Menu Toolbar Bar Code Options Tab The Bar Code Options dialog allows you to set the size (in mils) of user-created symbols. Sizing Information Sets the bar width (in thousands of an inch) of user-created symbols. A bar width of 14 is 0.014 inches. 2-8 MS-4 Imager User’s Manual Using ESP Grade Report Options Tab Overall Grade Based On Allows you to choose which symbol characteristics will be considered in generating a symbol quality grade. Use Number Grades Allows you to switch from the default letter grades to number grades in symbol quality report output. Show Report Options during ‘Generate Report’ Sets the symbol quality report output to show the complete array of report options. Include Image Sets the symbol quality report output to include a captured image of the symbol being analyzed. Bitmap and JPEG image formats are both available. Bitmap images, although higher resolution, have larger file sizes and take longer to load. MS-4 Imager User’s Manual 2-9 Menu Toolbar Advanced Tab The Auto Sync dialog at the top of the Advanced tab allows you to determine whether Auto Sync will be automatically enabled in sections of ESP where it is used, or if it will ask you before it enables Auto Sync functions. Always Ask Before Auto Sync Occurs If you check this option box, you are then able to determine what specific Auto Sync functions will be enabled. Receive Settings from the Reader will automatically send the Imager’s settings to ESP when Auto Sync is enabled. Send ESP Settings to the Reader will automatically send all Imager configuration settings chosen in ESP to the Imager. Do Not Send or Receive Settings creates a condition in which Auto Sync will not send Imager settings to ESP, or send ESP settings to the Imager. Show Targeting Pattern During Calibrate and Locate Allows you to determine whether the blue LED target pattern will be on or off during the Locate and Calibrate routines. Send XON with Autoconnect Sends an XON (Begin Transmission) command to the Imager before starting the Autoconnect routine. 2-10 MS-4 Imager User’s Manual Using ESP 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. Note: Memos must be saved in a .esp file if you want them to available in your next session. If you do not save your current session, any memos that you have entered during the session will be discarded, and will be unavailable in your next session. MS-4 Imager User’s Manual 2-11 Connecting Connecting When you open ESP and the Select Protocol dialog appears, choose either RS-232 or USB protocol and click Next. The MS-4 Imager’s default trigger mode is Continuous Read Mode. The USB version of the MS-4 will be in a keyboard wedge configuration, causing ESP to receive incoming symbol data as keyboard text. This will interfere with the connection attempt and cause it to fail. Be sure that no symbols are within the Imager’s field of view while connecting to ESP. If you choose USB protocol: If you choose RS-232 protocol: Select the MS-4 from the Select Device menu and click Finish. Click Connect. When you are connected, you will see the green connection indicator in the status bar at the bottom right of your screen. USB: RS-232: Important: If you are using an RS-232 interface and your connection attempt fails, click the Autoconnect button, select a different communications port, and try again. Note: If your RS-232 host settings cannot be changed to match the Imager’s settings, check the Force Connect box. 2-12 MS-4 Imager User’s Manual Using ESP View The View menu allows you to move quickly between interfaces without using the icon buttons on the App Mode toolbar. It also allows you to access the Bar Code Dialog. Bar Code Dialog In the Bar Code Dialog you can create symbols by typing the text you wish to encode. This is a useful tool for creating configuration symbols, allowing you to configure your reader by reading the symbols you create. Drag specific configuration values from the control tree directly into this field to encode new symbols. Choose a spatial orientation for the new symbol. Set a humanreadable caption for the symbol that matches the encoded data, or write your own caption. The symbol you create will be displayed in the field at the bottom of the Bar Code Dialog. MS-4 Imager User’s Manual 2-13 Navigating in ESP Navigating in ESP To change Imager settings, or to access the Utilities, Camera, Terminal, or Output Format views, click the App Mode button. To return to EZ Mode, click the EZ Mode button. To make changes to configuration settings in the control trees: 1. Left click on the + to expand menu items. The X denotes the default option setting. 2. Double click the desired parameter and single click 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 single click the setting. 4. Left click again on the open screen to complete the selection. 5. Right click on the open screen and select Save to Reader to implement the command in the Imager. You can send the command without saving it, or you can send and save the command simultaneously. 2-14 MS-4 Imager User’s Manual Using ESP Send/Receive Options To access Receive, Save and Default options, click the Send/Recv button. You can also access these options by right-clicking in any of the configuration views. Receiving From the Send/Recv menu, select Receive Reader Settings. Caution: Do not select this option if you do not want to upload the Imager’s settings. For example, if your ESP file has a number of custom settings that you want to maintain and download into the Imager, these settings would be lost by choosing Yes. This is useful if you want to receive (upload) the Imager’s settings and save them as a file for future use. For example, if your Imager has settings that you do not want to change, choosing Yes would allow you to load those settings to ESP and save them in an ESP file for later retrieval. Receiving the Imager’s settings will also assure that you will not be subsequently saving any unwanted changes that you or someone else has made previously in ESP. Saving 1. Send, No Save () This saves ESP settings to current memory. 2. Send and Save ( ) This activates all changes in current memory and saves to the Imager for power-on. 3. Send and Save as Customer Defaults ( ) Use this option to save your own default settings for quick retrieval with a command. This option will be visible only if you had checked Enable ‘Send and Save as Customer Defaults’ in the ESP Preferences dialog. MS-4 Imager User’s Manual 2-15 Send/Receive Options Defaulting When you select Default Current Menu Settings or Default all ESP Settings, you are only defaulting the ESP settings. Advanced Options Send Current View This is the same as Save to Reader > Send No Save except that only the commands in the current configuration tree are sent. Send Current Command This is the same as Send Current View , except that it saves only the command that is currently selected. Add / Remove Exception After you perform a Receive Reader Settings command1 and you click on the Add Exception option, you may see a list of serial commands. These are commands that may be in your Imager’s firmware, but not included in, or different from, your current version of ESP. You can edit these commands by double-clicking on them and changing them as needed. It is important to note that these commands will be saved to your Imager whenever you send a Save to Reader command, or an or a command. Also, if there is a corresponding ESP menu item, the ESP Value column for that item will be blank following a Receive Reader Settings command. 1. From the Send/Recv button or by right-clicking from within the configuration trees. 2-16 MS-4 Imager User’s Manual Using ESP Using EZ Trax For detailed information about using EZ Trax, refer to the Help menu in EZ Trax software, or the EZ Trax Quick Start Guide, available on the Microscan Tools CD. For information about how to configure the MS-4 for use with EZ Trax, see Setting Up the Imager for EZ Trax in Chapter 5, Read Cycle. MS-4 Imager User’s Manual 2-17 Using EZ Trax 2-18 MS-4 Imager User’s Manual 3 Communications Contents Communications by ESP .............................................................................................................. 3-2 Communications Serial Commands.............................................................................................. 3-3 Host Port Connections .................................................................................................................. 3-4 Host Port Protocol......................................................................................................................... 3-5 ACK/NAK Options......................................................................................................................... 3-7 Polling Mode Options.................................................................................................................... 3-8 RS-422 Status............................................................................................................................... 3-9 Auxiliary Port Connections.......................................................................................................... 3-10 Auxiliary Port System Data Status .............................................................................................. 3-18 Daisy Chain Autoconfigure ......................................................................................................... 3-19 Response Timeout...................................................................................................................... 3-20 LRC Status.................................................................................................................................. 3-21 Protocol Configuration Examples................................................................................................ 3-22 USB HID Interface ...................................................................................................................... 3-23 ASCII Character Entry Modifier................................................................................................... 3-32 Preamble..................................................................................................................................... 3-33 Postamble ................................................................................................................................... 3-34 This section explains how to set up communications between the Imager and a host. With Microscan’s ESP (Easy Setup Program), configuration changes can be made in the ESP menus and then sent and saved to your Imager. The user can also send serial commands to the Imager via ESP’s Terminal window. MS-4 Imager User’s Manual 3-1 Communications by ESP Communications by ESP Click this button to bring up the Applications menu. Click this button to bring up the Communication menu. To open nested options, single click the +. 3-2 To change a setting, double click the setting and use your cursor to scroll through the options. MS-4 Imager User’s Manual Communications Communications Serial Commands Host Port Connections Auxiliary Port Connections RS-422 Status Host Port Protocol Preamble Postamble Response Timeout LRC Auxiliary Port System Data Status ACK/NAK Options Polling Mode Options USB HID Reports Autoconfiguration Daisy Chain MS-4 Imager User’s Manual 3-3 Host Port Connections Host Port Connections The host port can be configured with RS-232 and RS-422 connections. The following settings define the basic transmission speeds and digital standards that ensure common formatting. Baud Rate, Host Port Usage: Definition: Serial Cmd: Default: Options: Can be used to transfer data faster or to match host port settings. The rate at which the reader and host transfer data back and forth. 115.2K 0 = 600 1 = 1200 2 = 2400 3 = 4800 4 = 9600 5 = 19.2K 6 = 38.4K 7 = 57.6K 8 = 115.2K 9 = 230K Parity, Host Port Usage: Definition: Serial Cmd: Default: Options: Only changed if necessary to match host setting. An error detection routine in which one data bit per character is set to 1 or 0 so that the total number of bits in the data field is either even or odd. None 0 = None 1 = Even 2 = Odd Stop Bits, Host Port Usage: Definition: Serial Cmd: Default: Options: Only changed if necessary to match host setting. One or two bits added to the end of each character to indicate the end of the character. One 0 = One 1 = Two Data Bits, Host Port Usage: Definition: Serial Cmd: Default: Options: Only changed if necessary to match host setting. One or two bits added to the end of each character to indicate the end of the character. Eight 0 = Seven 1 = Eight Note: See USB HID Interface on page 3-23 for protocol information relating to USB. 3-4 MS-4 Imager User’s Manual Communications Host Port Protocol Usage: Definition: Serial Cmd: Default: Options: In general, the point-to-point protocols will work well in most applications. They require no address and use RS-232 or RS-422 communications standards. Protocols define the sequence and format in which information is transferred between the reader and the host, or in the case of Multidrop, between the readers and a concentrator. Point-to-Point 0 = Point-to-Point 1 = Point-to-Point with RTS/CTS 2 = Point-to-Point with XON/XOFF 3 = Point-to-Point with RTS/CTS and XON/XOFF 4 = ACK/NAK 5 = Polling Mode Note: In all protocol modes, the preamble and postamble character strings can be used to frame the decode data, and both are included in calculating the LRC Status (Longitudinal Redundancy Check). Point-to-Point (Standard) Usage: Definition: Used only with RS-232 or RS-422. Standard Point-to-Point requires no address and sends the data to the host whenever it is available, without a request or handshake from the host. Serial Cmd: Point-to-Point with RTS/CTS Usage: Definition: Serial Cmd: A reader initiates a data transfer with an RTS (request-to-send) transmission. The host, when ready, responds with a CTS (clear-to-send) and the data is transmitted. RTS and CTS signals are transmitted over two dedicated wires as defined in the RS-232 standard. Used only with RS-232. Point-to-Point with RTS/CTS (request-to-send/clear-to-send) is a simple hardware handshake protocol that allows a reader to initiate data transfers to the host. Point-to-Point with XON/XOFF Usage: Definition: Serial Cmd: If an XOFF has been received from the host, data will not be sent to the host until the host sends an XON. During the XOFF phase, the host is free to carry on other chores and accept data from other devices.Used only with RS-232. This option enables the host to send the XON and XOFF command as a single byte transmission command of start (^Q) or stop (^S). MS-4 Imager User’s Manual 3-5 Host Port Protocol Point-to-Point with RTS/CTS and XON/XOFF Usage: Definition: Used only with RS-232. This option is a combination of Point-to-Point with RTS/CTS and Pointto-Point with XON/XOFF. Serial Cmd: ACK/NAK Definition: See the ACK / NAK Options command on page 3-7. Serial Cmd: Polling Mode Definition: Serial Cmd: See the Polling Mode Options command on page 3-8. Poll Address Serial Cmd: Default: Options: 1 1 to 50 1 = Poll address 0x1C, Select address 0x1D 2 = Poll address 0x1E, Select address 0x1F ... 50 = Poll address 0x7E, Select address 0x7F Note: See USB HID Interface on page 3-23 for protocol information relating to USB. 3-6 MS-4 Imager User’s Manual Communications ACK / NAK Options Definition: Serial Cmd: These parameters take effect for ACK/NAK on the main RS-232 or RS-422 ports (not on the Auxiliary Port), and are completely independent of the Polling Mode Options . The Imager always follows the protocol in both directions (to and from the host). There is no option to disable it from either direction. RES-NAK Defaults RES: (Reset) REQ: (Request) STX: (Start of Text) ETX: (End of Text) ACK: (Acknowledge) NAK: (Negative Acknowledge) 00 (disabled) 00 (disabled) 00 (disabled) 00 (disabled) 06 15 The following are general outlines of the ACK/NAK protocol. Items that are framed by brackets ( [ ] ) can either be disabled or enabled. LRC does not include STX, but it does include preamble, postamble, and ETX. Symbol Data Output TX to host: [STX] [preamble] SYMBOL DATA [postamble] [ETX] [LRC] Response from host: ACK/NAK. Sent when LRC, ETX, postamble, or timeout (waiting for more data) are detected (if REQ is disabled) depending on what is enabled. Commands from Host to Imager TX to Imager: [STX] [ETX] [LRC] Response from Imager: ACK/NAK. Sent when LRC, ETX, or command-ending angle bracket ‘>’ are received, depending on what is enabled. Command Response from Imager to Host TX to host: [STX] [preamble] COMMAND RESPONSE DATA [postamble] [ETX] [LRC] Response from host: ACK/NAK. Sent when LRC, ETX, postamble, command-ending angle bracket ‘>’, or timeout (waiting for more data) are detected, depending on what is enabled. As with Polling Mode , the Imager can optionally perform the REQ and RES event sequences in ACK/NAK mode. If the sender does not receive an ACK or NAK, it will send REQ to request such a response (if enabled). When the sender receives an ACK, too many NAKs, or times out (if already enabled), it will send a RES (if enabled) to terminate the transaction. Note: See ACK / NAK Data Flow Examples in Appendix D for sample ACK/NAK communications scenarios. Note: See USB HID Interface on page 3-23 for protocol information relating to USB. MS-4 Imager User’s Manual 3-7 Polling Mode Options Polling Mode Options Definition: Serial Cmd: These parameters only take effect for Polling Mode on the main RS-232 or RS-422 ports (not on the Auxiliary Port), and are completely independent of the ACK/NAK Options . The values of protocol characters can be changed, but the protocol events cannot be disabled. The polling mode address is configured in the command (see Poll Address on page 3-6). To enable multidrop protocol, the RS422 port must be enabled, , in order to turn the transmitter on and off. If RS-232 is enabled instead of RS422, , then Polling Mode will operate as a Point-to-Point polling protocol. This is because the RS-232 transmitter is always left on when enabled. RES-NAK Defaults RES: (Reset) REQ: (Request) STX: (Start of Text) ETX: (End of Text) ACK: (Acknowledge) NAK: (Negative Acknowledge) 04 05 02 03 06 15 Note: See Polling Mode Data Flow Examples in Appendix D for sample Polling Mode communications scenarios. Note: See USB HID Interface on page 3-23 for protocol information relating to USB. 3-8 MS-4 Imager User’s Manual Communications RS-422 Status Usage: Definition: Serial Cmd: Default: Options: RS-232 is an industry standard. RS-422 is used when greater cable lengths are required and/or where noise interference is an issue. RS-422, if enabled, allows communication through RS-422 I/O lines. When RS-422 is enabled, RS-232 is disabled. When RS-422 is disabled, RS-232 is enabled. Disabled 0 = Disabled 1 = Enabled Note: The default setting can only be changed in readers with multiplexed RS-232 / RS-422 ports. It is forced to 1 (enabled) in readers with “dedicated” RS-422 ports. Note: The USB version of the MS-4 does not support RS-422. MS-4 Imager User’s Manual 3-9 Auxiliary Port Connections Auxiliary Port Connections The auxiliary port offers an alternative port that can be configured to communicate by RS232 in several modes, including daisy chain. As with the host port parameters, the auxiliary port settings (baud rate, parity, stop bits, and data bits) must be identical with those of the auxiliary device. Usage: Definition: An auxiliary port connects the Imager to a remote display or to other readers that can display or transfer data. These commands set the communication parameters with the auxiliary port, which can be used to configure menus, send data to the host, display data transmissions originating from the host, and relay data from other Imagers set in tandem (daisy chained). Auxiliary Port Mode Usage: Definition: Serial Cmd: Default: Options: Can be used to transfer data faster or to match an auxiliary device. Determines the flow of data between the auxiliary port device(s), the Imager, and the host.. Disabled 0 = Disabled 1 = Transparent 2 = Half duplex 5 = Command Processing 3 = Full duplex 4 = Daisy chain Baud Rate, Auxiliary Port Usage: Definition: Serial Cmd: Default: Options: Can be used to transfer data faster or to match an auxiliary device. The rate at which the Imager and host transfer data back and forth. 115.2K 0 = 600 1 = 1200 2 = 2400 3 = 4800 4 = 9600 5 = 19.2K 6 = 38.4K 7 = 57.6K 8 = 115.2K 9 = 230K Parity, Auxiliary Port Usage: Definition: Serial Cmd: Default: Options: 3-10 Only changed if necessary to match host setting. 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. None 0 = None 1 = Even 2 = Odd MS-4 Imager User’s Manual Communications Stop Bits, Auxiliary Port Usage: Definition: Serial Cmd: Default: Options: Only changed if necessary to match host setting. Allows the user to select the last one or two bits in each character to indicate the end of the character. One 0 = One 1 = Two Data Bits, Auxiliary Port Usage: Definition: Serial Cmd: Default: Options: Only changed if necessary to match host setting. Number of bits in each character. Eight 0 = Seven 1 = Eight Note: The USB version of the MS-4 does not have an Auxiliary Port. MS-4 Imager User’s Manual 3-11 Auxiliary Port Connections Transparent Mode Usage: Definition: A common application, in conjunction with handheld Imagers, is one that employs an auxiliary readout to detect misapplied symbols. In Transparent Mode, data is passed between the auxiliary port and the host. The Imager buffers data from the auxiliary port and echoes the keyed data on the auxiliary port. • Auxiliary port data is passed through to the host whenever a return key is pressed at the auxiliary port or whenever symbol data is sent. If sent with symbol data, it is processed on a first-in/first-out basis. • Auxiliary port data to the host is always sent with a preamble and postamble. • If the Imager is in a polling mode with the host, auxiliary port data will still pass through. Data Originating from the Imager • Transmission to the auxiliary port occurs immediately upon a good read. • Data sent to the auxiliary port does not include a preamble or a postamble. • Communications with the auxiliary port is always in Point-to-Point protocol, even if the host is in a polled protocol mode. Data Originating from the Host • All host data is echoed to the auxiliary port in unpolled mode. Aux. Port Host Imager Aux. Port Host Imager Aux. Port Host Imager Serial Cmd: Options: 3-12 1 = Transparent MS-4 Imager User’s Manual Communications Half Duplex Mode Usage: Definition: Useful when the user wants symbol data displayed on an auxiliary menu close to the Imager. In Half Duplex Mode all auxiliary port data and symbol data is sent directly to the host. Symbol data is displayed on the auxiliary port menu at the same time the data is sent to the host. Data Originating from the Auxiliary Port • Auxiliary port data to the host is ignored if the Imager is in a polled mode. • Auxiliary port data or read data is sent to the host whenever it is received. • Auxiliary port data is not echoed. • Auxiliary port data to the host is always sent without a preamble or postamble. Data Originating from the Imager • Data is transmitted to the auxiliary port at the same time it is transmitted to the host. • Data transmission conforms with all parameters specified in the configuration menu (e.g. Preamble, Postamble, End of Read Cycle). Aux. Port Host Imager Aux. Port Host Imager Data Originating from the Host • All host data is echoed to the auxiliary port in unpolled mode. Aux. Port Host Imager Serial Cmd. Options: 2 = Half Duplex MS-4 Imager User’s Manual 3-13 Auxiliary Port Connections Full Duplex Mode Usage: Definition: When communication to and from the auxiliary port is required. In Full Duplex Mode all auxiliary port data and symbol data is sent directly to the host. Symbol data is not displayed on the auxiliary port menu. Data Originating from the Auxiliary Port • Auxiliary port data to the host is ignored if the Imager is in a polled mode. • Auxiliary port data or read data is sent to the host whenever it is received. • Auxiliary port data is not echoed. • Auxiliary port data to the host is always sent without a preamble or postamble. Aux. Port Host Imager Data Originating from the Imager • Data is not sent to the auxiliary port. Aux. Port Host Imager Data Originating from the Host • All host data is echoed to the auxiliary port in unpolled mode. Aux. Port Host Imager Serial Cmd: Options: 3-14 3 = Full Duplex MS-4 Imager User’s Manual Communications Daisy Chain Mode Usage: Definition: Serial Cmd: Options: Function: Useful in applications where: • More than one symbol type is present. • A symbol may be present on multiple sides of a package. • Symbols are presented at different depths. In a daisy chain application, readers are connected in tandem or a “daisy chain” and decoded data is relayed from one reader to another until the data reaches the host. A primary reader has its host port linked to the host computer and its auxiliary port linked to the host port of the first secondary reader in the chain. Thereafter, each secondary reader’s auxiliary port is linked to the host port of the secondary reader that is farther from the host in the daisy chain. Each reader in the chain can be assigned an ID that accompanies any data that it sends. 4 = Daisy Chain Before the primary reader times out, it checks its auxiliary port for data. It should be set to wait at least 30 mS for each secondary reader in the daisy chain. If no data is received within the read cycle timeout, the primary reader sends a No Read message to the host. Otherwise the complete data is sent. If, for example, the primary reader is set to timeout in 120 mS, the first secondary reader reader downstream might be set to 90 mS, the next to 30 mS, and so forth, thus assuring that at least 30 mS elapses between transmissions.a Daisy-chained readers can send a series of symbols by enabling Multisymbol and a common multisymbol separator. If the primary reader does not receive the expected number of symbols, No Read messages are appended to the data string to make up the difference between the number of symbols enabled in Multisymbol and the number of symbols read. For example, a primary and two secondary readers have Number of Symbols set to 3 and Multisymbol Separator defined as %. If the primary and the first secondary reader do not find symbols, but the next secondary reader registers a good read, the transmitted results would be: symbol data % No Read % No Read a. The above example assumes a best-case scenario. Other factors, such as baud rate, dynamic focus timing, number of characters in a given symbol, and the number of secondary readers in the daisy chain can affect timing and may need to be included in your calculations for complete accuracy. MS-4 Imager User’s Manual 3-15 Auxiliary Port Connections Command Processing Mode Usage: Definition: Serial Cmd: Options: 3-16 Allows a user to send configuration settings from the host port to the auxiliary port. When enabled, Command Processing Mode allows commands to be entered via the auxiliary port and direct externally triggered read cycle data in one of two ways: • Bar code data, including the serial trigger (if used), will be transmitted to the last port from which a command was sent. • If the last command came from the host port, then externally triggered read cycle data will only be output to the host port. 5 = Command Processing MS-4 Imager User’s Manual Communications Daisy Chain ID Status Usage: Definition: Serial Cmd: Default: Options: Used in a daisy chain setup in cases where the host needs to know which reader in the chain sent the data. Each reader in a daisy chain can be assigned a one or two character ID that will appear in front of decoded data and identify its source. Disabled 0 = Disabled 1 = Enabled Note: Enable/disable and length must be the same in all readers. Daisy Chain ID Usage: Definition: Serial Cmd: Used in a daisy chain setup in cases where the host needs to know which reader in the chain sent the data. A one or two character prefix which identifies the particular daisy chain reader from which the data is being sent to the host. Default: 1/ Options: Any one or two ASCII characters. Important: The ASCII characters <, >, and , can only be entered as hex pairs: For <: For >: For , : See ASCII Character Entry Modifier on page 3-32 for a detailed explanation of how to enter ASCII characters as hex values. MS-4 Imager User’s Manual 3-17 Auxiliary Port System Data Status Auxiliary Port System Data Status Definition: Serial Cmd: Default: Options: When enabled, system data will be routed to the Auxiliary Port. This includes decoded data and diagnostic warning messages. When disabled, system data will not be routed to the Auxiliary Port. Disabled 0 = Disabled 1 = Enabled Note: The USB version of the MS-4 does not have an Auxiliary Port. 3-18 MS-4 Imager User’s Manual Communications Daisy Chain Autoconfigure Usage: Definition: Serial Cmd: For quick setup and configuration of your daisy chain network. The command to autoconfigure the daisy chain is sent to the primary Imager and the software responds in the following ways: • Counts the number of secondary readers in the daisy chain. • Assigns an internal ID number (1...n) to each secondary reader, where the first secondary reader is number 1 (the primary reader’s ID being a 0). • Propagates the communications settings and the relevant operating modes of the primary Imager to the host and auxiliary ports of each secondary reader. • Resets each secondary reader. • Verifies that each secondary reader has acquired the new settings. Note: All secondary readers must be set to Serial for Daisy Chain to function. When setting up a daisy chain operation, perform the following steps: 1. Set the primary Imager (the one connected to the host) to Serial. This sets all the Imagers in the chain to Serial when the command is executed. Before Autoconfigure you must set the primary Imager to Serial (S): Host S Primary Imager S Secondary Imager S Secondary Imager 2. Send . 3. If necessary, set the primary Imager to Edge. After Autoconfigure you may set the primary Imager to Edge (E), but the other Imagers must remain in Serial (S): Host E Primary Imager S Secondary Imager S Secondary Imager Note: The USB version of the MS-4 does not support this command. MS-4 Imager User’s Manual 3-19 Response Timeout Response Timeout Usage: Definition: Serial Cmd: Default: Options: Only used when a response is required from the host. While in Multidrop, if the Imager does not receive an ACK or NAK from the host after sending polled data, it will act on a fault. The reader can be set to wait indefinitely by setting Response Timeout to zero. The time that the Imager will wait before timing out if ACK, NAK, and ETX are enabled, and a host response is expected. 12 (in 1mS increments) 0 to 255 (A zero (0) setting causes an indefinite wait.) Note: See USB HID Interface on page 3-23 for protocol information relating to USB. 3-20 MS-4 Imager User’s Manual Communications LRC Status (Longitudinal Redundancy Check) Usage: Definition: Serial Cmd: Default: Options: Used when extra data integrity is required. An error-checking routine that verifies the accuracy of transmissions. It is the exclusive OR of all characters following the STX (start of text) up to and including the ETX (end of text). What this means is that the binary representation of all the characters in a transmission are cumulatively added in a column and each resulting odd integer is assigned a 1 and each even integer a 0 (two 1s = 0, two 0s = 0, a 1 and a 0 = 1). The extra LRC character is then appended to the transmission, and the receiver (usually the host) performs the same addition and compares the results. Disabled 0 = Disabled 1 = Enabled Note: The USB version of the MS-4 does not support this command. MS-4 Imager User’s Manual 3-21 Protocol Configuration Examples Protocol Configuration Examples Point-to-Point (Main Port) Baud Rate: 115.2K; Parity: None; Stop Bits: 2; Data Bits: 8 Point-to-Point RS-232 enabled; = RS-422 enabled Polling Mode (Main Port) Baud Rate: 9600; Parity: None; Stop Bits: 2; Data Bits: 8 Polling Mode; Address: 23 RS-232 Point-to-Point polling 30 mS Response Timeout “User-Defined” Polling Mode (Main Port) Baud Rate: 9600; Parity: None; Stop Bits: 2; Data Bits: 8 Polling Mode; Address: 12 Default RES (0x04), REQ=0x08; EOT=0x09; STX=0x18; ETX=0x0B; ACK=0x0C; NAK=0x0D RS-232 Point-to-Point polling 40 mS Response Timeout ACK / NAK (Main Port) Baud Rate: 230K; Parity: None; Stop Bits: 2; Data Bits: 8 ACK/NAK Default RES and REQ (00, disabled); STX=0x01; ETX=0x1B; ACK=0x2E; NAK=0x1F RS-422 enabled; = RS-232 enabled 50 mS Response Timeout Auxiliary Port Listed below are several examples of Auxiliary Port commands. 3-22 Half Duplex; Baud Rate: 9600; Parity: None; Stop Bits: 2; Data Bits: 8 Transparent; Baud Rate: 19.2K; Parity: None; Stop Bits: 2; Data Bits: 8 Full Duplex; Baud Rate: 57.6K; Parity: None; Stop Bits: 2; Data Bits: 8 Command Processing; Baud Rate: 230K; Parity: None; Stop Bits: 2; Data Bits: 8 MS-4 Imager User’s Manual Communications USB HID Interface The USB version of the MS-4 Imager operates as an HID (Human Interface Device) on the USB bus. HID-class devices communicate via “report” packets. An HID may support multiple report types, each of which is identified with a unique report ID. The MS-4 supports two different report types: • Microscan HID Report (ID = 1) • Keyboard Report (ID = 2) The Imager always outputs the same data for both report types. The user may enable or disable either report type. Regardless of the report type used by the host application, the application protocol via USB is identical to RS-232 / RS-422 ports. HID Reports are used as a channel for standard Microscan Imager communication, command input, and symbol data output. Important: No matter how the Imager is configured, it is always able to receive and respond to commands from the host application using Microscan HID Reports. MS-4 Imager User’s Manual 3-23 USB HID Interface Report Options The following functionality conditions hold true regardless of how HID Reports are configured: 1. The host application must establish a connection with the Imager to receive Microscan HID IN Reports (symbol data) and to send Microscan HID OUT Reports (commands, serial triggers). 2. The Imager can always receive Microscan HID OUT Reports (commands, serial triggers). 3. The host application can always send commands through Microscan HID OUT Reports. If the command requires a response (a part number, for example), the Imager will always send the response through Microscan HID IN Reports. 4. The Imager always ignores Keyboard OUT Reports sent by the host operating system. 5. The content of both the Keyboard Reports and Microscan HID IN Reports is identical, except for Keyboard Reports non-printable data limitations. Microscan HID IN Reports HID Reports are used as a channel for standard Microscan Imager communication, command input, and symbol data output. There are two types of Microscan HID Reports: Report Type Microscan HID IN (Imager to host) Microscan HID OUT (host to Imager) Data Content Symbol data; No Reads; Service messages Commands; serial triggers Note: The Imager is always able to receive commands and serial triggers from the host through Microscan HID OUT Reports, regardless of the Microscan HID IN Report status. If the Imager receives a command that requests a response, such as a part number query, the Imager will send a Microscan HID IN Report regardless of the IN Report status. Serial Cmd: Default: Options: 1 0 = Disabled 1 = Enabled Microscan HID IN Reports Enabled When this feature is enabled, the Imager will send Microscan HID IN Reports to the host, containing data originated by the Imager. Microscan HID IN Reports Disabled When this feature is disabled, the Imager will not send Microscan HID IN Reports to the host, containing data originated by the Imager. 3-24 MS-4 Imager User’s Manual Communications Keyboard IN Reports The host operating system will interpret Keyboard IN Reports from the Imager as if the user were typing keyboard text. The host operating system sends keystrokes to the current application. This is commonly called a Keyboard Wedge configuration. There is one type of Keyboard Report used: Report Type Keyboard IN (Imager to host) Data Content Symbol data; No Reads; Service messages Note: If Keyboard IN Reports is enabled, and Microscan HID IN Reports is disabled, the read cycle must be Continuous Read 1 Output, because there will be no External Trigger or Serial Trigger. It is not possible to send commands to the Imager as Keyboard OUT Reports. To send commands to the Imager via USB, the host application must establish a connection with the Imager and send Microscan HID OUT Reports. Serial Cmd: Default: 0 Options: 0 = Disabled 1 = Enabled Keyboard IN Reports Enabled When this feature is enabled, the Imager will send Keyboard IN Reports to the host, containing data originated by the Imager. Keyboard IN Reports Disabled When this feature is disabled, the Imager will not send Keyboard IN Reports to the host, containing data originated by the Imager. MS-4 Imager User’s Manual 3-25 USB HID Interface Microscan HID Report Format Size: 64 bytes, fixed-length. The USB HID standard defines all reports as being fixed-length. Structure: REPORT ID (1) LENGTH (1) DATA (62) Values in parentheses indicate the size, in bytes, of the field. Field Descriptions REPORT ID Size: 1 byte Value: 0x01 Note: Report ID is the method employed by USB HID to allow multiple report formats to be sent and received from the same interface. LENGTH Size: 1 byte Value: 0-62 Note: Length indicates the number of valid data bytes in the fixed-length data field. This is necessary because the USB HID standards define HID Reports as fixed-length, yet the Imager or host may require a smaller data size in any given report. DATA Size: 62 bytes, fixed-length Value: 0x00 to 0xFF Note: The Data field is left-justified, meaning it begins immediately after the Length field. All unused data space is NUL (0x00) padded. Data values can be “binary”, meaning that they span the entire 8 bit range of 0x00 to 0xFF. 3-26 MS-4 Imager User’s Manual Communications Report Format Examples For clarity, all report format examples are shown as follows: report fields separated by an underscore ( _ ), REPORT ID and LENGTH fields shown as decimal values, data fields shown as printable ASCII characters, and the number of NUL padding bytes shown as decimal values (nn). IN report (to host) 1_11_A]002374938 (51) REPORT ID = 1 = Microscan HID LENGTH = 11 DATA = ”A]02374938” = This is a Code 39 symbol. NUL padding = 51 bytes OUT report (from host to Imager) 1_27_ (35) REPORT ID = 1 = Microscan HID LENGTH = 27 DATA = “ ” = These commands enable External Edge, set a 3 second timeout, and request the No Read configuration command. NUL padding = 35 bytes IN report (to host) 1_62_ command. Note that the command status response is not yet complete. See the next report example for the complete response. NUL padding = 0 bytes IN report (to host) 1_6_PORTS>(56) REPORT ID = 1 = Microscan HID LENGTH = 6 DATA = “PORTS>” = This is the end of the response to the command from the previous example. The entire command response is as follows: DATA = “K714,1, A LONG MESSAGE STREAMED OVER MULTIPLE MICROSCAN HID REPORTS>” . NUL padding = 56 bytes MS-4 Imager User’s Manual 3-27 USB HID Interface Keyboard Report Format Size: 9 bytes, fixed-length. Structure: REPORT ID (1) MODIFIER (1) RESERVED (1) KEYCODES (6) Values in parentheses indicate the size, in bytes, of the field. Important: The host application does not need to understand and process Keyboard Reports. This task belongs to the host operating system. Keycodes are passed to the host application as if a user were typing keyboard text. The host application must be the active application in order to receive keystrokes. Keyboard Reports protocol requires that two reports be sent for every keystroke. The first report indicates which key is pressed. The second report indicates “no key pressed”, with all keycodes NUL (0x00) to indicate that all keys have been released. In the case of the MS-4 Imager, each byte output is equivalent to a keystroke, with a “key pressed” report and a “no key pressed” report. For this reason, data rates are much slower when using Keyboard Reports. Field Descriptions REPORT ID Size: 1 byte Value: 0x02 Note: Report ID is the method employed by USB HID to allow multiple report formats to be sent and received from the same interface. MODIFIER Size: 1 byte Value: 0x00 to 0xFF Note: Modifier is an 8 bit field, corresponding to the state of the modifier keys at the time the keycode field was generated. Bit Key 0 LEFT CTRL 1 LEFT SHIFT 2 LEFT ALT 3 LEFT GUI 4 RIGHT CTRL 5 RIGHT SHIFT 6 RIGHT ALT 7 RIGHT GUI 3-28 MS-4 Imager User’s Manual Communications Field Descriptions RESERVED Size: 1 byte Value: 0x00 Note: This field is Reserved. Its value is always NUL (0x00). KEYCODES Size: 6 bytes Value: 0x00 to 0xFF Note: The MS-4 Imager translates 8 bit data values into Keycode data in the following ways: 8 Bit Data Value Keycode Data 0x00 to 0x1F and 0x7F to 0xFF Decimal key ( . ) unless otherwise noted. CR, 0x0D Enter key TAB, 0x09 Tab key ESC, 0x1B ESC key “Printable” characters, 0x20 to 0x7E These all translate to the keystrokes that produce them. This includes a-z, 0-9, punctuation, and SHIFT in the Modifier field, when necessary. Only the first Keycode in the 6 byte array will be populated. MS-4 Imager User’s Manual 3-29 USB HID Interface USB HID Configuration Options The user has the following options for configuring and defaulting a USB version of the MS-4: Configuration Symbols (Data Matrix with “Configure Reader” Flag) Symbol configuration can be performed “out-of-the-box”, as the MS-4 is configured for Continuous Read Mode, and Data Matrix is enabled by default. Data Matrix symbols are used to encode configuration commands when the symbology’s “configure reader” flag is set. If the read cycle is changed, or if Data Matrix is disabled, another configuration/default method must be used. This is because the USB MS-4 has no external trigger, unless the user has configured the EZ button as a trigger. EZ Button Configuration By default, basic calibration can be initiated from the EZ button (3 beeps). Note that this only changes the camera, image processing, and symbology settings of the Imager. To default the USB MS-4, hold down the EZ button during power-on. Note: This only overwrites Power-On settings with Custom Default settings, as when the command is received. It does not overwrite Power-On settings with Factory Defaults, as when the command is received. If Custom Defaults are misconfigured, another method must be used to default the Imager. Implementing the Host Operating System API and Establishing a Connection with the Microscan HID Interface When a connection is made, the host can send serial configuration/default commands. The Imager will always be able to receive configuration commands from the host application and send responses to those commands. However, the Imager can be configured to stop producing IN Reports to the host from symbol data output and diagnostics (service messages). 3-30 MS-4 Imager User’s Manual Communications Configuration Exceptions for USB Read Cycle Mode By default, the Imager operates in Continuous Read Mode. If the Imager is configured using Data Matrix symbols, the read cycle mode should be the last item changed before saving the configuration settings and beginning operation. This is because all read cycle modes other than Continuous Read Mode require a trigger event. In USB, a trigger event can only be initiated by serial command. To send a trigger command the Imager, the host application must establish a connection with the Imager’s Microscan HID interface and send the trigger command in a Microscan HID Report. The following read cycle conditions are required for USB MS-4: Serial Cmd: Default: Options: Continuous 0 = Continuous Mode 1 = Coninuous Read 1 Output Mode 2 = Level Mode 3 = Edge Mode 4 = Serial Mode 5 = Serial and Edge Mode Important: • To use Level Mode, you must enable Undelimited Start Trigger Character and Undelimited End Trigger Character . • To use Edge Mode, you must enable and use the Undelimited Start Trigger Character . • To use Serial Mode, you must use the Delimited Trigger defined by , or enable and use the Undelimited Start Trigger Character . • To use Serial and Edge Mode, you must use the Delimited Trigger defined by , or enable and use the Undelimited Start Trigger Character . Communications For the USB version of MS-4, no communications serial commands have any effect on the Imager except the following: • USB HID Report Status • Preamble • Postamble EZ Button Default on power-on cannot be disabled = . This ensures a level of safety for recovering from misconfigured Power-On settings . However, it is not foolproof, as defaulting with the EZ button only recovers Custom Default settings, which can be misconfigured themselves. For this reason, do not save to Custom Default settings until the Imager’s configuration has been tested. Symbologies If the Imager is going to be configured with Data Matrix symbols, do not disable Data Matrix . Disabling Data Matrix will prevent the Imager from reading configuration symbols. MS-4 Imager User’s Manual 3-31 ASCII Character Entry Modifier ASCII Character Entry Modifier Commands that require ASCII text fields, such as Preamble and Postamble commands, can be sent to the Imager as hex value pairs (see Appendix E, ASCII Table, for conversions). Serial Cmd Format: To enter ASCII fields as hex values (00 to FF), add a lower-case h directly after the command’s K number, and then enter the hex value that corresponds with the desired ASCII character. Example: Consider the Postamble command: Serial Cmd: Imagine that your application requires the ASCII character > to be the postamble in your symbol decode output. The ASCII characters <, >, and , can only be entered as hex pairs. So, to make > the postamble in your symbol decode output, enter the Postamble command as follows: Note that the “status” field contains only a , . This is because the only field that is being changed is the “postamble character(s)” field. (See Serial Configuration Command Conventions on page A-10 for a more detailed explanation of this command shortcut.) 3-32 MS-4 Imager User’s Manual Communications Preamble Preamble Status Usage: Definition: Serial Cmd: Default: Options: Useful for identifying and controlling incoming data. For example, defining the preamble as a carriage return and a line feed causes each decoded message to be displayed on its own line. Defines a one to four character data string that can be added to the front of the decoded data. Disabled 0 = Disabled 1 = Enabled (within any protocol) Preamble Characters Serial Cmd: Default: Options: ^M corresponds to: carriage return. To enter control characters within a serial command, hold down the Ctrl key while typing the desired character. Example: to enter the control character ^M. Important: The ASCII characters <, >, and , can only be entered as hex pairs: For <: For >: For , : See ASCII Character Entry Modifier on page 3-32 for a detailed explanation of how to enter ASCII characters as hex values. MS-4 Imager User’s Manual 3-33 Postamble Postamble Postamble Status Usage: Definition: Serial Cmd: Default: Options: Useful for identifying and controlling incoming data. For example, defining the postamble as a carriage return and a line feed causes each decoded message to be displayed on its own line. Allows the user to enable or disable up to four postamble characters that can be added to the end of the decoded data. Enabled 0 = Disabled 1 = Enabled (within any protocol) Postamble Characters Serial Cmd: Default: Options: ^M^J corresponds to carriage return/line feed. To enter control characters within a serial command, hold down the control key while typing the desired character. Example: to enter ^M^J. Important: The ASCII characters <, >, and , can only be entered as hex pairs: For <: For >: For , : See ASCII Character Entry Modifier on page 3-32 for a detailed explanation of how to enter ASCII characters as hex values. 3-34 MS-4 Imager User’s Manual 4 Calibration Contents Calibration Serial Commands ....................................................................................................... 4-2 Calibration Overview..................................................................................................................... 4-2 Calibration Options ....................................................................................................................... 4-3 Calibration by ESP...................................................................................................................... 4-10 Initiating Calibration .................................................................................................................... 4-12 Additional Notes about Calibration.............................................................................................. 4-17 This section shows the MS-4 Imager’s calibration options and their default settings. MS-4 Imager User’s Manual 4-1 Calibration Serial Commands Calibration Serial Commands Calibration Options Autocalibrate <@CAL> Calibration Overview Autocalibration is one of the most powerful features of the MS-4 Imager. The calibration process can be initiated by serial command, EZ button, or ESP user interface. When the Imager enters calibration, it runs through an optimization cycle that sets the ideal parameters for reading symbols at the highest possible level of performance. Autocalibration can be specially configured to optimize specific parameters, such as gain, shutter speed, and symbol type. The calibration process consists of a search pass, medium pass, and fine-tune pass. During this process the Imager quickly locates configuration setup, defines a calibration range for the configuration parameters, and then tunes those parameters for optimal performance. 4-2 MS-4 Imager User’s Manual Calibration Calibration Options This command specifies the operation of the Imager’s calibration feature. The default configuration is set up to perform calibration on gain and symbol type. The default shutter speed setting is disabled, because not all applications require shutter speed, and when it is required, the application-specific settings tend to vary widely. Note: Background Color (page 6-35) is part of the calibration process regardless of the calibration setup. After successful completion of the calibration routine, the background color will be set to the appropriate value, depending on the symbol in the field of view. The Mirrored Image parameter (page 10-28) is not part of the calibration process, and it must be configured appropriately prior to calibration. Gain Definition: Serial Cmd: Default: Options: When enabled, gain will be calibrated to provide the best available image quality and performance. When disabled, gain is fixed and is not part of the calibration process. Enabled 0 = Disabled 1 = Enabled MS-4 Imager User’s Manual 4-3 Calibration Options Shutter Speed Definition: Unless an application is a static setup, the shutter speed setting should be configured by the user based on the application. For dynamic applications, the user should configure the shutter speed setting so the calibration process can optimize the gain for that setting. Serial Cmd: Default: Disabled Options: 0 = Disabled 1 = Enabled 2 = Fast Shutter Note: The following table shows general guidelines for shutter speed configurations based on various line speeds. The configurations shown depend on the Imager’s optical configuration, and on symbol element size. Shutter Speed 0 - 250 250 - 750 750 - 1500 1500 - 2000 2000 - 2500 Line Speed static 5” / sec 10” / sec 15” / sec 20” / sec Shutter Speed Disabled When this feature is disabled, the shutter speed is fixed and is not part of the calibration process. Shutter Speed Enabled When this feature is enabled, shutter speed will be calibrated to provide the best possible image quality and performance. Fast Shutter The calibration process will concentrate on achieving the fastest possible shutter setting that will still provide good performance. The image quality or contrast may not be as good as what would be achieved with the Enabled setting. The calibration process is not designed to choose the fastest shutter speed that can decode a symbol, but rather to optimize for the fastest shutter speed that still provides good image quality. 4-4 MS-4 Imager User’s Manual Calibration Symbol Type Serial Cmd: Default: Options: Enabled 0 = Disabled 1 = Enabled Symbol Type Disabled When this feature is disabled, only the currently-enabled symbologies will be considered during the calibration process. Symbol Type Enabled When this feature is enabled, autodiscrimination will be in effect during the calibration process. All symbologies that are readable by the Imager except PDF417 will be considered during calibration. Any new symbologies successfully decoded during calibration will remain enabled at the end of the process. All enabled symbologies will remain enabled. For example, assume that only Code 39 is enabled at the beginning of calibration. If a Code 128 symbol is read during calibration, then Code 128, as well as Code 39, will be enabled after the calibration process is complete. MS-4 Imager User’s Manual 4-5 Calibration Options Window of Interest (WOI) Framing Definition: Serial Cmd: Default: Options: Configured WOI If a WOI framing mode is enabled, it will set the camera WOI to a full-size image when calibration begins. Once a symbol is decoded, the camera WOI will be re-sized both vertically and horizontally (regardless of which WOI mode is enabled) to include the symbol plus an additional margin area. This is done to accelerate the calibration process. When a successful calibration process is completed, the camera WOI will be adjusted according to the mode enabled. Otherwise, the original WOI configuration will be retained. Disabled 0 = Disabled 1 = Row and Column 2 = Row 3 = Column 4 = Straight Line 5 = Straight Line Framed Starting WOI After Decode Calibration Passed Calibration Failed If WOI framing is not enabled, the current WOI configuration will be used until a symbol has been decoded. After a symbol is decoded, the WOI is framed exactly as it would be if a WOI framing mode was enabled. When the calibration process is complete, the original WOI configuration is restored. Refer to the diagram below: Configured WOI 4-6 After Decode Calibration Passed Calibration Failed MS-4 Imager User’s Manual Calibration Window of Interest Framing Disabled When this feature is disabled, the Window of Interest is not modified after the calibration process is complete. Row and Column If the calibration process is successful, the Window of Interest will be modified to frame the symbol as well as an additional margin area around the symbol, determined by the WOI Margin parameter. Refer to the diagram below: Column If the calibration process is successful, the Window of Interest columns will be modified to vertically frame the symbol, plus an additional margin area around the symbol, determined by the WOI Margin parameter. Refer to the diagram below: Row If the calibration process is successful, the Window of Interest rows will be modified to horizontally frame the symbol, plus an additional margin area around the symbol, determined by the WOI Margin parameter. Refer to the diagram below: MS-4 Imager User’s Manual 4-7 Calibration Options Straight Line This feature is intended for use with linear symbologies. If the calibration process is successful, the orientation of the symbol is determined and the Window of Interest is modified according to the symbol orientation. The scan line orientation is determined to be vertical if the symbol tilt is between 225° and 315°, or between 45° and 135°. Otherwise, the scan line will be horizontal. If the symbol is vertical, the image column size will be set by the scan height parameter, and will be configured for full row resolution. If the symbol is horizontal, the image row size will be set by the scan height parameter, and will be configured for full column resolution. The scan line will be centered in the middle of the symbol. If the symbol is tilted such that the scan line will not pass completely through the symbol, the scan width will be adjusted to include the entire symbol. Refer to the diagram below: Straight Line Framed This parameter is the same as “Straight Line”, except that the Window of Interest will also frame the scan line on the symbol length as well. The scan line includes the symbol plus an additional margin area determined by the WOI Margin parameter. 4-8 MS-4 Imager User’s Manual Calibration Window of Interest (WOI) Margin Definition: Serial Cmd: Default: Options: Sets the margin size that is applied to the calibrated symbol. This parameter is expressed in number of pixels. If the margin causes the image to exceed the maximum image size, it will be reduced accordingly. 75 (pixels) 20 to 640 Line Scan Height Definition: Serial Cmd: Default: Options: This parameter is only used with the Straight Line modes. It sets the scan height of the straight-line image, and it is expressed in number of pixels. 64 (pixels) 3 to 480 Processing Definition: Serial Cmd: Default: Options: This setting defines the amount of time and effort the Imager will spend attempting to decode a symbol for each parameter configuration. Medium 0 = Low 1 = Medium 2 = High 3 = Definable Low The Imager will spend a low amount of effort attempting to decode the given symbol for each parameter configuration. Medium The Imager will spend a medium amount of effort attempting to decode the given symbol for each parameter configuration. High The Imager will spend a high amount of effort attempting to decode the given symbol for each parameter configuration. Definable The processing time for each image frame is defined by the Image Processing Timeout parameter . MS-4 Imager User’s Manual 4-9 Calibration by ESP Calibration by ESP ESP’s Calibration view incorporates all the functionality of the (Calibration Options) command in a single easy-to-use, intuitive interface. This calibration process allows the user much finer control of individual parameters than the calibration routine in EZ Mode or on the Video tab. Before / During Calibration Before and After tabs give the user an authentic representation of the difference in what the Imager “sees” before and after the calibration routine. Shutter, Gain, and Image Quality values are all tracked in real-time during the calibration process. Gain and Shutter Speed are configurable in the Calibration interface. Determines the amount of time and effort the Imager will spend attempting to decode a symbol for each parameter configuration. (Low, Medium, High, Definable). Dropdown menu of 1D and 2D symbologies, and a check box for enabling or disabling Composite symbologies. Initiates the calibration routine. Cancels the calibration process, if necessary. The Window of Interest section of the Calibration interface allows the user to make precise adjustments to WOI Framing, WOI Margin (in pixels), and the scan height of the straight-line image (in pixels). 4-10 MS-4 Imager User’s Manual Calibration After Calibration Notice the improved image resolution after the calibration process is complete. The Shutter, Gain, and Quality indicator bars remain stationary at the end of calibration to provide a visual reference for the final values of these parameters. The calibration progress bar indicates that the process has been completed. Saves the optimal configuration parameters determined by calibration results. MS-4 Imager User’s Manual 4-11 Initiating Calibration Initiating Calibration Calibration can be initiated by serial command, the EZ button, or from the Calibration interface in ESP. In ESP, the Calibrate button starts the calibration routine. To initiate calibration by serial command, enter the serial command <@CAL> from a terminal, such as ESP’s Terminal interface. <@CAL> is a calibration routine that emphasizes contrast and readability. See Calibrate by EZ Button on page 1-10 for the EZ button calibration procedure. 4-12 MS-4 Imager User’s Manual Calibration Calibration Progress Indicators During the calibration process, the Imager has a number of ways to communicate its progress to the user. The following three types of feedback are the primary ways that the Imager communicates calibration progress. Read Rate LEDs When calibration is initiated through a serial command or the EZ button, the Imager’s read rate LEDs indicate calibration progress as follows: LEDs 20% 20%, 40%, 60% 20%, 40%, 60%, 80% 20%, 40%, 60%, 80%, 100% Calibration Progress Search Pass in progress. Medium Pass in progress. Fine-Tune Pass in progress. Calibrated Successfully (holds for green flash duration). Beeper / Green Flash The beeper and green LED flash are used to indicate calibration status as shown in the table below: Indicator 2 quick beeps 5 quick beeps 1 long beep 1 sec. Green Flash MS-4 Imager User’s Manual Status Calibration has started. Calibration has failed. Calibration has been completed successfully. Calibration has been completed successfully. 4-13 Initiating Calibration Calibration Progress Output to Terminal When initiated by serial command or EZ button, the autocalibration operation will output progress and process information to a terminal if the system is configured to do so. Terminal Depending upon how the calibration options are configured, the autocalibration process can have up to 3 steps (Search Pass, Medium Pass, Fine-Tune Pass). Calibration data is shown in a simple table format under 7 category headings, each of which are defined below. Heading Prog Rating Decode Quality Shutter Gain Locate Definition Progress indicator with a range of 0 - 100. Indicates percent complete. Rating indicator; higher ratings are more favorable. Number of successful decodes for the pass. Quality indicator; higher ratings are more favorable. Shutter setting under operation. Gain setting under operation. Time required to locate symbol, expressed in milliseconds. Calibration Progress Output Examples (Terminal) Search Pass The purpose of Search Pass is to decode a symbol in as few configurations as possible during calibration. This process is designed to quickly identify symbology type, and any image processing parameters that are already calibrated. Running Search Pass 4-14 Prog Rating Decode Quality Shutter Gain Locate 12 14 16 18 0 0 0 2174 0 0 0 1 0 0 0 72 250 250 250 250 0 9 18 27 0 0 0 24 MS-4 Imager User’s Manual Calibration Medium Pass The theory behind Medium Pass is to develop a readable range from which to dial in a decoded symbol. Running Medium Pass Prog Rating Decode Quality Shutter Gain Locate 51 53 55 57 59 61 63 65 67 69 71 73 75 4216 8436 6336 8448 8456 8464 8472 8488 8504 8512 8528 8584 8644 2 4 3 4 4 4 4 4 4 4 4 4 4 8 20 24 32 40 48 56 72 88 96 112 168 228 250 250 250 250 250 250 250 250 250 250 250 250 250 0 4 8 12 16 20 24 28 32 36 40 44 48 5 4 4 4 5 4 5 5 5 5 6 5 5 Rating List (Best): Rating = 8606; Shutter = 250; Gain = 48 Rating = 8581; Shutter = 250; Gain = 44 Rating = 8553; Shutter = 250; Gain = 40 Rating = 8527; Shutter = 250; Gain = 36 Rating = 8505; Shutter = 250; Gain = 32 Rating = 8488; Shutter = 250; Gain = 28 Rating = 8476; Shutter = 250; Gain = 24 MS-4 Imager User’s Manual 4-15 Initiating Calibration Fine-Tune Pass The theory behind Fine-Tune Pass is to dial in a decoded symbol based on the range supplied by the Medium Pass. Running Fine Tune Pass Prog Rating Decode Quality Shutter Gain Locate 77 79 81 84 86 88 90 93 95 97 100 6416 6424 6424 6432 6448 6464 6476 6488 6506 6524 6538 3 3 3 3 3 3 3 3 3 3 3 104 112 112 120 136 152 164 176 194 212 226 250 250 250 250 250 250 250 250 250 250 250 38 39 40 41 42 43 44 45 46 47 48 7 6 6 6 5 5 5 5 6 5 6 Rating List (Best): Rating = 6527; Shutter = 250; Gain = 48 Rating = 6517; Shutter = 250; Gain = 47 Rating = 6505; Shutter = 250; Gain = 46 Rating = 6491; Shutter = 250; Gain = 45 Rating = 6476; Shutter = 250; Gain = 44 Rating = 6462; Shutter = 250; Gain = 43 Rating = 6449; Shutter = 250; Gain = 42 Calibration PASSED. 4-16 MS-4 Imager User’s Manual Calibration Additional Notes about Calibration The following conditions apply to the Imager’s calibration process. Some of these items are noted at various points throughout this section, or in other sections of the Imager’s documentation. 1. The Mirrored Image parameter is not part of the calibration process. 2. Background Color is calibrated. 3. If Window of Interest (WOI) Framing is enabled, the WOI will be set to full frame when calibration begins. If WOI Framing is disabled, the current WOI configuration will be used for the Search Pass. 4. IP Mode will not be altered during calibration. 5. Threshold Mode will be set to Adaptive during calibration. At the end of a successful calibration, Threshold Mode will remain set to Adaptive regardless of its previous setting. Otherwise, the value will revert to its original state. 6. If Symbol Type is enabled for calibration (Autodiscriminate), then Interleaved 2 of 5 Range Mode Status (Interleaved 2 of 5) will be enabled. This allows variable-length Interleaved 2 of 5 symbols to be decoded. If an Interleaved 2 of 5 symbol is decoded during calibration, then symbol length # 1 will be set to the decoded symbol length at the end of calibration. Otherwise, the symbol lengths will be restored to their original configurations. 7. The symbol size, dimension, and orientation parameters of the No Symbol Message and Bad Symbol Message, and 2D Symbology Qualification command will be updated if calibration is completed successfully. 8. All symbol types that were enabled before calibration will still be enabled after calibration. For example, if Data Matrix ECC 200 was enabled before calibration, and the calibration routine was performed on a Code 128 symbol, then after calibration is completed both Data Matrix ECC 200 and Code 128 will be enabled. 9. The calibration process does not modify the global Composite status . The global Composite status must be configured properly before calibration. 10. If the user requires calibration of a stacked symbology , , or , that symbology must be enabled and configured appropriately before calibration. 11. UPC Supplementals will be disabled during calibration. 12. The Search Pass process will use the configurable Window of Interest for image captures. However, when the search process is completed, the WOI will be reduced to include only the symbol of interest and some additional boundary area. MS-4 Imager User’s Manual 4-17 Additional Notes about Calibration 4-18 MS-4 Imager User’s Manual 5 Read Cycle Contents Read Cycle by ESP ...................................................................................................................... 5-2 Read Cycle Serial Commands...................................................................................................... 5-3 Read Cycle Setup......................................................................................................................... 5-4 Multisymbol................................................................................................................................... 5-5 Trigger Mode and Duration........................................................................................................... 5-6 External Trigger Polarity ............................................................................................................. 5-11 Serial Trigger .............................................................................................................................. 5-12 Start Trigger Character (Non-Delimited)..................................................................................... 5-13 Stop Trigger Character (Non-Delimited) ..................................................................................... 5-13 End of Read Cycle...................................................................................................................... 5-14 Capture Mode ............................................................................................................................. 5-16 Capture Timing ........................................................................................................................... 5-20 Image Processing Timeout ......................................................................................................... 5-22 Image Storage ............................................................................................................................ 5-23 Minimum Good Reads ................................................................................................................ 5-25 Setting Up the Imager for EZ Trax.............................................................................................. 5-26 After you’ve established communications and completed basic read rate testing, you will need to address the spatial and timing parameters associated with your application. This section explains those parameters. MS-4 Imager User’s Manual 5-1 Read Cycle by ESP Read Cycle by ESP Click this button to bring up the Read Cycle menu. To change a setting, double click the setting and use your cursor to scroll through the options. To open nested options, single click the +. 5-2 MS-4 Imager User’s Manual Read Cycle Read Cycle Serial Commands Trigger Mode/Duration Serial Trigger Character External Trigger State End of Read Cycle Minimum Good Reads Multisymbol Start Trigger Character Stop Trigger Character Capture Mode Capture Timing Image Storage IP Timeout MS-4 Imager User’s Manual 5-3 Read Cycle Setup Read Cycle Setup Setting up read cycle and triggering parameters will involve a series of decisions based on your particular application, as follows: 1. Select the number of symbols to be read in a single cycle. The MS-4 can read multiple symbols in a single image frame. 2. Decide on the trigger type to be used: if serial, choose a serial character; if external, choose either Level or Edge. 3. Designate how the read cycle should end (Timeout, New Trigger, Last Frame). 4. Select Capture Mode, Continuous Mode, or Rapid Mode. 5. Select Number of Captures (if in Rapid Capture Mode). 6. Set the Time Before First Capture and Time Between Captures, if any. Note: The Imager’s camera captures images at a rate of about 16/second (based on a full-size 640 x 480 image). The capture rate increases as frame sizes decrease. Note: If you need to set up your MS-4 for use with EZ Trax software, see Setting Up the Imager for EZ Trax. 5-4 MS-4 Imager User’s Manual Read Cycle Multisymbol Usage: Definition: Conditions: Multisymbol is commonly used in shipping applications where a shipping symbol contains individual symbols for part number, quantity, etc. This feature allows on trigger to pick up all the symbols. Multisymbol allows the user to define up to 100 symbols that can be read in a single read cycle. The following conditions apply: • Each symbol must be different to be read, unless in Rapid Capture Mode, configured for “triggered capture”. • The maximum number of characters in a read cycle is 3,000 for all symbols. • All No Read messages are posted at the end of the data string, unless output filtering is enabled. • If more than one symbol is within the field of view at the same time, symbol data may not be displayed in the order of appearance. • If Matchcode Type is set to Sequential or if Trigger is set to Continuous Read 1 Output, the Imager will behave as if Number of Symbols were set to 1, regardless of the user-defined configuration. Number of Symbols Definition: Serial Cmd: Default: Options: Number of Symbols is the number of different symbols that can be read in a single read cycle. 1 1 to 100 Multisymbol Separator Usage: Definition: Used to delimit or separate data fields with a user defined character. Any valid ASCII character, inserted between each symbol read when Multisymbol is set to any number greater than 1. Serial Cmd: Default: , (comma) Options: Any available ASCII character. Note: The ASCII characters <, >, and , can only be entered as hex pairs: For <: For >: For , : See ASCII Character Entry Modifier on page 3-32 for a more detailed explanation of how to enter ASCII characters as hex values. Note: If No Read messages are disabled and there are No Reads occurring, separators will only be inserted between symbol data outputs. MS-4 Imager User’s Manual 5-5 Trigger Mode and Duration Trigger Mode and Duration Trigger Definition: The event that initiates the read cycle. Note: When calibrating the Imager or testing read rate, the current trigger setting will be disregarded. Trigger Mode Serial Cmd: Default: Options: Continuous Read 0 = Continuous Read 1 = Continuous Read 1 Output 2 = External Level 3 = External Edge 4 = Serial Data 5 = Serial Data and External Edge Continuous Read Usage: Definition: Serial Cmd: 5-6 Continuous Read is useful in testing symbol readability or reader functions. It is not recommended for normal operations. In Continuous Read, trigger input options are disabled, the Imager is always in the read cycle, and it will attempt to decode and transmit every capture. If a single symbol stays within read range for multiple read cycles, its data will be transmitted repeatedly until it leaves the read range. The Imager sends replies to serial commands that require responses when symbol data is transmitted, or read cycle timeout is enabled and a timeout occurs and at least one captured image has been processed. Depending on the combination of enabled symbologies and the Threshold Mode setting, the Imager may take longer than the timeout to process a captured image. Note: When to Output and No Read options have no affect on Continuous Read. MS-4 Imager User’s Manual Read Cycle Continuous Read 1 Output Usage: Definition: Serial Cmd: Continuous Read 1 Output can be useful in applications where it is not feasible to use a trigger and all succeeding symbols contain different information. It is also effective in applications where the objects are presented by hand. In Continuous Read 1 Output the Imager self-triggers whenever it decodes a new symbol or a timeout occurs. If End of Read Cycle is set to Timeout and the symbol doesn’t change, the output is repeated at the end of each timeout period. For example, if Timeout is set to one second, the Imager sends the symbol data immediately and repeats the output at intervals of one second for as long as it continues to capture the symbol. If End of Read Cycle is set to New Trigger, the Imager will send the current symbol data immediately, but only once. A new symbol appearing in the Imager’s range will be read and sent immediately, provided it is not identical to the previous symbol. Caution: In automated environments, Continuous Read 1 Output is not recommended because there is typically no reliable way to verify that a symbol was missed. Note: If Trigger Mode is set to Continuous Read 1 Output, the Imager will behave as if Number of Symbols were set to 1, regardless of the user-defined configuration. MS-4 Imager User’s Manual 5-7 Trigger Mode and Duration External Level Initiate Read Cycle: Object #1, moving in front of the detector beam, causes a change in the trigger state, which initiates the read cycle. End Read Cycle: The same object, moving out of the detector beam, causes another change in the trigger state, which ends the read cycle. Usage: Definition: Serial Cmd: This mode is effective in an application where the speeds of the conveying apparatus are variable and the time the Imager spends reading each object is not predictable. It also allows the user to determine if a No Read has occurred. External Level allows the read cycle (active state) to begin when a trigger (change of state) from an external sensing device is received. The read cycle persists until the object moves out of the sensor range and the active trigger state changes again. Important: Level and Edge apply to the active logic state (Negative or Positive) that exists while the object is in a read cycle, between the rising edge and the falling edge. Rising edge is the trigger signal associated with the appearance of an object. Falling edge is the trigger signal associated with the subsequent disappearance of the object. This applies both to External Level and External Edge. External Edge Initiate Read Cycle: Object # 1, moving in front of the detector beam, causes a change in the trigger state, which initiates the read cycle. Initiate Second Read Cycle: Object # 2, moving in front of the detector beam, causes another change in the trigger state. This signal initiates a new read cycle and ends the previous read cycle unless Timeout is enabled and a good read or timeout has not occured. Usage: Definition: Serial Cmd: 5-8 This mode is highly recommended in any application where conveying speed is constant, or if spacing, object size, or read cycle timeouts are consistent. External Edge, as with Level, allows the read cycle (active state) to begin when a trigger (change of state) from an external sensing device is received. However, the passing of an object out of sensor range does not end the read cycle. The read cycle ends with a good read output, or, depending on the End of Read Cycle setting, a timeout or new trigger occurs. MS-4 Imager User’s Manual Read Cycle Serial Data Usage: Definition: Serial Cmd: Serial Data is effective in a highly controlled environment where the host knows precisely when the object is in the field of view. It is also useful in determining if a No Read has occurred. In Serial Data, the Imager accepts an ASCII character from the host or controlling device as a trigger to start a read cycle. A Serial Data trigger behaves the same as an External Edge trigger. Serial commands are entered inside angle brackets, as shown here: . Note: In Serial Data, sending a non-delimited start serial character will start a read cycle; however, a non-delimited stop serial character has no effect. Serial Data or External Edge Usage: Definition: Serial Cmd: Serial Data or External Edge is seldom used but can be useful in an application that primarily uses an external sensing device but occasionally needs to be triggered manually. An auxiliary terminal can be connected to the auxiliary port so the user can send the serial trigger character through the Imager to the host. In this mode the Imager accepts either a serial ASCII character or an external trigger pulse to start the read cycle. Note: In Serial Data, sending a non-delimited start serial character will start a read cycle; however, a non-delimited stop serial character has no effect. MS-4 Imager User’s Manual 5-9 Trigger Mode and Duration Trigger Filter Duration Usage: Definition: Serial Cmd: Default: Options: Trigger Filter Duration allows the Imager to disregard false trigger events. When Trigger Mode is set to either External Edge or External Level, the read cycle’s active state must be delayed until the specified filter duration has elapsed. The Imager will trigger at the end of that duration. 313 (x 32µs = 10.24mS) 1 to 65535 (corresponding with 32µs to 2.097seconds in 32µs steps) Note: If Trigger Mode is set to External Edge, the Imager will trigger only after the active state has been delayed for the specified filter duration. Note: If Trigger Mode is set to External Level, the Imager will trigger once the active state has been delayed for the specified filter duration after the appearance of an object’s active edge. In addition, the active state must be delayed for the specified filter duration after the disappearance of the object’s falling edge for the trigger to be rendered inactive. 5-10 MS-4 Imager User’s Manual Read Cycle External Trigger Polarity Usage: Definition: Serial Cmd: Default: Options: Allows users to select the trigger polarity that will be used in their application. Determines the active state of the trigger signal applied to the cable input of the Imager. Positive 0 = Negative 1 = Positive MS-4 Imager User’s Manual 5-11 Serial Trigger Serial Trigger Usage: Definition: Allows the user to define the trigger character and delimiters that start and stop the read cycle. A serial trigger is considered an online host command and requires the same command format as all host commands. It must be entered within angle bracket delimiters < > or, in the case of non-delimited triggers, it must define individual start and stop characters. Serial Trigger Character (Delimited) Usage: Definition: Allows the user to define the trigger character that initiates the read cycle. A single ASCII host serial trigger character that initiates the read cycle. A delimited trigger character is one that either starts or ends the read cycle and is enclosed by delimiters such as < >. Serial Cmd: Default: Space bar Options: Any single ASCII character, including control characters, except NUL (00 in hex), an existing host command character, or an on-line protocol character. Control characters entered on the command line are displayed in the menu as mnemonic characters. Note: Serial Data or Serial Data or External Edge triggering mode must be enabled for Serial Trigger Character to take effect. Important: The ASCII characters <, >, and , can only be entered as hex pairs: For <: For >: For , : See ASCII Character Entry Modifier on page 3-32 for a detailed explanation of how to enter ASCII characters as hex values. 5-12 MS-4 Imager User’s Manual Read Cycle Start Trigger Character (Non-Delimited) Usage: Definition: Serial Cmd: Default: Options: Useful in applications where different characters are required to start a read cycle. A single ASCII host serial trigger character that starts the read cycle and is not enclosed by delimiters such as < and >. Non-delimited Start characters can be defined and will function according to the trigger event. When defining Start trigger characters, the following rules apply: • In External Edge the Imager looks only for the Start trigger character and ignores any Stop trigger character that may be defined. • In External Level the Start trigger character begins the read cycle and the Stop trigger character ends it. Note that even after a symbol has been decoded and the symbol data transmitted, the Imager remains in External Level trigger read cycle until a Stop character is received. • In Serial Data or External Edge trigger mode, either a Start trigger character or a hardware trigger can start an edge trigger read cycle. NUL (00 in hex) (disabled) Two hex digits representing any ASCII character. Note: See ASCII Character Entry Modifier on page 3-32 for hex entry instructions. Stop Trigger Character (Non-Delimited) Usage: Definition: Serial Cmd: Default: Options: Useful in applications where different characters are required to end a read cycle. A single ASCII host serial trigger character that ends the read cycle and is not enclosed by delimiters such as < and >. Non-delimited Stop characters can be defined and will function according to the trigger event. When defining Stop trigger characters, the following rules apply: • In External Edge the Imager looks only for the Start trigger character and ignores any Stop trigger character that may be defined. • In External Level the Start trigger character begins the read cycle and the Stop trigger character ends it. Note that even after a symbol has been decoded and the symbol data transmitted, the Imager remains in External Level trigger read cycle until a Stop character is received. • In Serial Data or External Edge trigger mode, either a Start trigger character or a hardware trigger can start an edge trigger read cycle. NUL (00 in hex) (disabled) Two hex digits representing any ASCII character. Note: See ASCII Character Entry Modifier on page 3-32 for hex entry instructions. MS-4 Imager User’s Manual 5-13 End of Read Cycle End of Read Cycle Definition: The read cycle is the time during which the Imager will attempt to capture and decode a symbol. A read cycle can be ended by a timeout, a new trigger, or by the last frame in a capture sequence or a combination of the above. End of Read Cycle Mode Note: When operating in Continuous Read or Continuous Read 1 Output, the Imager is always in the read cycle. Serial Cmd: Default: Options: Timeout 1 = New Trigger 0 = Timeout 3 = Last Frame 2 = Timeout or new Trigger 4 = Last Frame or New Trigger Timeout Usage: Definition: 5-14 Typically used with Serial Data or External Edge and Continuous Read 1 Output. It is effective in highly controlled applications when the maximum length of time between objects can be predicted. It assures that a read cycle ends before the next symbol appears, giving the system extra time to decode and transmit the data to the host. Timeout ends the read cycle, causing the reader to stop reading symbols and send the symbol data or No Read message when the time set in Timeout elapses (times out), if When to Output is set to End of Read Cycle. If in Continuous Read 1 Output, a timeout initiates a new read cycle and allows the same symbol to be read again. With External Edge, Serial Data, or Serial Data or External Edge enabled, a timeout ends the read cycle and symbol data or a No Read message is sent to the host. With External Level enabled, the read cycle does not end until the falling edge trigger occurs or a timeout occurs. The next read cycle does not begin until the next rising edge trigger. MS-4 Imager User’s Manual Read Cycle New Trigger Usage: Definition: New Trigger is an effective way to end a read cycle when objects move past the reader at irregular intervals (not timing-dependent). New Trigger ends the current read cycle and initiates a new one when a new trigger occurs. New Trigger refers only to a rising edge trigger. With External Edge, Serial Data, or Serial Data or External Edge enabled, an edge or serial trigger ends a read cycle and initiates the next read cycle. In the case of External Level, a falling edge trigger ends the read cycle but the next read cycle does not begin until the occurrence of the next rising edge trigger. Timeout or New Trigger Usage: Definition: Useful in applications that require an alternative way to end the read cycle. For example, if an assembly line should stop completely or the intervals between objects are highly irregular. Timeout or New Trigger is identical to Timeout except that a timeout or a new trigger (whichever occurs first) ends the read cycle. Last Frame Usage: Definition: Useful in applications in which the number of captures needed can be defined but the timeout duration varies. Last Frame only applies to Rapid Capture Mode. Last Frame or New Trigger Usage: Definition: Useful in applications in which line speeds are irregular and a new labelled object could appear before the last frame in a Rapid Capture sequence. Last Frame or New Trigger is identical to New Trigger except that a new trigger or last frame (whichever occurs first) ends the read cycle. Read Cycle Timeout Definition: Serial Cmd: Default: Options: Read Cycle Timeout is the duration of the read cycle. 200 (x10mS) 1 to 65,535 MS-4 Imager User’s Manual 5-15 Capture Mode Capture Mode Definition: Serial Cmd: Default: Options: Capture Mode relates to the way that images are captured and processed. Continuous Capture 0 = Rapid Capture 1 = Continuous Capture Rapid Capture Definition: In a rapid capture mode, one or multiple captures (as many as 32) can be taken at an interval specified by the time-between-captures parameter. In this mode, the only limiting time factor is integration and transfer timing. Continuous Capture Usage: Definition: Continuous Capture is useful in applications with slower line speeds or where symbol spacing may be random or not time-dependent. In Continuous Capture Mode, image captures are taken throughout the read cycle in a multi-buffered format (see diagram below). The Imager begins processing the first captured image at the same time that it captures the second image. Captures will continue occurring throughout the read cycle until an end condition occurs, such as a timeout, a new trigger, the last frame in a capture sequence, or a combination of the above. Capture Start of Read Cycle 1 2 3 4 5 End of read cycle Processing time 5-16 MS-4 Imager User’s Manual Read Cycle Number of Captures Usage: Definition: Serial Cmd: Default: Options: Used to increase the opportunities for good reads and to “extend” the field of view in dynamic applications. Sets the total number of captures that are processed during a read cycle in Rapid Capture Mode when Switching Mode is set to Number of Captures. 1 1 to 32 Note: The range of maximum number of captures is dynamic. This range is dependent on the maximum image size in the system. A full-size image (640 x 480) reduces the maximum number of images to 6. The smaller the image size, the greater the maximum number of captures. Once the image size is reduced to small enough dimensions, the maximum number of captures will be capped at 32. If a user enters a maximum capture value greater than that allowed, the value will be limited to the number of system images. This command also affects the number of stored images allowed in the system. If the maximum number of captures is selected, the number of stored images allowed will be 0. Rapid Capture Mode Definition: Serial Cmd: Default: Options: In Rapid Capture Mode, one or multiple captures (as many as 32) can be taken at an interval specified by the time-between-captures parameter. In this mode, the only limiting time factor is integration and transfer timing. Timed Capture 0 = Timed Capture 1 = Triggered Capture MS-4 Imager User’s Manual 5-17 Timed Capture Usage: Definition: Timed Capture is useful in fast-moving applications in which symbols are only in the field of view for a short time and precise timing is required. In Timed Rapid Capture, decoding occurs independent of and simultaneous with capturing, thus allowing precise timing or no delay at all between captures. Also, consecutive captures are regarded as the same symbol if the output data is the same. No Time Delay Between Captures Start of Read Cycle Diagram A n End of read cycle Time Before First Capture Time Delay Between Captures End of read cycle Diagram B Processing 5-18 MS-4 Imager User’s Manual Read Cycle Triggered Capture Usage: Definition: Useful in applications where each decode must be treated as a discrete event, regardless of symbol data. When Rapid Capture Mode is set to Triggered Capture, each decode is considered a separate event, even if the current decode data is identical to the previous decode data. The first trigger event starts the read cycle, and subsequent triggers will continue until the predetermined Number of Captures is met, or until the predetermined End of Read Cycle condition is met-- whichever occurs first. Note: If End of Read Cycle is set for New Trigger and the read cycle qualifications have not been met, the read cycle will only end once it receives the first trigger after reaching the predetermined Number of Captures setting. First trigger starts the read cycle Captures on every trigger Capture Read cycle ends on New Trigger or Timeout, as configured. Processing MS-4 Imager User’s Manual 5-19 Capture Timing Capture Timing Note: Capture Timing applies only to Rapid Capture Mode. Time Before First Capture Usage: Definition: Serial Cmd: Default: Options: In almost any moving line application, a time delay is needed to ensure that a symbol will be in the Imager’s field of view at the beginning of the capture sequence. Time Before First Capture in a moving line application is the time between an external trigger event and the occurrence of the first capture. 0 0 to 65535 (2.097 seconds, in 32 µS increments) Start of Read Cycle Time Before First Capture Processing 5-20 MS-4 Imager User’s Manual Read Cycle Time Between Captures Usage: This is useful in applications where more than one symbol can appear during a single read cycle (multisymbol), or where line speeds are slow enough that captured frames might overlap or miss a symbol. A time delay can be inserted between individual frame captures in Rapid Capture Mode. 5,000 mS (5 sec.) 1 to 65535 (in 1mS increments) Notes: • The timeout period does not include capture time. • If a timeout occurs during processing and no symbols in the field of view have been decoded, the image will be recorded as a No Read. For this reason, a longer timeout should be tried to ensure that the symbol is decoded successfully. 5-22 MS-4 Imager User’s Manual Read Cycle Image Storage Image Storage Type Definition: Serial Cmd: Default: Options: Allows the user to store images from separate read cycles and to retrieve them later. The number of available slots for storage depends on the mode of operation. If the Imager is in Rapid Capture Mode, the number of images that can be stored is equivalent to the maximum number of the rapid count (the current rapid count setting). If the Imager is in Continuous Capture Mode, a number of images equivalent to the maximum number of the rapid count minus 3. Disabled/Clear 0 = Disabled/Clear 1 = Store on No Read Disabled / Clear Upon selection of this option, all saved images will be cleared and the Imager will not store images for later viewing. Store on No Read This option will cause the Imager to store an image upon exiting the read cycle for retrieval at a later time. If multiple captures are present during the duration of a read cycle, the stored image will be the last image processed for that read cycle. This image is stored in RAM and can be retrieved as long as power is cycled to the Imager, and as long as the Imager has not been reset via a reset/save sequence. Other commands that can initialize storage in RAM are ones that change capture modes or put the Imager in a test capture mode. Image Storage Mode Serial Cmd: Default: Options: First Mode 0 = First Mode 1 = Last Mode First Mode This mode allows the Imager to store images until the available image memory has been filled. At that point the Imager will stop saving additional images. In this mode, you will always have the first image captured, because the saving process stops once memory has been filled. Last Mode In this mode, image storage continues after available memory limits are reached. The oldest image in memory is overwritten, so you will always have the most recent stored image. MS-4 Imager User’s Manual 5-23 Image Storage Image Storage Example The following example assumes that the Imager is in a rapid capture mode of 3 captures. Number of Symbols: Frame # 1: Frame # 2: Frame # 3: Read Cycle Result: Stored Frame: 1 No Read No Read Good Read, Symbol # 1 Good Read None Number of Symbols: Frame # 1: Frame # 2: Frame # 3: Read Cycle Result: Stored Frame: 1 No Read No Read No Read No Read Frame # 3 Number of Symbols: Frame # 1: Frame # 2: Frame # 3: Read Cycle Result: Stored Frame: 2 No Read No Read Good Read, Symbol # 1 No Read Frame # 2 5-24 MS-4 Imager User’s Manual Read Cycle Minimum Good Reads Definition: Serial Cmd: Default: Options: This value specifies the number of times a symbol needs to be read to qualify as a good read. 1 1 to 255 MS-4 Imager User’s Manual 5-25 Setting Up the Imager for EZ Trax Setting Up the Imager for EZ Trax If you are using EZ Trax software, it is important to set up the MS-4 correctly before beginning. Click the Read Cycle button to display the Read Cycle tree control. Set Trigger Mode, , to External Edge. Set Capture Mode, , to Rapid Capture. Once these Read Cycle parameters are set, you will be ready to connect to EZ Trax. For a description of how to configure EZ Trax using serial commands or ESP, see Configuring EZ Trax Output in Chapter 7, I/O Parameters. For more detailed information about using EZ Trax, refer to the Help menu in EZ Trax software, or the EZ Trax Quick Start Guide, available on the Microscan Tools CD. 5-26 MS-4 Imager User’s Manual 6 Symbologies Contents Symbologies by ESP.................................................................................................................... 6-2 Symbologies Serial Commands ................................................................................................... 6-3 Data Matrix ................................................................................................................................... 6-4 QR Code ...................................................................................................................................... 6-6 Code 39........................................................................................................................................ 6-7 Code 128 / EAN 128 .................................................................................................................. 6-10 BC412 ........................................................................................................................................ 6-13 Interleaved 2 of 5........................................................................................................................ 6-14 Code 93...................................................................................................................................... 6-17 Codabar...................................................................................................................................... 6-18 UPC / EAN ................................................................................................................................. 6-21 GS1 DataBar (RSS) ................................................................................................................... 6-25 PDF417 ...................................................................................................................................... 6-27 MicroPDF417 ............................................................................................................................. 6-29 Composite .................................................................................................................................. 6-30 Narrow Margins / Symbology Identifier ...................................................................................... 6-31 Background Color....................................................................................................................... 6-33 This section describes the various symbol types that can be read and decoded by the MS-4 Imager. See the following sites for additional information about linear and 2D symbologies: http://www.aimglobal.org/standards/aimpubs.asp http://barcodes.gs1us.org/dnn_bcec/Default.aspx?tabid=82 MS-4 Imager User’s Manual 6-1 Symbologies by ESP Symbologies by ESP Click this button to bring up the Symbologies menu. To change a setting, double-click the setting and use your cursor to scroll through the options. To open nested options, single-click the +. 6-2 MS-4 Imager User’s Manual Symbologies Symbologies Serial Commands Narrow Margins/Symbology ID Background Color Composite Code 39 Codabar Interleaved 2 of 5 UPC/EAN Code 128/EAN 128 Code 93 PDF417 Data Matrix QR Code BC412 DataBar-14 DataBar Limited DataBar Expanded MicroPDF417 MS-4 Imager User’s Manual 6-3 Data Matrix Data Matrix Usage: Definition: Very useful where information needs to be packed into a small area, and/ or where symbols need to be applied directly to the substrate with laser etching, chemical etching, dot peen, or other methods. Data Matrix is a type of Matrix symbology and has subsets ECC 000 - ECC 200. ECC 200 symbols have an even number of rows and an even number of columns. Most of the symbols are square with sizes from 10x10 to 144x144. Some symbols, however, are rectangular, with sizes from 8x18 to 16x48. All ECC 200 symbols can be recognized by the upper right corner module being light (binary 0) instead of dark. ECC 200 Definition: Serial Cmd: Default: Options: When enabled, will decode ECC 200 Data Matrix symbols. Enabled Note: This is the only symbol type enabled by default. 0 = Disabled 1 = Enabled ECC 000 Definition: Serial Cmd: Default: Options: When enabled, will decode ECC 000 symbols. Disabled 0 = Disabled 1 = Enabled ECC 050 Definition: Serial Cmd: Default: Options: 6-4 When enabled, will decode ECC 050 symbols. Disabled 0 = Disabled 1 = Enabled MS-4 Imager User’s Manual Symbologies ECC 080 Definition: Serial Cmd: Default: Options: When enabled, will decode ECC 080 symbols. Disabled 0 = Disabled 1 = Enabled ECC 100 Definition: Serial Cmd: Default: Options: When enabled, will decode ECC 100 symbols. Disabled 0 = Disabled 1 = Enabled ECC 140 Definition: Serial Cmd: Default: Options: When enabled, will decode ECC 140 symbols. Disabled 0 = Disabled 1 = Enabled ECC 120 Definition: Serial Cmd: Default: Options: When enabled, will decode ECC 120 symbols. Disabled 0 = Disabled 1 = Enabled ECC 130 Definition: Serial Cmd: Default: Options: When enabled, will decode ECC 130 symbols. Disabled 0 = Disabled MS-4 Imager User’s Manual 1 = Enabled 6-5 QR Code QR Code Usage: Definition: Serial Cmd: Default: Options: 6-6 Widely implemented in the automotive industry in Japan and throughout their worldwide supply chain. QR Code is capable of handling numeric, alphanumeric, and byte data as well as kanji and kana characters. Up to 7,366 characters (numeric data) can be encoded using this symbol. Therefore, less space is required to encode the same amount of data in a QR Code symbol than in a conventional symbol, lowering the cost of labelling. Three Position Detection Patterns in the symbol make omnidirectional, ultra-fast reading possible. QR Code has error protection capability. Data can often be restored even if a part of the symbol has become dirty or damaged. Disabled 0 = Disabled 1 = Enabled MS-4 Imager User’s Manual Symbologies Code 39 Usage: Definition: Serial Cmd: Default: Options: Code 39 is considered the standard for non-retail 1D symbology. An alphanumeric symbology with unique start/stop code patterns, composed of 9 black and white elements per character, of which 3 are wide. Disabled 0 = Disabled 1 = Enabled Check Digit Status (Code 39) Serial Cmd: Default: Options: Disabled 0 = Disabled 1 = Enabled Check Digit Output Status (Code 39) Usage: Definition: Serial Cmd: Default: Options: Check Digit Output Status, added to the symbol, provides additional data security. When enabled, the check digit character is read and compared along with the symbol data. When disabled, symbol data is sent without the check digit. Note: With Check Digit Output Status and an External or Serial trigger option enabled, an invalid check digit calculation will cause a No Read message to be transmitted at the end of the read cycle. Disabled 0 = Disabled MS-4 Imager User’s Manual 1 = Enabled 6-7 Code 39 Large Intercharacter Gap (Code 39) Usage: Definition: Serial Cmd: Default: Options: Large Intercharacter Gap is helpful for reading symbols that are printed out of specification. Caution: Do not use Large Intercharacter Gap with Narrow Margins enabled, because a large intercharacter gap (over 3x) could cause a narrow margin (5x) to be interpreted as an intercharacter gap. When enabled, the Imager can read symbols with gaps between symbol characters that exceed three times (3x) the narrow element width. Disabled 0 = Disabled 1 = Enabled Fixed Symbol Length Status (Code 39) Definition: Serial Cmd: Default: Options: When enabled, the Imager will check the symbol length against the symbol length field. If disabled, any length will be considered valid. Disabled 0 = Disabled 1 = Enabled Fixed Symbol Length (Code 39) Usage: Definition: Serial Cmd: Default: Options: 6-8 Fixed Symbol Length helps prevent truncations and increases data integrity by ensuring that only one symbol length will be accepted. Specifies the exact number of characters that the Imager will recognize (this does not include start and stop and check digit characters). The Imager ignores any symbology that does not match the specified length. 10 1 to 64 MS-4 Imager User’s Manual Symbologies Full ASCII Set (Code 39) Usage: Definition: Serial Cmd: Default: Options: Must be enabled when reading characters outside the standard character set (0-9, A-Z, etc.) The user must know in advance whether or not to use the Full ASCII Set option. Since Full ASCII Set requires two code words to encode one character, it is less efficient. Standard Code 39 encodes 43 characters; zero through nine, capital “A” through capital “Z”, minus symbol, plus symbol, forward slash, space, decimal point, dollar sign, and percent symbol. When Full ASCII Set is enabled, the Imager can read the full ASCII character set, from 0 to 255. Disabled 0 = Disabled MS-4 Imager User’s Manual 1 = Enabled 6-9 Code 128 / EAN 128 Code 128 / EAN 128 Usage: Definition: Serial Cmd: Default: Options: Code 128 is a smaller symbology useful in applications with tight spots and high security needs. A very dense alphanumeric symbology. It encodes all 128 ASCII characters, it is continuous, has variable length, and uses multiple element widths measured edge to edge. Disabled 0 = Disabled 1 = Enabled Fixed Symbol Length Status (Code 128 / EAN 128) Definition: Serial Cmd: Default: Options: When enabled, the Imager will check the symbol length against the symbol length field. If disabled, any length will be considered a valid symbol. Disabled 0 = Disabled 1 = Enabled Fixed Symbol Length (Code 128 / EAN 128) Usage: Definition: Serial Cmd: Default: Options: 6-10 Fixed Symbol Length helps prevent truncations and increases data integrity by ensuring that only one symbol length will be accepted. This specifies the exact number of characters that the Imager will recognize (this does not include start, stop, and check digit characters). The Imager ignores any symbol not having the specified length. 10 1 to 64 MS-4 Imager User’s Manual Symbologies EAN 128 Status (Code 128 / EAN 128) Definition: Serial Cmd: Default: Options: When this field is disabled, the Imager will not check any Code 128 labels for conformance to EAN requirements, or perform any special formatting. When enabled, the Imager can read symbols with or without a function 1 character in the first position. If a symbol has a function 1 character in the first position, it must conform to EAN format. Symbols that conform to EAN format will also be subject to the special output formatting options available in this command. Note: Code 128 status must be enabled for EAN status to be active. If EAN status is required, the Imager will only decode symbols that have a function 1 character in the first position and that conform to EAN format. All symbols read will be subject to the special output formatting options available in this command. Note: Code 128 status must be enabled for EAN status to be active. Disabled 0 = Disabled 1 = Enabled 2 = Required Output Format (Code 128 / EAN 128) Definition: Serial Cmd: Default: Options: In Standard, the Imager will not apply special EAN output formatting options. In Application, the Imager will apply the special EAN output formatting options to decoded EAN-conforming symbols. Standard 0 = Standard 1 = Application Application Record Separator Status (Code 128 / EAN 128) Definition: Serial Cmd: Default: Options: When enabled, an EAN separator will be inserted into the output between fields whenever an EAN-conforming symbol is decoded and EAN output formatting applies. Disabled 0 = Disabled MS-4 Imager User’s Manual 1 = Enabled 6-11 Code 128 / EAN 128 Application Record Separator Character (Code 128 / EAN 128) Definition: Serial Cmd: This is an ASCII character that serves as an EAN separator in formatted EAN output. Default: , Options: Any ASCII character (7 bit). Important: The ASCII characters <, >, and , can only be entered as hex pairs: For <: For >: For , : See ASCII Character Entry Modifier on page 3-32 for a detailed explanation of how to enter ASCII characters as hex values. Application Record Brackets (Code 128 / EAN 128) Definition: Serial Cmd: Default: Options: If an EAN-conforming symbol is decoded and EAN formatting applies, this feature places bracket characters “( )” around the application identifiers in the formatted output. Disabled 0 = Disabled 1 = Enabled Application Record Padding (Code 128 / EAN 128) Definition: Serial Cmd: Default: Options: 6-12 This feature causes the Imager to pad variable-length application fields with leading zeroes. This is not done for the last field of a symbol. Enabled 0 = Disabled 1 = Enabled MS-4 Imager User’s Manual Symbologies BC412 Usage: Definition: Serial Cmd: Default: Options: Widely used in semiconductor manufacturing. Particularly useful where speed, accuracy, and ease of printing are required. BC412 (Binary Code 412), a proprietary IBM symbology since 1988, is an alphanumeric symbol with a set of 35 characters, each encoded by a set of 4 bars in 12 module positions. All bars have a single width; it is the presence (1) or absence (0) of bars in each of the twelve module positions that make BC412 binary. This symbology is also bi-directional and self-clocking, with a start character and a stop character. Disabled 0 = Disabled 1 = Enabled Check Digit Output (BC412) Usage: Definition: Serial Cmd: Default: Options: Check Digit Output, added to the symbol, provides additional security. When enabled, the check digit character is read and compared along with the symbol data. When disabled, symbol data is sent without the check digit. Disabled 0 = Disabled 1 = Enabled Fixed Symbol Length Status (BC412) Definition: Serial Cmd: Default: Options: When enabled, the Imager will check the symbol length against the symbol length field. If disabled, any length will be considered valid.