Opticon MDI-4000 Series Serial Interface Manual

Opticon MDI-4000 Series Serial Interface Manual

Low profile, high-performance, 2d imager engine
Table of Contents

Advertisement

MDI-4000 Series
MDI-4000, MDI-4050, MDI-4100, MDI-4150
Low Profile, High-Performance, 2D Imager Engine
Serial Interface Manual

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the MDI-4000 Series and is the answer not in the manual?

Questions and answers

Summary of Contents for Opticon MDI-4000 Series

  • Page 1 MDI-4000 Series MDI-4000, MDI-4050, MDI-4100, MDI-4150 Low Profile, High-Performance, 2D Imager Engine Serial Interface Manual...
  • Page 2 Opticon assumes no liability for any direct, indirect, consequential or incidental damages arising out of use or inability to use both the hardware and software, even if Opticon has been informed about the possibility of such damages.
  • Page 3 MDI-4000 Series Serial Interface Manual Revision History Product Name: MDI-4000 Series Serial Interface Manual Edition Date Page Section Description of Changes February 28, 2020 Applied new template. Rewrote text for clarity. June 11, 2018 Initial release. Supported firmware: BD01J07...
  • Page 4 MDI-4000 Series Serial Interface Manual...
  • Page 5: Table Of Contents

    MDI-4000 Series Serial Interface Manual Contents Overview ..........................1 MDI-4000 Series Scan Engine Features ..............1 Integration Flow ......................2 About the MDI-4000 Series Scan Engines ................. 3 Model Details ......................3 2.1.1 Standard Product Description ................3 2.1.2 Model Name Description ..................4 Scan Area ........................
  • Page 6 MDI-4000 Series Serial Interface Manual Interface ..........................19 UART ........................19 4.1.1 How to Switch to UART from USB ..............20 4.1.2 UART Interface Signal ..................20 4.1.3 UART Basic Information ..................21 4.1.4 Baud Rate (Transfer Speed) ................21 4.1.5 Character Format ....................21 4.1.6 Handshaking (Flow Control) ................22 4.1.7...
  • Page 7 MDI-4000 Series Serial Interface Manual Current Consumption ....................38 5.2.1 Absolute Maximum Ratings ................38 5.2.2 Recommended Operating Conditions ..............38 5.2.3 Peak Current Consumption ................38 5.2.4 Current Consumption of the MDI-4x00 ...............39 5.2.5 Current Consumption of the MDI-4x50 ...............40 Low Power .........................41 5.3.1...
  • Page 8 MDI-4000 Series Serial Interface Manual Setting Code Common Options .................55 6.2.1 GS1 Conversion ....................55 6.2.2 Positive and Negative Image of Barcodes (1D Code Common) ......57 6.2.3 Quiet Zone (1D Code Common) ................57 6.2.4 Redundancy (1D Code Common) ..............58 6.2.5 Add-On Waiting Time ..................58 6.2.6...
  • Page 9 MDI-4000 Series Serial Interface Manual How to Add Characters ....................84 7.2.1 How to Set the Prefix/Suffix ................84 7.2.2 Prefix/Suffix Commands ..................85 7.2.3 Prefix/Suffix Value Commands ................86 Read Options ........................90 Read Modes ......................90 8.1.1 Single and Multiple Read Modes ................90 8.1.2 Central Reading ....................91...
  • Page 10 MDI-4000 Series Serial Interface Manual Appendix ......................... 101 10.1 Code ID Table ......................101 10.1.1 Opticon Code ID Prefix/Suffix Value..............101 10.1.2 Code Option AIM/ISO15424 Code ID Prefix/Suffix Value ......... 102 10.2 MDI-4xx0 Specification Overview ................107 10.2.1 Common Specification Overview ..............107 10.2.2...
  • Page 11 Figure 9: Mirrored Image Configurations ....................16 Figure 10: Creating 1D Menu Barcodes with Opticon’s “UniversalConfig.” ..........18 Figure 11: Creating a 2D Menu Barcode with Opticon’s “UniversalConfig.” ..........19 Figure 12: Data Character Transfer Format ....................21 Figure 13: No Handshake ........................... 22 Figure 14: BUSY/READY ..........................
  • Page 12 MDI-4000 Series Serial Interface Manual...
  • Page 13: Overview

    Unless otherwise noted, all features apply to all models. 1.1 MDI-4000 Series Scan Engine Features The MDI-4000 Series includes a multitude of 2D scan engines to meet your needs. These low- profile, high-performance scan engines can be integrated into any product to perform high-end tasks.
  • Page 14: Integration Flow

    107. 2. Download Tools Download the necessary tools from the Opticon website: • Opticon UniversalConfig: For configuration, image acquisition, and communication. • USB Driver: For USB-COM. • WIME: For COM output to HID output conversion. 3. Configure and Test the Scan Engine Evaluate the scan engine settings in your scanning environment and perform a read test: •...
  • Page 15: About The Mdi-4000 Series Scan Engines

    MDI-4000 Series Serial Interface Manual 2 About the MDI-4000 Series Scan Engines Before configuring or using the MDI-4000 Series scan engines, make sure that you are familiar with their physical details and specifications. 2.1 Model Details The scan engine model is a combination of the model name, focus, and interface.
  • Page 16: Model Name Description

    MDI-4000 Series Serial Interface Manual 2.1.2 Model Name Description The model name indicates the shape of the scan engine. The shape describes whether the decoder board is separate from or mounted to the camera, as well as whether low-power consumption mode is installed.
  • Page 17: Optional Mek-3100 Evaluation Board Accessory

    Confirm the connection: Connects the scan engine to the host through an RS-232C or USB interface and monitors each signal in the connection. • Confirm communications and barcode reading: Uses a terminal emulator or the Opticon UniversalConfig tool to confirm communications and barcode reading. •...
  • Page 18: Configuration

    MDI-4000 Series Serial Interface Manual Figure 3: MEK-3100 Evaluation Board Figure 4: MEK-3100 Evaluation Board Kit 3 Configuration This chapter explains the scan engine configuration, default setting and saving setting, and basic commands. 3.1 How to Configure the Scan Engine with Commands You can configure the scan engine by sending commands through the serial interface or by reading 1D or 2D menu labels.
  • Page 19: Sending Command Packets

    <ESC>[ΔΔΔ<CR> Two 4-digit commands <ESC>ΔΔΔΔ<CR> 2-digit and 3-digit command <ESC>ΔΔ[ΔΔΔ<CR> You can send the command through Opticon’s “UniversalConfig.” For help, contact your Opticon Sales Representative. Note: In UniversalConfig, <ESC> is automatically sent. Figure 5: Opticon’s “Universal Config” 3.1.2 Sending Command Packets The maximum length of a command packet is 1000 characters.
  • Page 20 MDI-4000 Series Serial Interface Manual Power Mode UART Baud Rate [bps] (UART) 9600 19200 38400 57600 115200 230400 460800 921600 Standby “How to Recover from Low Power Mode” on page Low Power For more information, see Standby If you are sending “Null” characters, send these characters first and wait at least 10 ms to send the command.
  • Page 21: Precautions For Sending Command Packets

    MDI-4000 Series Serial Interface Manual 3.2 Precautions for Sending Command Packets Startup Settings Power on/Reset *1*2 Stored in flash Copy the startup settings [EFY command Serial command to active settings Changes one or Changes one or more active settings more settings...
  • Page 22: Factory Default Settings

    MDI-4000 Series Serial Interface Manual Settings Descriptions Setting Description Active Settings Contains the current active settings. The scan engine operates according to these settings. Active Settings include settings loaded from another areas, as well as new settings added through serial commands or menu labels.
  • Page 23: Custom Settings

    MDI-4000 Series Serial Interface Manual 3.2.3 Custom Settings To save Active Settings to Custom Settings, send the [BAQ command at the end of command packet you want to save. To save Custom Settings and Active Settings at same time, send the [BAQZ2 command.
  • Page 24 MDI-4000 Series Serial Interface Manual Example Custom Command Line Settings Setting Command Enable Fast Boot Mode. [EFXQ1 ACK/NAK. Enable 2D Menu Barcode. [D1Z Disable Upside Down Image. [EFV[E8I Enable Set Baud Rate to 115200 bps. Enable Low Power Standby. [EB8 Set Low Power Standby Transition Time to 2 seconds.
  • Page 25: Basic Commands

    MDI-4000 Series Serial Interface Manual Boot Time Specification (IF: UART/USB, VCC = 3.3V, 5.0V TA = 25°C) Mode Description Min. Typ. Max. Unit Normal Boot Time taken to be ready after supplying the power Fast Boot Mode Startup Settings * 1 * 2...
  • Page 26: Diagnostic Commands

    MDI-4000 Series Serial Interface Manual 3.5.2 Diagnostic Commands These commands can be used to get diagnostics information from the scan engine. Diagnostics Commands Command Description Notes Transmit software version Transmit settings The Z3 output result is subject to change when the firmware version is changed.
  • Page 27: Enable/Disable 2D Menu Barcodes

    MDI-4000 Series Serial Interface Manual 3.5.5 Enable/Disable 2D Menu Barcodes Use these settings to enable or disable decoding 2D menu barcodes. When you are not using 2D menu barcodes, you should disable this setting. Enable/Disable 2D Menu Barcodes Command Description Notes ✓...
  • Page 28: Figure 8: Mirrored Image Styles

    MDI-4000 Series Serial Interface Manual Horizontal Mirror ① Normal Image ② Horizontal Mirrored Image Vertical Vertical Mirror Mirror Horizontal Mirror ③ Vertical Mirrored Image ④ 180 ° Rotated Image Figure 8: Mirrored Image Styles Mirrored Image Configuration Commands Style Command...
  • Page 29: Reading Operation

    MDI-4000 Series Serial Interface Manual 3.5.8 Reading Operation Use these settings to enable or disable the reading operation. When reading is disabled, auto trigger and the TRIGn signal operation are invalid. Also, menu labels cannot be read. That is, only commands through serial communication are supported.
  • Page 30: How To Configure The Scan Engine With A 2D Menu Barcode

    MDI-4000 Series Serial Interface Manual You can use Opticon’s “UniversalConfig” to create the 1D menu barcodes. For help, contact your Opticon Sales Representative. Print Figure 10: Creating 1D Menu Barcodes with Opticon’s “UniversalConfig.” 3.7 How to Configure the Scan Engine with a 2D Menu Barcode A 2D menu barcode can contain multiple settings that are processed in order in a single operation.
  • Page 31: Forced Initialization

    MDI-4000 Series Serial Interface Manual You can use Opticon’s “UniversalConfig” to create the 2D menu barcode. For help, contact your Opticon Sales Representative. Print Figure 11: Creating a 2D Menu Barcode with Opticon’s “UniversalConfig.” 3.8 Forced Initialization If the scan engine is unresponsive, you can force the scan engine to initialize.
  • Page 32: How To Switch To Uart From Usb

    MDI-4000 Series Serial Interface Manual 4.1.1 How to Switch to UART from USB When you change the interface to UART from USB, the configuration change persists through a firmware update. Use one of these methods to change the serial interface to UART from USB: •...
  • Page 33: Uart Basic Information

    MDI-4000 Series Serial Interface Manual 4.1.3 UART Basic Information These are the basic UART Settings. UART Settings Setting Description Default Transfer speed 300 to 115200 bps 9600 bps Data length 7/8 bits 8 bit Parity bit None/Even/Odd None Stop bit...
  • Page 34: Handshaking (Flow Control)

    MDI-4000 Series Serial Interface Manual Use these commands to set the number of data bits, type of parity bit, and number of stop bits. To activate and save the new configuration, you need to use the Z2 command (save settings in non-volatile memory).
  • Page 35: Figure 14: Busy/Ready

    MDI-4000 Series Serial Interface Manual BUSY/READY The scan engine and the host system notify each other when they are ready to receive data (BUSY/READY) through their RTS line. When they are connected (as shown in the next diagram), the CTS line can be used to check if the other side is busy (off) or ready to receive data (on).
  • Page 36: Figure 17: Modem Rts/Cts Data Transmission

    MDI-4000 Series Serial Interface Manual To activate and save the new configuration, you need to use the Z2 command (save settings in non-volatile memory). CTS Timeout Commands Command Flow Control Timeout Default ✓ Indefinitely 100 ms 200 ms 400 ms Modem Link As soon as power is supplied to the scan engine, the scan engine’s RTS line is OFF.
  • Page 37: Figure 18: Ack/Nak Transmission

    MDI-4000 Series Serial Interface Manual Scan Engine Host System LabelA LabelB BUZZERn Decode Send ACK Wait Buzzer LabelB Read Finish Processing Figure 18: ACK/NAK Transmission Start of transmission Transmit data Start 1 sec. timer As configured Response received Response = NAK...
  • Page 38: Inter Character Delay (Uart)

    MDI-4000 Series Serial Interface Manual ACK/NAK No Response ACK/NAK No Response is different from ACK/NAK mode in that if no response is received from the host within 100 ms, the scan engine assumes that the data has been successfully received by the host.
  • Page 39: Troubleshooting Uart

    MDI-4000 Series Serial Interface Manual 4.1.8 Troubleshooting UART Use this table to find possible solutions to common UART problems. UART Troubleshooting Problem Possible Solutions • Cannot communicate Make sure communication settings, such as transfer speed and character format, are correct.
  • Page 40: Usb-Com Interface Signal

    MDI-4000 Series Serial Interface Manual 4.2.2 USB-COM Interface Signal An IRISO Electronics Co., Ltd. 9681-12(12PIN) (bottom contact) equivalent connector is used. Name Function Conditions State Notes TRIGn Trigger L: Start operation 100kΩ pull up AIM/WAKEn Recovery signal L: Recover from...
  • Page 41: Usb-Com Basic Information

    Internet. If you are running Linux, the driver should already be installed. Download the USB Driver 1. Go to the Downloads page on the Opticon website at: https://opticon.com/downloads/. 2. Scroll down until you see the Software column on the right.
  • Page 42: Fixed Usb-Com Port

    MDI-4000 Series Serial Interface Manual 3. Expand Ports (COM & LPT). All ports recognized by the PC are listed. 4. Make sure the Opticon USB Code Reader appears in the list of ports. 4.2.6 Fixed USB-COM Port This option enables a fixed USB-COM Port number. The COM port number assigned to the USB connected Windows PC will always be the same port number.
  • Page 43: Troubleshooting Usb-Com

    MDI-4000 Series Serial Interface Manual WIME may be able to resolve issues when multi-byte characters are not correctly output with USB-HID. Windows PC Scan Engine Output to focused application USB-COM as character information Communication Figure 21: COM to HID Output Through WIME 4.2.9...
  • Page 44: How To Switch To Usb-Hid

    MDI-4000 Series Serial Interface Manual 4.3.1 How to Switch to USB-HID When you change the interface to USB-HID, the configuration change persists through a firmware update. Use one of these methods to change the serial interface to USB-HID: • Send this command: [X.ZSU[X.ZZ2...
  • Page 45: Usb-Hid Basic Information

    MDI-4000 Series Serial Interface Manual 4.3.3 USB-HID Basic Information These are the basic USB-HID settings. USB-HID Settings Setting Description Notes USB2.0 Full Speed Required power supply 500 mA Differs from actual power capacity consumption. Vendor ID 065 A Product ID...
  • Page 46: Numlock Control And Capslock Control

    MDI-4000 Series Serial Interface Manual 4.3.5 NumLock Control and CapsLock Control You can configure the behavior of NumLock and CapsLock when you send data. NumLock Control and CapsLock Control Commands Setting Command Description Initial Setting ✓ NumLock Numeric value does not use numeric keypad...
  • Page 47: Inter Character Delay (Usb-Hid)

    MDI-4000 Series Serial Interface Manual 4.3.7 Inter Character Delay (USB-HID) Inter character delay adds a configurable delay after each transmitted character. This delay can be helpful if the host does not support flow control and is not capable of handling the received data.
  • Page 48: Troubleshooting Usb-Hid

    MDI-4000 Series Serial Interface Manual Keyboard Language Commands (continued) Command Description Code Page Default [BPJ Turkish Windows 1254 [EF4 Russian English Windows 1251 [EF5 Russian Cyrillic Windows 1251 [BAZ Brazilian Windows 1252 [E76 Chinese Windows 1252 [E77 Korean Windows 1252...
  • Page 49: Power Management And Timing

    MDI-4000 Series Serial Interface Manual during the data output. When buffer mode is disabled, the scan engine stops other operations until it finishes outputting decoded data. Data Buffer Mode Commands Command Description Default [D80 Data buffer disable ✓ [D81 Data buffer enable *...
  • Page 50: Current Consumption

    MDI-4000 Series Serial Interface Manual Power Mode Descriptions Status Description Read The scan engine is reading a barcode. Both the white LED and the green aiming light are on. Standby The scan engine is ready to read a barcode. Low Power The scan engine is in a low power consumption state.
  • Page 51: Current Consumption Of The Mdi-4X00

    MDI-4000 Series Serial Interface Manual 5.2.4 Current Consumption of the MDI-4x00 UART = 3.3V] (IF:UART, T = 25°C) Item State Recovery Symbol Conditions Min. Typ. Max. Unit Time Operating Read Current Standby Standby 0 ms Current 18 ms Configured Power = 5.0V]...
  • Page 52: Current Consumption Of The Mdi-4X50

    43 ms Configured Current Power Recovery time is time until ready to scan. Current value when USB is in “Selective Suspend” mode. When using the USB as virtual COM (USB-COM), use this USB driver: “Opticon USB Code Reader driver” version 3.x.x.x.
  • Page 53: Low Power

    MDI-4000 Series Serial Interface Manual 5.3 Low Power Low power mode helps to further reduce power consumption when the scan engine is in standby mode. When the scan engine shifts from standby mode to low power mode, all scan engine settings are retained.
  • Page 54: Usb Low Power Mode Transition Condition

    USB-COM (using the USB as a virtual COM) and USB-HID (using the USB for key code input) communications. Set Selective Suspend for USB-COM 1. Install the Opticon USB Code Reader driver Version 3.0.0.0 or later. 2. Enable USB Selective Suspend. Set Selective Suspend for USB-HID 1.
  • Page 55: How To Recover From Low Power Mode

    MDI-4000 Series Serial Interface Manual Scan Engine USB Host Recovery signal or command Remote wakeup Resume (SOF, Token, etc.) Successful reading Data USB bus shifted to SUSPEND state Selective suspend Figure 24: USB Low Power Mode Communication Sequence 5.4 How to Recover from Low Power Mode To recover from low power mode, you need to consider conditions such as the signal to use and “Low Power”...
  • Page 56: Figure 25: Recovery Example Using Trign Signal

    MDI-4000 Series Serial Interface Manual High TRIGn RTS (*1) High POWERDWN Command acceptable 10 ms - Wave form * Configured State Read Low Power Low Power Recovery Standby Cannot be used when Handshaking is set to MODEM, because the RTS signal is “High.”...
  • Page 57: Recover From Low Power Mode By Command (Uart)

    MDI-4000 Series Serial Interface Manual 5.4.2 Recover from Low Power Mode by Command (UART) You can use a command to recover from low power mode. Recover from Low Power Mode by Command 1. To start the recovery process, send dummy data, such as a NULL character.
  • Page 58: Recover From Low Power Mode (Usb)

    MDI-4000 Series Serial Interface Manual 5.4.3 Recover from Low Power Mode (USB) You can use a signal (TRIGn, CTS, and AIM/WAKEn) or a command to recover from low power mode. Recovery starts when the host starts sending a command through USB. Approximately 43 ms after the command is sent, the scan engine becomes active and is ready to read barcodes.
  • Page 59: Power On /Off Timing

    MDI-4000 Series Serial Interface Manual 5.5 Power ON /OFF Timing The power on/off timing of the scan engine is described below. 5.5.1 Power-On Timing Power-on timing indicates the time from power on until barcodes are readable. High TRIGn High Command acceptable...
  • Page 60: Read Timing

    MDI-4000 Series Serial Interface Manual For MEK-3100 circuit configuration, 40 ms or more is required. Figure 29: Power-Off Timing When saving scan engine configurations, settings are stored in the scan engine: • when the Z2 command is sent. • after 1D or 2D menu barcodes are processed.
  • Page 61: Read Time

    MDI-4000 Series Serial Interface Manual Read Timing Symbol Descriptions Symbol Description Min. Typ. Max. Unit GR_LEDn signal period BUZZERn signal period “Good Read LED” on page You can configure the GR_LEDn signal period. For more information, see “Buzzer” on page You can configure the BUZZERn signal period.
  • Page 62: Command Trigger Control

    MDI-4000 Series Serial Interface Manual TRIGn TRIGn signal duration Read time option Scan time Figure 32: Start from TRIGn Signal End TRIGn TRIGn signal duration Read time option Scan time Figure 33: Start from TRIGn Signal Start 5.6.3 Command Trigger Control To read a command, start reading by sending the “Z”...
  • Page 63: Trigger Delay

    MDI-4000 Series Serial Interface Manual 5.6.4 Trigger Delay Set the Trigger Delay to start reading after a specified period of time. Trigger Delay Commands Command Description Default [DEC Trigger delay time (1000a+100b+10c+d [s]) 0 ms TRIGn “Z” Command USB+ Trigger delay...
  • Page 64: Postal Code

    MDI-4000 Series Serial Interface Manual 1D Barcodes Symbology Enable/Disable Default Command ✓ ✓ [X4B ✓ ✓ UPC-A [J1A [R1A [V1A ✓ ✓ UPC-E [J1B [R1B [V1B ✓ ✓ EAN/JAN [X4E ✓ ✓ EAN/JAN-13 [DDM ✓ ✓ EAN/JAN-8 [DDN ✓ ...
  • Page 65: Gs1 Databar

    MDI-4000 Series Serial Interface Manual 6.1.2 GS1 DataBar Symbologies Enable/Disable Command Default Single Multiple Disable Enable Suffix ✓ GS1 DataBar [BC6 [BCI [BCU GS1 DataBar Omnidirectional GS1 DataBar Truncated GS1 DataBar Stacked GS1 DataBar Stacked Omnidirectional ✓ GS1 DataBar Limited ✓...
  • Page 66 MDI-4000 Series Serial Interface Manual 6.1.4 2D Barcodes Symbologies Enable/Disable Command Default Single Multiple Disable Enable Suffix ✓ PDF417 [BC3 [BCF [BCR Micro PDF417 [BC4 [BCG [BCS Codablock F [D4R [D4P [D4Q ✓ QR Code [BC1 [BCD [BCP ✓ Micro QR...
  • Page 67: Setting Code Common Options

    MDI-4000 Series Serial Interface Manual 6.2 Setting Code Common Options 6.2.1 GS1 Conversion The GS1 organization has defined fields (such as a serial number, production date, and price) that may be encoded in a barcode. These fields are identified by an application identifier (AI) followed by the data for that field.
  • Page 68: Figure 37: Gs1 Edit Feature In Opticon's "Universalconfig

    GS characters. If the interface is set to USB-HID, the GS characters are transmitted as <CTRL>]: ]C101950123456789033103000123 You can create more complex conversions of GS1 barcodes with Opticon’s “UniversalConfig” program by completely defining how the various application identifiers and data are output. Figure 37: GS1 Edit Feature in Opticon’s “UniversalConfig”...
  • Page 69: Positive And Negative Image Of Barcodes (1D Code Common)

    MDI-4000 Series Serial Interface Manual 6.2.2 Positive and Negative Image of Barcodes (1D Code Common) Barcodes are typically printed in black on a white background and are called normal or positive barcodes. But, sometimes they are printed in white on a black background, which are called negative barcodes.
  • Page 70: Redundancy (1D Code Common)

    MDI-4000 Series Serial Interface Manual 6.2.4 Redundancy (1D Code Common) When redundancy is enabled, a 1D code must be scanned and decoded multiple times with the same result before it is considered correctly decoded. The redundancy count is the number of times the code must be scanned in addition to the first scan.
  • Page 71: Eci Protocol Output

    MDI-4000 Series Serial Interface Manual 6.2.6 ECI Protocol Output Lets you determine whether to output data for ECI (Extended Channel Interpretation) protocol. ECI is an embedded piece of information in a barcode that tells the scan engine details about the references used to encode the data in the symbol. The scan engine uses this information to automatically select matching options to decode the symbol.
  • Page 72: How To Set Code-Specific Options

    MDI-4000 Series Serial Interface Manual Configure OCR 1. Start the Opticon UniversalConfig application and click OCR. 2. Configure the appropriate OCR settings, and click OK. 3. Scan the configuration barcode. Note: For advanced settings, see the “Data Edit Programing Manual”. To configure settings that cannot be set, contact your local Opticon Representative.
  • Page 73 MDI-4000 Series Serial Interface Manual UPC-A Settings Setting Options Character set Numeric (0 - 9) Number of digits 12 digits (11 digits plus a 1-digit CD) fixed length CD method Modulus 10/Wait 3 UPC-A Transfer Data Format Digit Description Leading "0"...
  • Page 74 MDI-4000 Series Serial Interface Manual “0” Transfer” on page 62. UPC-A CD Transfer/Front 6.3.1.2 UPC-A Add-On 2 Digits/5 Digits UPC-A Add-On 2 Digits/5 Digits is a UPC-A barcode with an additional 2-digit or 5-digit barcode to the right of the main barcode. When add-on digits are enabled, the add-on code must be within the reading range for the barcode to be successfully read.
  • Page 75 MDI-4000 Series Serial Interface Manual 6.3.1.3 UPC-A CD Transfer/Front “0” Transfer Lets you determine whether to transmit a leading “0” and a check digit (CD). Because the 13-digit transfer data format transfers a leading “0” and a CD, the format is compatible with JAN/EAN-13.
  • Page 76: Ean/Jan

    MDI-4000 Series Serial Interface Manual 6.3.1.6 UPC-E CD Transfer/Front “0” Transfer Lets you transmit a leading “0” and a check digit (CD). Because the 8-digit transfer data format transfers a leading “0” and CD, the format is compatible with JAN/EAN-8.
  • Page 77 MDI-4000 Series Serial Interface Manual EAN/JAN-13 Settings Setting Options Character set Numeric (0 - 9) Number of digits 13 digits (12 digits plus a 1-digit CD) fixed length EAN/JAN-13 Transfer Data Format Digit Description Data 12 digits Check Digit (CD) 1 digit 6.3.2.1...
  • Page 78 MDI-4000 Series Serial Interface Manual ISBN Conversion When ISBN conversion is enabled, EAN-13 data with a leading “978” or “979” is converted. To re-calculate the CD, ISBN conversion removes the leading 3 digits and outputs the remaining 10 digits. If the CD is 10, ISBN conversion outputs “X.”...
  • Page 79 MDI-4000 Series Serial Interface Manual EAN/JAN-8 Add-On 2 Digits Transfer Data Format Digit Description Data 7 digits 1 digit Add-On 2 digits EAN/JAN-8 Add-On 5 Digits Transfer Data Format Digit Description Data 7 digits 1 digit Add-On 5 digits EAN/JAN-8 CD Transfer Lets you configure the EAN/JAN-8 check digit (CD).
  • Page 80: Code 39 And Italian Pharmaceutical

    MDI-4000 Series Serial Interface Manual EAN/JAN-8 Optional Settings Setting Command Description Default ✓ CD Transmission Transmit EAN/JAN-8 CD Do not transmit EAN/JAN-8 CD Add-on 2 digits Enable single EAN/JAN-8 Add-on 2 digits Add enable EAN/JAN-8 Add-on 2 digits [X4M Disable EAN/JAN-8 Add-on 2 digits...
  • Page 81 MDI-4000 Series Serial Interface Manual Code 39 Conversion Settings Setting Description Standard Code 39 Send data character as is. Full ASCII Code 39 Converts the correct combination of the data character to Full ASCII and transmits the data character. If an incorrect combination is found, the data character is not transmitted.
  • Page 82: Codabar

    MDI-4000 Series Serial Interface Manual 6.3.4 Codabar Codabar is a relatively early stage barcode developed by Monarch Marking Company in 1972. Codabar Settings Setting Options Character set Numeric (0 - 9) Symbol (- $ :/, +) Start/stop code A, B, C, or D...
  • Page 83: Interleaved 2 Of 5 And S-Code

    MDI-4000 Series Serial Interface Manual Start/Stop Code Transfer Lets you configure the transfer start/stop code. You can also convert the code and transfer the code when the start/stop code is transferred. Codabar Optional Settings Setting Command Description Default ✓ Do not check CD Check CD ✓...
  • Page 84: Code 128

    MDI-4000 Series Serial Interface Manual Interleaved 2 of 5 Transfer Data Format Digit Description Data Variable length Interleaved 2 of 5 CD Method Lets you configure the CD. This setting also configures the CD for Interleaved 2 of 5, Industrial 2 of 5, S-Code, and Matrix 2 of 5.
  • Page 85: Iata

    MDI-4000 Series Serial Interface Manual Code128 Settings Setting Options Character set ASCII128 character Function character (FNC1 – 4) Code set selection character (A, B, C, and Shift) Start/stop code Hidden character Start pattern: 3 types (A, B, and C) Stop pattern: 1type...
  • Page 86: Msi/Plessey

    MDI-4000 Series Serial Interface Manual 6.3.8 MSI/Plessey Setting Command Description Default Do not check CD ✓ Check 1 CD = MOD 10 Check 2 CD = MOD 10/MOD 10 Check 2 CD = MOD 10/MOD 11 Check 2 CD = MOD 11/MOD 10...
  • Page 87: Korean Postal Authority

    MDI-4000 Series Serial Interface Manual 6.3.12 Korean Postal Authority Setting Command Description Default CD transmission CD transmit ✓ Do not transmit CD ✓ Transmit dash Transmit dash Do not transmit dash Upside down Upside down reading enabled reading ✓ Upside down reading disabled 6.3.13 GS1 DataBar...
  • Page 88: Gs1 Composite

    MDI-4000 Series Serial Interface Manual GS1 DataBar Expanded Settings Setting Options Character set Capital/small character alphabet, numbers, 20 types of symbols, function character (FNC1) Digits 74 digits (numeric) and 41 digits (alphabet) Check sum* Modulus 211 Check sum is always checked, but not sent.
  • Page 89 MDI-4000 Series Serial Interface Manual GS1 Composite Settings Setting Options Character set ASCII value 0 - 127 (ISO 646) ASCII value 128 - 255 (ISO 8859, Alphabet No.1, Extend ASCII) When using ECI protocol, many other character sets are available. For more “...
  • Page 90: Pdf417

    MDI-4000 Series Serial Interface Manual 6.3.15 PDF417 PDF417 is a stack linear barcode developed by Symbol Technology Inc. and is used for international logistics, ID cards, and parts labels. PDF417 is standardized in ISO/IEC 15438:2006. PDF417 Settings Setting Options Character set ASCII value 0 to 127 (ISO 646) ASCII value 128 to 255 (ISO 8859-1, Alphabet No.1, Extended ASCII)
  • Page 91: Qr Code

    MDI-4000 Series Serial Interface Manual 6.3.16 QR Code QR Code (shortened from Quick Response Code) is a matrix type 2D barcode developed by DENSO WAVE INC. QR Code became popular in a wide range of fields due to its fast readability and relatively large storage capacity.
  • Page 92: Data Matrix

    MDI-4000 Series Serial Interface Manual QR Code Settings Setting Options Character set 1) Numeric data (numbers 0-9) 2) Alphanumeric data (numbers 0-9, capital characters A-Z, 9 special characters: space, $, %, *, +, -, ., /, :) 3) 8 bit byte data (Latin character based on JIS X 0201, character set of 8 bit code for Katakana character.)
  • Page 93: Aztec Code

    MDI-4000 Series Serial Interface Manual Data Matrix Settings Setting Options Character set ASCII value 0 to 127 (ISO 646) ASCII value 128 to 255 (ISO 8859-1, Alphabet No.1, Expand ASCII) When using ECI protocol, many other character sets are available. For more “...
  • Page 94 MDI-4000 Series Serial Interface Manual Aztec Code Settings Setting Options Character set ASCII value 0 to 127 (ISO 646) ASCII value 128 to 255 (ISO 8859-1, Alphabet No.1, Expand ASCII) When using ECI protocol, many other character sets are available. For more “...
  • Page 95: How To Set The Number Of Characters To Read

    MDI-4000 Series Serial Interface Manual ECI Protocol Output” on page 6.4 How to Set the Number of Characters to Read When you scan barcode labels that have a fixed-length, configure the scan engine to only scan the number of characters in the barcode. When properly configured, the scan engine rejects barcodes that are not the specified length.
  • Page 96: Command List: Fixed Length On/Minimum/Maximum Length

    MDI-4000 Series Serial Interface Manual 6.4.2 Command List: Fixed Length ON/Minimum/Maximum Length To set the length for each barcode, enter a command followed by a value. When you reset the settings, the current length for the barcode becomes the default.
  • Page 97: How To Add Characters

    MDI-4000 Series Serial Interface Manual 7.2 How to Add Characters You can add special characters that provide additional information to the beginning or end of a barcode. The output format depends on whether you add a prefix/suffix or a preamble/postamble.
  • Page 98 MDI-4000 Series Serial Interface Manual Example prefix/suffix setting: To set “C39:” as the prefix and “CR” and “LF” as the suffix for Code 39, send this command: <Esc>M40CQ3Q96AO41M1J<CR> Note: You can also set the prefix/suffix with a menu or 2D menu barcode.
  • Page 99: Prefix/Suffix Value Commands

    Description ASCII Includes all 128 ASCII characters. Code identification The code identification is transmitted in OPTICON ID, ISO15424 standard, or AIM-ID. Code length The number of characters after the output format that are configured with “How to Set Code-Specific Options” on page...
  • Page 100 MDI-4000 Series Serial Interface Manual 7.2.3.1 ASCII (Prefix/Suffix Values) ASCII Command ASCII Command ASCII Command ASCII Command <SPACE> ^@ (NULL) ^A (SOH) " ^B (STX) ^C (ETX) ^D (EOT) ^E (ENQ) & ^F (ACK) ^G (BEL) ^H (BS) ^I (HT)
  • Page 101 • is modifier character Example Code ID command: To add “<OPTICON Code ID>” to the all codes prefix, send this command: <Esc>RY$2<CR> 7.2.3.3 Code Length To add the code length, send a code length command with the command to set a prefix/suffix.
  • Page 102: Figure 41: Code Coordinates

    MDI-4000 Series Serial Interface Manual Code Coordinate Commands Command Description Default [DDX Code vertex coordinate [DDY Code center coordinate Vertexes output format: Center output format: where: • X: 1 to 3 digits • Y: 1 to 3 digits The range of the coordinates is: •...
  • Page 103: Read Options

    MDI-4000 Series Serial Interface Manual Scan time output format: where: • T is flexible length. • ms is maximum string length, which is 4. TRIGn “Z” Command Data Scan Time Figure 42: Scan Time 8 Read Options You can configure read options, such as read modes, trigger settings, illumination and aiming, batch reading, and data editing.
  • Page 104: Central Reading

    MDI-4000 Series Serial Interface Manual barcode from being read twice, the scan engine saves the barcode data in memory (up to 20 barcodes). When subsequent barcodes are read, the scan engine compares the data with the data in memory and ignores the data if it has been previously read. This read mode can be helpful to prevent reading the same barcode twice.
  • Page 105: Manual Trigger/Trigger Repeat

    MDI-4000 Series Serial Interface Manual Figure 43: Readable Positions in Central Reading Figure 44: Unreadable Positions in Central Reading 8.2 Manual Trigger/Trigger Repeat By default, the scan engine is in manual trigger mode. In manual trigger mode, you can enable the Trigger Repeat function.
  • Page 106: Auto Trigger

    MDI-4000 Series Serial Interface Manual Example for Trigger Repeat Synchronized with Read Time: “While trigger is pressed” “Trigger is released” “Output data” Example for Trigger Repeat with Read Time set to 1 second or more: “While trigger is pressed” “Press trigger again to start reading”...
  • Page 107: Auto Trigger Sensitivity

    MDI-4000 Series Serial Interface Manual 8.3.2 Auto Trigger Sensitivity You can configure the sensitivity of the scan engine to detect barcodes. Sensitivity is affected by environmental conditions, so you need to adjust this setting accordingly. Auto Trigger Sensitivity Commands Command...
  • Page 108: Detection Mode

    MDI-4000 Series Serial Interface Manual 8.3.6 Detection Mode Lets you determine which mode to use to detect a barcode. • Green aiming detection: A barcode is detected when it falls within the green aiming light. Use this mode to scan barcodes indoors. In brighter environments, the scan engine may have difficulty detecting barcodes using this mode.
  • Page 109: External Led Illumination

    You can configure batch reading for fixed format barcodes. Note: The data edit/extract reading function is supported by the scan engine but is not available in “UniversalConfig2.0”. For help, contact your local Opticon Representative. Configure Batch Reading 1. Start the Opticon UniversalConfig application and click Multi label.
  • Page 110: Indicator Options

    MDI-4000 Series Serial Interface Manual 2. Follow the instructions to configure batch reading settings for up to 4 barcodes. To configure additional settings, contact your local Opticon Representative. 9 Indicator Options You can configure options for the Buzzer and Good Read LED.
  • Page 111: Good Read Buzzer

    MDI-4000 Series Serial Interface Manual 9.1.2 Good Read Buzzer The good read buzzer sounds when a barcode is successfully read. You can enable or disable the buzzer, as well as configure the duration and tone of the buzzer. Good Read Buzzer Commands...
  • Page 112: Intermediate Buzzer

    MDI-4000 Series Serial Interface Manual Read Timeout Buzzer Commands Command Description Default ✓ [EAP Disable read timeout buzzer [EAQ Enable read timeout buzzer 9.1.5 Intermediate Buzzer If a barcode is decoded but does not yet meet the conditions to output data, an intermediate buzzer sounds.
  • Page 113: Inverted Good Read Led

    MDI-4000 Series Serial Interface Manual Good Read LED Commands Command Description Default Disable indicator [XTH Indicator duration: 60 ms [XT8 Indicator duration: 100 ms ✓ Indicator duration: 200 ms Indicator duration: 400 ms Indicator duration: 800 ms 9.2.2 Inverted Good Read LED In Good Read LED inverted mode, the GR_LEDn signal is inverted.
  • Page 114: Appendix

    MDI-4000 Series Serial Interface Manual Indicator Timing Commands Command Description Default ✓ Before data transmission* After data transmission Both indicators are activated soon after the barcode is decoded. 10 Appendix This appendix contains reference data. 10.1 Code ID Table These tables list the Code IDs that can be added to the prefix or suffix.
  • Page 115: Code Option Aim/Iso15424 Code Id Prefix/Suffix Value

    MDI-4000 Series Serial Interface Manual 10.1.2 Code Option AIM/ISO15424 Code ID Prefix/Suffix Value AIM/ISO15424 Code ID Symbology Code ID Symbology Code ID UPC-A Telepen UPC-A +2 UK/Plessey UPC-A +5 Code 128 UPC-E GS1-128 UPC-E +2 Code 93 UPC-E +5 Code 11...
  • Page 116 MDI-4000 Series Serial Interface Manual Code 39 Option AIM/ISO15424 Code ID: A* Code Option ]AIM-ID Code Option ]AIM-ID Normal Code 39 (D5) Full ASCII Code 39 (D4) or Full ASCII Code 39 if pos. (+K) Do not check CD (C1)
  • Page 117 MDI-4000 Series Serial Interface Manual IATA Option AIM/ISO15424 Code ID: R* Code Option ]AIM-ID Code Option ]AIM-ID Do not check CD (4H) Do not check CD (4H) Transmit CD (4L) Do not transmit CD (4M) Check FC and SN only (4I) or...
  • Page 118 MDI-4000 Series Serial Interface Manual Code 11 Option AIM/ISO15424 Code ID: H*/X0 Code Option ]AIM-ID Code Option ]AIM-ID Check 1CDs (BLG) Check 1CDs (BLG) or Check auto 1 or 2CDs (BLI) or Check 2CDs (BLH) (length > 12) or Check auto 1 or 2CDs (BLI)
  • Page 119 MDI-4000 Series Serial Interface Manual Aztec Options AIM/ISO15424 Code ID: z* Code Option ]AIM-ID Code Option ]AIM-ID No structure/other Structured append header included, FNC1 following an initial FNC1 preceding 1st message letter or pair of digits character FNC1 following an initial letter or...
  • Page 120: Mdi-4Xx0 Specification Overview

    MDI-4000 Series Serial Interface Manual Maxi Code Option AIM/ISO15424 Code ID: U* Code Option ]AIM-ID Code Option ]AIM-ID Symbol in mode 4 of 5 Symbol in mode 4 of 5, ECI protocol implemented Symbol in mode 2 of 3 Symbol in mode 2 of 3, ECI protocol implemented 10.2 MDI-4xx0 Specification Overview...
  • Page 121: Technical Specifications

    MDI-4000 Series Serial Interface Manual Environmental Specifications Specification Value Notes Temperature Operating -20 to 60 °C AC adapter 0 to 40°C Storage -40 to 70 °C Humidity Operating 5 to 90% (non-condensing, no frost) Storage 5 to 90% (non-condensing, no frost)
  • Page 122 MDI-4000 Series Serial Interface Manual Standard Model (SR) Reading Depth of Field Resolution Symbology Guaranteed Value Typical Value mm (mil) (MRD) Near Near 0.127 mm Code 39 66 mm 112 mm 55 mm 128 mm (5 mil) (0.8) (2.6″) (4.4″) (2.1″)
  • Page 123 MDI-4000 Series Serial Interface Manual High-Density Model (HD) Reading Depth of Field = 25°C) Resolution Symbology Guaranteed Value Typical Value mm (mil) (MRD) Near Near 0.076 mm Code 39 55 mm 65 mm 47 mm 74 mm (3 mil) (0.8) (2.2″)
  • Page 124 MDI-4000 Series Serial Interface Manual Ultra High-Density Model (UD) Reading Depth of Field = 25°C) Resolution Symbology Guaranteed Value Typical Value mm (mil) (MRD) Near Near 0.076 mm Code 39 37 mm 58 mm 30 mm 67 mm (3 mil) (0.8)
  • Page 125: Mdi-4Xx0 Detailed View

    MDI-4000 Series Serial Interface Manual 10.2.3 MDI-4xx0 Detailed View MDI-4100 and MDI-4150 Dimensions Dimensions: W: 25.3 mm × D: 21.0 mm × H: 9.7 mm Weight: Approx. 5.5 g Product Label 25.3 Camera Lens Aiming LED lens Illumination LED Lens 21.6...
  • Page 126: Figure 46: Mdi-4100 And Mdi-4150 Circuit Board

    MDI-4000 Series Serial Interface Manual MDI-4100 and MDI-4150 Circuit Board The MDI-4100 and MDI-4150 have different circuit board thicknesses. MDI-4100 MDI-4150 Figure 46: MDI-4100 and MDI-4150 Circuit Board...
  • Page 127: Figure 47: Mdi-4000 And Mdi-4050 Mechanical Drawing

    MDI-4000 Series Serial Interface Manual MDI-4000 and MDI-4050 Detailed View Camera: Approx. 13.6 mm (D) × 24.6 mm (W) × 6 mm (H) Decoder Board: Approx. 20.8 mm (D) × 25.1 mm (W) × 3.2 mm (H) Weight: Approx. 5.5g...
  • Page 128: Figure 48: Dbm-4000 And Dbm-4050 Decoder Board

    MDI-4000 Series Serial Interface Manual DBM-4000 and DBM-4050 Decoder Board 25.1 ( 4.5 ) 21.4 IRISO(12pin) 9681-12 φ 2.3 Hole (1.7 ) MOLEX(19pin) 504281-1900 21.6 Height of the DBM-4000 and the DBM-4050. Figure 48: DBM-4000 and DBM-4050 Decoder Board DBM-4000 and DBM-4050 Circuit Board The DBM-4000 and DBM-4050 have different circuit board thicknesses.
  • Page 129: Sample Barcodes

    MDI-4000 Series Serial Interface Manual FPC Cable Connected to JST 17FXVL-RSM1-GAN-TF(HF) (17pin) Shield area Connected to MOLEX 5042811900 (19pin) Figure 50: FPC Cable 10.3 Sample Barcodes 10.3.1 1D Barcodes UPC-A UPC-A +2 UPC-E UPC-A +5...
  • Page 130 MDI-4000 Series Serial Interface Manual UPC-E +5 UPC-E +2 EAN/JAN EAN/JAN-13 EAN/JAN-13 +2 EAN/JAN-13 +5 EAN/JAN-8 EAN/JAN-8 +2 EAN-8 +5 Code 39 Code 39 Code 39 Italian Pharmaceutical...
  • Page 131 MDI-4000 Series Serial Interface Manual Code 39 Full ASCII Tri-Optic Codabar Codabar Codabar ABC Codabar CX Industrial 2 of 5/Interleaved 2 of 5 Industrial 2 of 5 Interleaved 2 of 5 S-Code...
  • Page 132: Postal Code

    MDI-4000 Series Serial Interface Manual Code 128 Code 93 IATA MSI/Plessey UK/Plessey Telepen Code11 Matrix 2 of 5 10.3.2 Postal Code Chinese Post Matrix 2 of 5 Korean Postal Authority Intelligent Mail Barcode...
  • Page 133 MDI-4000 Series Serial Interface Manual POSTNET PLANET Japan Postal Netherland KIX Code Australian Postal UK Postal (Royal mail) 4-State Mailmark Barcode...
  • Page 134: Gs1 Databar

    MDI-4000 Series Serial Interface Manual 10.3.3 GS1 DataBar GS1 DataBar Omnidirectional GS1 DataBar Truncated GS1 DataBar Stacked GS1 DataBar Stacked Omnidirectional GS1 DataBar Limited GS1 DataBar Expanded GS1 DataBar Expanded Stacked...
  • Page 135: Gs1 Composite Code

    MDI-4000 Series Serial Interface Manual 10.3.4 GS1 Composite Code CC-A CC-B Limited CC-A Limited CC-B Expanded CC-A Expanded CC-B Composite GS1-128 CC-A CC-B CC-C...
  • Page 136 MDI-4000 Series Serial Interface Manual Composite EAN EAN-13 CC-A EAN-13 CC-B EAN-8 CC-A EAN-8 CC-B Composite UPC UPC-A CC-A UPC-A CC-B UPC-E CC-A UPC-E CC-B...
  • Page 137: Barcodes

    MDI-4000 Series Serial Interface Manual 10.3.5 2D Barcodes PDF417 Micro PDF417 Codablock F QR Code Micro QR Data Matrix(ECC 200) Aztec Code Aztec Runes Chinese-sensible code Maxi Code...
  • Page 138: Ocr Font (Machine Readable Travel Document)

    MDI-4000 Series Serial Interface Manual OCR Font (Machine Readable Travel Document) ICAO Travel Documents Machine readable Passports P<JPNABCDEFG<<HIJKLMN<OPQRSTU<VWXYZ<<<<<<<<< L898902C<3JPN4209247M16092711234567890<<<<78 Machine readable Visa-A V<UTOERIKSSON<<ANNA <MARIA<<<<<<<<<<<<<<<<<<< L8988901C4XXX4009078F96121096ZE184226B<<<<<< Machine readable Visa-B V<UTOERIKSSON<<ANNA<MARIA<<<<<<<<<<< L8988901C4XXX4009078F9612109<<<<<<<< Official Travel Documents 1 I<UTOD231458907<<<<<<<<<<<<<<< 7408122F1204159UTO <<<<<<<<<<<6 ERIKSSON<<ANNA<MARIA<<<<<<<<<< Official Travel Documents 2 I<UTOERIKSSON<<ANNA<MARIA<<<<<<<<<<<...
  • Page 139: Ocr Font (Free Ocr Edit)

    MDI-4000 Series Serial Interface Manual OCR Font (Free OCR Edit) OCR-A OCR-B OCR-A Free Edit OCR-A Free Edit Enable Enable 345678 4567890 89012345678 0123456789012 FGHIJKLMN 56789012ABCD DEFGHIJ 23456CDEFGH Free Edit Disable...

This manual is also suitable for:

Mdi-4000Mdi-4050Mdi-4100Mdi-4150

Table of Contents