Catalog Introduction of Module............................3 Introduction.............................. 3 Technical Specification..........................3 Dimension(mm)............................2 Control Panel..............................2 Scan Area(testing in office (250 lux)......................3 Setup Code..............................4 Appendix E:Save or Cancel........................4 Reset................................. 4 Communication interface............................. 5 Series Communication Interface......................5 USB Interface............................6 USB Virtual Serial Port..........................6 Read Mode................................7 Continuous Mode.............................
1. Introduction of Module 1.1 Introduction MG66 Bar code reader module is a high performance scanner, can read 1D bar code easily and read 2D bar code with high speed. It also wins high scan speed for linear code, even for bar code on paper or screen.
Page 5
Electrical specification: Operating Voltage DC 4.2 - 6.0V Standby Current 30mA Operating Current 160mA Sleep Current Running characteristic Light White light Capture light Scan Angle Roll:0-360°, Pitch:±65°, Yaw:±60° Resolution 648x 488 Scanning angle 35°(Inclination), 28°(Elevation)...
Scan Area (testing in office (250 lux) Type of Bar Min. Density Max. distance Code distance 0.125 mm 4.0 cm 9.0 cm (5 mils) Code 39 0.375 mm 4.0 cm 25.0cm (15 mils) 0.375 mm UPC/EAN 4.0 cm 25.0cm (15 mils) 0.254 mm Code93 4.0 cm...
1.4 Setup Code Customer can set module by scan setup code. Default: setup code on Output details in setup code Default: Not output Output 1.5 Save and Cancel Scan cancel code to cancel wrong read date. Save Cancel last byte Cancel all read bytes Cancel changes 1.6 Reset...
2 Communication interface GM66 can receive database, control module and set functional parameter by TTL - 232. 2.1 Series Communication Interface It’s default and common to connect module and mainframe(such as PC, POS) by series communication interface. Make sure communication parameter for module and mainframe are same, then it will communicate smooth and correctly.
38400bps 57600bps 115200bps 2.2 USB Interface Scan the following code to become standard keyboard input pattern when module connects PC by USB. USB PC Keyboard 2.3 USB Virtual Serial Port Scan the following code to become virtual serial port output pattern when module connects PC by USB.
3 Read Mode 3.1 Continuous Mode On this mode, reading module read code continuous and automatic. Break after reading one code, break time is changeable. Click the toggle key to pause. Then click to continuous cyclic read code. Default Continuous Mode Time settlement for single read The longest time before first successful reading.
1500ms 2000ms 3.2 Induction Mode After setting, module begins to monitor brightness immediately. When scene changed, module will begin to read until time of image stabilization over. After first successful reading or single reading time out, module will monitor brightness again after some time (changeable) Module will cycle working as above when follow happen: module can’t find code between single read time, then it will stop reading and jump to monitor brightness.
Break time settlement After one successful output or time out for single read. Module will be into monitor after some time. Time from 0 to 25.5 s, step-size: 0.1s; default 1.0s No Break 500ms Default 1000ms 1500ms 2000ms Image stabilization time Image stabilization time: the time cost after module find scene change then waiting for the scene stable.
Sleep mode on Sleep mode off Default: come into sleep mode after 30s free. Wake up by key. Module will restart after dropping out sleep mode. 3.4 Command Triggered Mode Module begins to read when receive scan command from mainframe( bit0 of zone bit 0x0002 writes”1”) , and stop at output or read timeout.
4 Lighting and Collimate 4.1 Lighting Head lamp is used to additional lighting when read. Normal(default): Head lamp will be on when read, others off. Normally on: always on after boot. OFF: head lamp is always off Normal Normally on 4.2 Collimation There will be a pointing light beam which can help user to find best distance.
5 Prompts 5.1 Prompts Tone Sound of buzzer Down Silence:Close all prompt tones Silence on Silence off 5.2 Read code successfully tone Default on Close read code successfully tone Duration time setting. Default: 60ms 30ms 60ms 90ms 120ms...
5.3 Decoding Prompt Output Decoding Prompt: F- read unsuccessfully; S- successful Default no decoding prompt output Output 5.4 Data code format Read following to print Chinese data according to specified code forma. GBK format: notepad, UNICODE format: WORD and input box for chat tools, BIG5 format: Chinese Traditional UNICODE BIG5...
Germany Hungary Italy Japan Spain 5.6 Image Flip When meet flipped or mirror image, like: Scan code into or exit image flip mode image flip mode Exit PS: in the image flip mode can only scan flipped image. For normal, should exit.
6 Data Edition Sometimes we need to edit the data before output to make data separation and processing more easily. Data edition include: Add Prefix Add Suffix Cut data Output CodeID Output “RF” when fail to decode ...
E.G. Change prefix to “DATA” ”DTAT” in base 16: “44”, “41”, “54”, “41” 2. Confirm open the “ setup code”, if not, find on 1.4 3. Scan “change prefix” code 4. Successively scan “Code ID”: “4”, “4”, “4”, “1”, “5”, “4”, “4”, “1” 6.2 Suffix Add Suffix Suffix on the end of encoding Information, and can be self-defined.
Page 21
Allow add CODE ID Default close CODE ID Default of CODE ID Scan “ Default of CODE ID” to back default ID, default ID on appendix B all bar code back to default ID Change CODE ID Users can change CODE ID of any bar code by scan the setup code (as follow) and data edition code.
Page 22
Change CODE ID of UPCE1 Change CODE ID of CODE 128 Change CODE ID of CODE 39 Change CODE ID of CODE 93 Change CODE ID of CODE BAR Change CODE ID of Interleaved 2 of 5 Change CODE ID of Industrial 25 Change CODE ID of Matrix 2 of 5 Change CODE ID of CODE 11 Change CODE ID of MSI...
Change CODE ID of Data Matrix Change CODE ID of limited PDF417 6.4 Tail Open this function to help system quickly distinguish current decoding results. Scan “Add tail” to open this function, if read success, there will be tail on the end of decode data. Close tail Add tail “CR”...
Page 24
Change length of [Start]-M Scan “ Change M” code and “data edition” code to change length of [Start], max 255 characters Base 16 is used to express length. ASCII on appendix C. Change M Change length of [End]-N Scan “ Change N” code and “data edition” code to change length of [Start], max 255 characters Base 16 is used to express length.
7 Bar code type enables/disable configuration 7.1 All types of bar code can be decoded After scan “ Forbid read all bar code” , module will only support to scan setup code. Support all Forbid read all bar code Open default support types 7.2 Bar code rotate Default allow 360°rotate read Forbid 360°rotate read...
Code128 min length at 0 Code128min length at 4 Scan following code to change max length of code 128 Code128 max length at 32 Code128 max length at 255 7.9 Code39 Allow reading Code39 Forbid reading Code39 Scan following code to change min length of code39 Code39 min length at 0 *Code39 min length at 4 Scan following code to change max length of code39...
Scan following code to change min length of code93 Code93 min length at 0 Code93 min length at 4 Scan following code to change max length of code93 Code93max length at 32 Code93max length at 255 7.11 CodeBar Allow reading CodeBar Forbid reading CodeBar Scan following code to allow/forbid to send Start-stop operator Send CodeBar Start-stop operator...
7.12 QR Allow reading QR Forbid reading QR 7.13 Interleaved 2 of 5 Allow reading Interleaved 2 of 5 Default Forbid reading Interleaved 2 of 5 Scan following code to set min length of Interleaved 2 of 5 Interleaved 2 of 5 min length at 0 Default Interleaved 2 of 5 min length at 4 Scan following code to set max length of Interleaved 2 of 5 Interleaved 2 of 5 max length at 32...
Scan following code to set min length of Interleaved 25 Industrial 25 min length at 0 Industrial 25 min length at 4 Scan following code to set max length of Interleaved 25 Industrial 25 max length at 32 Industrial 25 max length at 255 7.15 Matrix 2 of 5 Allow reading Matrix 2 of 5 Forbid reading Matrix 2 of 5...
Allow reading Code11 Forbid reading Code11 Scan following code to set min length of Code11 Code11 min length at 0 Code11 min length at 4 Scan following code to set max length of Code11 Code11 max length at 32 Code11 max length at 255 7.17 MSI Allow reading MSI Forbid reading MSI...
Page 33
7.18 RS Allow reading RSS-14 Forbid reading RSS-14 Allow reading limited RSS Forbid reading limited RSS Allow reading expended RSS Forbid reading expended RSS Scan following code to set min length of RSS RSS min length at 0 RSS min length at 4 Scan following code to set max length of RSS *RSS max length at 32 RSS max length at 255...
8 Serial Port Instruction Users can settle the module by sending instruction from mainframe. Please make sure communicate parameter complete matching between module and mainframe. Module default serial communicate parameter: Baud rate 9600bps; No check; 8 bit data; 1 bit stop bit;...
8.2 Read Zone Bit Max 256 bytes/time for zone bit reading. Send Command Format: Numbers of bytes 2bytes 1byte 1byte 2bytes 1byte 2bytes Name Head Types Lens Address Datas Details 0x7E00 PS: Address : 0x0000~0x00FF(2 bytes), address to start reading zone bit Datas : 0x00~0xFF(1 byte), Numbers of zone bit for Sequential read, 0x00= 256byets Receive Command Format:...
8.3 Write Zone Bit Max 245 bytes for one time write Send Command Format: Numbers of 2bytes 1byte 1byte 2bytes 1byte 2bytes bytes Name Head Types Lens Address Datas Detail 0x7E00 PS: Lens: 0x00~0xFF(1 byte), means numbers of bytes of this datas, times of continuous writing. 0x00 means 256bytes Address : 0x0000~0xFFFF(2 bytes)Start location of write Datas...
8.4 Save zone bit to EEPROM Command Send Command Format: Numbers of 2bytes 1byte 1byte 2bytes 1byte 2bytes bytes Name Head Types Lens Address Datas Detail 0x7E00 0x0000 0xDEC8 Datas Receive Format: Numbers of 2bytes 1byte 1byte 1byte 2bytes bytes Name Head Types...
Page 39
Keep Bit 7 Bit 6 1:Output successfully decode prompt 0:Not output Keep Bit5-1 Bit0 Keep Zone bit 0x0003 Function Data bit Bit 7-2 Keep 1:Close Settlement Code 0:Open Bit 1 Bit0 1:Output content of settlement code 0:Not output Zone bit 0x0004 Data bit Function...
Page 40
Function Data bit Free time(low order Bit7-0) Bit 7-0 Unit: 100ms Zone bit 0x000A Data bit Function Successfully read suond Bit 7-0 0x00:Piezo Buzzer 0x01-0xFF:sfn, Value*20; Zone bit 0x000B Function Data bit Time duration for successfully read sound Bit 7-0 0x00-0xFF;0-255ms Zone bit 0x000C...
Page 41
Zone bit 0x002B , 0x2A Function Data bit Bit 15-13 Keep 0x09C4:Series rate: 1200 bps 0x0271:Series rate: 4800 bps 0x0139:Series rate: 9600 bps 0x00D0:Series rate: 14400 bps Bit 12-0 0x009C:Series rate: 19200 bps 0x004E:Series rate: 38400 bps 0x0034:Series rate: 57600 bps 0x001A:Series rate: 115200bps Zone bit 0x002C...
Page 42
Keep Bit 7-1 Read UPCA Bit0 0:Forbid 1:Allow Zone bit 0x0031 Data bit Function Bit 7-1 Keep Read UPCE0 Bit0 0:Forbid 1:Allow Zone bit 0x0032 Data bit Function Bit 7-1 Keep Read UPCE1 Bit0 0:Forbid 1:Allow Zone bit 0x0033 Data bit Function Keep Bit 7-1...
Page 43
Keep Bit 7-1 Read Code39 Bit0 0:Forbid 1:Allow Zone bit 0x0037 Data bit Function Min length of Code39 Bit 7-0 0x00-0xFF:0-255Byte Zone bit 0x0038 Function Data bit Max length of Code39 Bit 7-0 0x00-0xFF:0-255Byte Zone bit 0x0039 Data bit Function Bit 7-1 Keep Read Code93...
Page 44
Read CodeBar Bit0 0:Forbid 1:Allow Zone bit 0x003D Data bit Function Min length of CodeBar Bit 7-0 0x00-0xFF:0-255Byte Zone bit 0x003E Data bit Function Max length of CodeBar Bit 7-0 0x00-0xFF:0-255Byte 0x003F Zone bit Data bit Function Bit 7-1 Keep Read QR Bit0 0:forbid...
Page 45
Keep Bit 7-1 Read Industrial 25 Bit0 0:forbid 1:Allow Zone bit 0x0044 Data bit Function Min length of Industrial 25 Bit 7-0 0x00-0xFF:0-255Byte Zone bit 0x0045 Function Data bit Max length of Industrial 25 Bit 7-0 0x00-0xFF:0-255Byte Zone bit 0x0046 Data bit Function Bit 7-1...
Page 46
Function Data bit Min length of Code11 Bit 7-0 0x00-0xFF:0-255Byte Zone bit 0x004B Data bit Function Max length of Code11 Bit 7-0 0x00-0xFF:0-255Byte Zone bit 0x004C Function Data bit Bit 7-1 Keep Read MSI Bit0 0:Forbid 1:Allow Zone bit 0x004D Data bit Function Min length of MSI...
Page 47
Read limited RSS Bit0 0:Forbid 1:Allow Zone bit 0x0051 Data bit Function Bit 7-1 Keep Read Expended RSS Bit0 0:Forbid 1:Allow Zone bit 0x0052 Function Data bit Min length of RSS Bit 7-0 0x00-0xFF:0-255Byte Zone bit 0x0053 Data bit Function Max length of RSS Bit 7-0 0x00-0xFF:0-255Byte...
Page 48
Type of Tailed Bit6-5 00:CR(0x0D) 01:CRLF(0x0D,0x0A) 10:TAB(0x09) 11:None Bit4 1.Allow add RF 0:Foebid Bit3 1:Allow add prefix 0:Forbid Bit2 1:Allow add Code ID 0:Forbid Bit1 1:Allow add suffix 0:Forbid Bit0 1:Allow add tail 0:Forbid Zone bit 0x0061 Data bit Function Keyboard Settlement Bit 7-0 00:US...
Page 49
Keep Bit 7-4 RF length Bit3-0 0x00-0x0F Zone bit 0x0082– 0x0081 Data bit Function RF content Bit 7-0 0x00-0xFF:max 15Byte Zone bit 0x0091 – 0x00A4 Function Data bit Code ID settlement Bit 7-0 0x41-0x5a & 0x61-0x7a (A-Z,a-z)Code ID as appendix B Zone bit 0x00B0 Data bit...
Page 50
0x00:write 0 to wake up module Zone bit 0x00E0 (Only read Zone bit) Data bit Function Product model Bit 7-0 0x05:GM66 Module Zone bit 0x00E1(Only read Zone bit) Data bit Function Hardware Version 0x64:V1.00 0x6E:V1.10 Bit 7-0 0x78:V1.20 0x82:V1.30 0x8C:V1.40 ..
Page 51
0x0B:Nov..Zone bit 0x00E5(Only read Zone bit) Data bit Function Software date 0x09:9 Bit 7-0 0x0A:10 0x0B:11 ..
9 Appendix A:Common serial port instruction Function Instruction Baud rate to 9600 7E 00 08 01 00 D9 D3 20 38 Save settlements to EEPROM 7E 00 09 01 00 00 DE C8 Find baud rate 7E 00 07 01 00 2A 02 D8 0F Module will return following info after mainframe send serial port instruction - find baud rate Return information Baud rate...
10 Appendix B:Code ID List Corresponding Type of Bar Code Zone bit address character EAN-13 0x91 EAN-8 0x92 UPC-A 0x93 UPC-E0 0x94 UPC-E1 0x95 Code 128 0x96 Code 39 0x97 Code 93 0x98 Codabar 0x99 Interleaved 2 of 5 0x9A Industrial 2 of 5 0x9B Matrix 2 of 5...
Need help?
Do you have a question about the GM66 and is the answer not in the manual?
Questions and answers