Page 1
GM66 Bar Code Reader Module
User Manual
Hangzhou Grow Technology Co., Ltd.
V1.3 May. 2018
Page 2
Catalog
1. Introduction of Module.........................................................................................................................................3
1.1 Introduction.............................................................................................................................................. 3
1.2 Technical Specification.............................................................................................................................3
1.3 Dimension(mm)........................................................................................................................................2
Control Panel................................................................................................................................................ 2
Scan Area(testing in office (250 lux)........................................................................................................... 3
1.4 Setup Code................................................................................................................................................4
1.5 Appendix E: Save or Cancel...................................................................................................................4
1.6 Reset......................................................................................................................................................... 4
2 Communication interface..................................................................................................................................... 5
2.1 Series Communication Interface.............................................................................................................. 5
2.2 USB Interface........................................................................................................................................... 6
2.3 USB Virtual Serial Port............................................................................................................................ 6
3 Read Mode............................................................................................................................................................7
3.1 Continuous Mode..................................................................................................................................... 7
3.2 Induction Mode.........................................................................................................................................8
3.3 Manual Mode............................................................................................................................................9
3.4 Command Triggered Mode.................................................................................................................... 10
4 Lighting and Collimate.......................................................................................................................................11
4.1 Lighting...................................................................................................................................................11
4.2 Collimation............................................................................................................................................. 11
5 Prompts...............................................................................................................................................................12
5.1 Prompts Tone.......................................................................................................................................... 12
5.2 Decode successfully tone....................................................................................................................... 12
5.3 Decoding Prompt....................................................................................................................................13
5.4 Data code format.................................................................................................................................... 13
5.5 Keyboard Settlement.............................................................................................................................. 13
5.6 Image Flip...............................................................................................................................................14
6 Data Edition........................................................................................................................................................15
6.1 Prefix.......................................................................................................................................................15
6.2 Suffix...................................................................................................................................................... 16
6.3 CODE ID................................................................................................................................................ 16
6.4 Tail.......................................................................................................................................................... 19
6.5 Cut out Data............................................................................................................................................19
6.6 RF Information....................................................................................................................................... 21
7 Bar code type enables/disable configuration......................................................................................................22
7.1 All types of bar code can be decoded.....................................................................................................22
7.2 Bar code rotate........................................................................................................................................22
7.3 EAN13....................................................................................................................................................22
7.4 EAN8...................................................................................................................................................... 23
1
Page 3
7.5 UPCA......................................................................................................................................................23
7.6 UPCE0....................................................................................................................................................23
7.7 UPCE1....................................................................................................................................................23
7.8 Code128..................................................................................................................................................23
7.9 Code39....................................................................................................................................................24
7.10 Code93....................................................................................................................................................24
7.11 CodeBar..................................................................................................................................................25
7.12 QR........................................................................................................................................................... 26
7.13 Interleaved 2 of 5....................................................................................................................................26
7.14 Industrial 25............................................................................................................................................26
7.15 Matrix 2 of 5...........................................................................................................................................27
7.16 Code11.................................................................................................................................................... 27
7.17 MSI......................................................................................................................................................... 28
7.18 RS............................................................................................................................................................29
7.19 DM..........................................................................................................................................................29
7.20 PDF417...................................................................................................................................................30
8 Serial Port Instruction.........................................................................................................................................31
8.1CRC Algorithm..............................................................................................................................................31
8.2 Read Zone Bit.........................................................................................................................................32
8.3 Write Zone Bit........................................................................................................................................ 33
8.4 Save zone bit to EEPROM Command................................................................................................... 34
8.5 List of zone bit........................................................................................................................................34
9 Appendix A: Common serial port instruction.................................................................................................. 48
10 Appendix B: Code ID List................................................................................................................................49
11 Appendix C: ASCII.......................................................................................................................................... 50
12 Appendix D: data code..................................................................................................................................... 55
2
Page 4
1. Introduction of Module
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.
MG66 bar code reader module is an advanced bar code
decoding algorithm which developed on image recognition
algorithm, can easily and accurately read bar code, simplify
secondary development.
Parameter: 0.1-25.5s; step-size: 0.1s; 0
means no time limited
Parameter: 0.1-25.5s; step-size: 0.1s; 0
means no time limited
adjustable, details at 2.1
Parameter: 0.1-25.5s; step-size: 0.1s; 0
means no time limited
1.1 Introduction
MG66 works stable in dark and large temperature range.
1.2 Technical Specification
3
Page 5
Electrical specification:
Roll:0-360° , Pitch:± 65° , Yaw:± 60°
35°( Inclination) , 28°( Elevation)
Running characteristic
1
Page 6
1.3 Dimension(mm)
Control Panel
2
Page 7
Scan Area (testing in office (250 lux)
3
Page 8
1.4 Setup Code
Customer can set module by scan setup code.
Default: setup code on Off
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
Back to Factory Setting by scan follow code.
Reset
4
Page 9
2 Communication interface
Series 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.
Series Output
TTL-232 is used for series interface which suitable for most system. Required change-over circuit
for RS-232.
Default Parameter as formForm 2- 1. Only Baud Rate can be changed.
Form 2- 1 Default Parameters
Baud Rate Settlement
1200bps 4800bps 9600bps(Default)
14400bps 19200bps
5
Page 10
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.
USB Virtual serial port
6
Page 11
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. After this time, module will be into no read time.
Single Read time: 0.1~25.5 s, step-size: 0.1s;
0 means infinite time interval.
Default time: 5s
1000ms default 3000ms
5000ms infinite time interval
Break time settlement
Time between two read. Can be settled from 1 to 25.5 s, step-size: 0.1s; default 1.0s
No break 500ms default 1000ms
7
Page 12
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.
On induction mode, module can begin reading code by click, and it will begin to monitor brightness
when release toggle key or successfully output information.
Induction Mode
Time settlement for single read
The longest time read before first successful reading. After this time, module will be into no read
time.
Single Read time: 0.1~25.5 s, step-size: 0.1s;
0 means infinite time interval.
Default time: 5s
1000ms 3000ms
Default 5000ms infinite time interval
8
Page 13
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. Time from 0s to 25.5s, step size 0.1s. Default 0.4s.
100ms Default 400ms
1000ms 2000ms
3.3 Manual Mode
Manual mode is default mode. Click toggle key begin to read, stop when output or release toggle
key
Manual Mode
Into sleep mode after not work for a while, can be settled by following code.
9
Page 14
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.
Command triggered mode
Under command triggered mode, command for serial port trigger is 7E 00 08 01 00 02 01 AB CD;
After receiving command, model will output “ 02 00 00 01 00 33 31” and start scan.
Time settlement for single read
Read and Scan time before output. From 0.1s to 25.5s, step size 0.1s. 0 : infinite time interval;
Default: 5s
1000ms 3000ms
Default 5000ms infinite time interval
10
Page 15
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 Off
4.2 Collimation
There will be a pointing light beam which can help user to find best distance.
Normal(default): pointing light beam shows when read
Normally on: pointing light beam shows after power on until power off
No Collimation: no pointing light beam
Normal(default) Normally on No Collimation
11
Page 16
5 Prompts
5.1 Prompts Tone
Sound of buzzer
UP 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
12
Page 17
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
GBK UNICODE
5.5 Keyboard Settlement
Scan following code to change keyboard.
Default Keyboard- US Czech France
BIG5
13
Page 18
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.
14
Page 19
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
Add End words”Tail”
Output sequence after data edition:
【 Prefix】【 CodeID】【 Data】【 Suffix】【 Tail】
6.1 Prefix
Add prefix
Prefix is on the head of encoding Information , and can be self-defined.
Scan the code to add prefix.
Allow to add prefix Default no prefix
Change prefix
Scan “change prefix” and “setup code” code to change prefix.
Use 2 base 16 to express each character.
Max 15 characters.
ASCII on appendix C.
change prefix
15
Page 20
E.G. Change prefix to “DATA”
1. ”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.
Allow add suffix Default no suffix
Change suffix
Scan “ change suffix” and “setup code” code to change prefix.
Use base 16 to express each character.
Max 15 characters. ASCII on appendix C.
Change Suffix
E.G.: Change suffix to “DATA”
1. “DTAT” in base 16: “44”, “41”, “54”, “41”
2.Confirm opening the “setup code”, if not, find on 1.4
3.Scan “change suffix” code
4.Successively scan “Code ID”: “4”, “4”, “4”, “1”, “5”, “4”, “4”, “1”
5.Scan “save” code
6.3 CODE ID
Add CODE ID
Users can identify different types of bar code by CODE ID. CODE ID use one character to
identify and can be self- defined.
16
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.
Base 16 is used to express each CODE ID.
ASCII on appendix C.
E.G.: change CODE ID of CODE 128 to “A”
1. Find “A”=”41” in base 16
2. Confirm opening the “setup code”, if not, find on 1.4
3. Scan “ change CODE 128”
4. Successively scan “Code ID”: “4”, “1”
5. Scan “save” code
Change CODE ID LIST
Change CODE ID of EAN13 Change CODE ID of EAN8
Change CODE ID of UPCA Change CODE ID of UPCE0
17
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 RSS Change CODE ID of limited RSS
Change CODE ID of expended RSS Change CODE ID of QR CODE
18
Page 23
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”
Add tail “TAB” Add tail “CRLF”
6.5 Cut out Data
Open to output part of data.
[Data] is composed of [Start] + [Center] + [End]
Character length of “start” and “end” can be changed
Output whole data Output Start part
Output End Part Output Center part
19
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. ASCII on appendix C.
Change N
Output Start part
E.G. Output “1234567890123” of whole decode information “ 1234567890123ABC”
1. “13” =”0D” in base 16
2. Confirm opening the “setup code”, if not, find on 1.4
3. Scan” change length M”
4. Successively scan “Code ID”: “0”, “D”
5. Scan “save” code
6. Scan” Output Start part”
Output End Part
E.G. Output “ABC” of whole decode information “ 1234567890123ABC”
1. “3” = “03” in base 16
2. Confirm opening the “ setup code” , if not, find on 1.4
3. Scan ”change length N”
4. Successively scan “Code ID”:”0”, “3”
5. Scan “save” code
6. Scan” Output Start part”
20
Page 25
Output Center part
E.G.: Output “0123” of whole decode information “ 1234567890123ABC”
1. “ 10” =”0A”; “3”=”03” in base16
2. Confirm opening the “ setup code” , if not, find on 1.4
3. Scan “change length N”
4. Successively scan “Code ID”:”0”, “3”
5. Scan “save” code
6. Scan ” change length M”
7. Successively scan :Code ID”: “0”, “A”
8. Scan “save” code
9. Scan “Output Center part”
6.6 RF Information
RF(Read Fail): Users can self- define output information when read fail.
Output RF information Default not output
Change RF information
Scan”change RF information” and “data edition code” to change RF information.
Base 16 is used to express, max at 15 character. ASCII on appendix C.
Change RF information
E.G.: change RF to “FAIL”
1. Find “FAIL” in base-16: “46”, “41”, “49”, “4C”
2. Confirm opening the “setup code”, if not, find on 1.4
3. Scan “ change RF information”
4. Successively scan“ 4”、“ 6”、“ 4”、“ 1”、“ 4”、“ 9”、“ 4”、“ C”
5. Scan “save” code
21
Page 26
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
7.3 EAN13
Allow reading EAN13 Forbid reading EAN13
22
Page 27
7.4 EAN8
Allow reading EAN8 Forbid reading EAN8
7.5 UPCA
Allow reading UPCA Forbid reading UPCA
7.6 UPCE0
Allow reading UPCE0 Forbid reading UPCE0
7.7 UPCE1
Allow reading UPCE1 Forbid reading UPCE1
7.8 Code128
Allow reading Code128 Forbid reading Code128
Scan following code to change min length of code 128
23
Page 28
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
Code39 max length at 32 Code39 max length at 255
7.10Code93
Allow reading Code93 Forbid reading Code93
24
Page 29
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 Not send CodeBar Start-stop operator
Scan following code to change min length of CodeBar
CodeBar min length at 0 CodeBarmin length at 4
Scan following code to change min length of CodeBar
CodeBar max length at 32 CodeBar max length at 255
25
Page 30
7.12QR
Allow reading QR Forbid reading QR
7.13Interleaved 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 Interleaved 2 of 5max length at 255
7.14Industrial 25
Allow reading Industrial 25 Forbid reading Industrial 25
26
Page 31
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.15Matrix 2 of 5
Allow reading Matrix 2 of 5 Forbid reading Matrix 2 of 5
Scan following code to set min length of Matrix 2 of 5
Matrix 2 of 5 min length at 0 Matrix 2 of 5 min length at 4
Scan following code to set max length of Matrix 2 of 5
Matrix 2 of 5 max length at 32 Matrix 2 of 5max length at 255
7.16Code11
27
Page 32
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.17MSI
Allow reading MSI Forbid reading MSI
Scan following code to set min length of MSI
MSI min length at 0 *MSI min length at 4
Scan following code to set max length of MSI
MSI max length at 32 MSI max length at 255
28
Page 33
7.18RS
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
7.19DM
Allow reading DM Forbid reading DM
29
Page 34
7.20PDF417
Allow reading PDF417 Forbid reading PDF417
30
Page 35
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; No flow control.
8.1CRC Algorithm
CRC: CRC_CCITT check value (2 bytes).
Suitable for Types、 Lens、 Address、 Datas;
Characteristic polynomial : X16+X12+X5+1, multinomial coefficient: 0x1021, original value:0 ;
For single byte, the highest bit will be calculated at first, output will be without negation.
Reference code of C:
unsigned int crc_cal_by_bit(unsigned char* ptr, unsigned int len)
{
unsigned int crc = 0;
while(len-- != 0)
{
for(unsigned char i = 0x80; i != 0; i /= 2)
{
crc *= 2;
if((crc&0x10000) !=0)
crc ^= 0x11021;
if((*ptr&i) != 0)
crc ^= 0x1021;
}
ptr++;
}
return crc;
}
PS: when no need for checking CRC, CRC bite can be filled in 0xAB 0xCD
31
Page 36
8.2 Read Zone Bit
Max 256 bytes/time for zone bit reading.
Send Command Format:
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:
PS: Types: 0x00= read succeed
Lens : numbers of upload bytes; 0x00= 256bytes
Datas : 0x00~0xFF means read data.
If CRC wrong, no return data
If format or data wrong, no return data
E.G.:
Read address 0x000A of Zone bit
1) Read successfully and return data is 0x3E.
Input: 0x7E 0x00 0x07 0x01 0x00 0x0A 0x01 0xEE 0x8A
Output: 0x02 0x00 0x00 0x01 0x3E 0xE4 0xAC
2) CRC wrong
Input: 0x7E 0x00 0x07 0x01 0x00 0x0A 0x01 0x11 0x22
Output : None
3) When length of command to short or more than 400ms after 0x7e 0x00, treat as unknown
command.
Input: 0x7E 0x00 0x07 0x01 0x00 0x0A 0x01
Output: None
32
Page 37
8.3 Write Zone Bit
Max 245 bytes for one time write
Send Command Format:
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 : 0x00~0xFF( 1~256 bytes) , dates wrote in zone bit
Receive Command Format:
PS: Types: 0x00 write succeed
If CRC wrong, no return data
If format or data wrong, no return data
E.G.:
Write 0x3E in 0x000A of zone bit
1) successfully set
Input : 0x7E 0x00 0x08 0x01 0x00 0x0A 0x3E 0x4C 0xCF
Output: 0x02 0x00 0x00 0x01 0x00 0x33 0x31
2) CRC wrong
Input: 0x7E 0x00 0x08 0x01 0x00 0x0A 0x3E 0x11 0x22
Output: None
3) When length of command to short or more than 400ms after 0x7e 0x00, treat as unknown
command.
Input: 0x7E 0x00 0x08 0x01 0x00 0x0A 0x3E
Output: None
33
Page 38
8.4 Save zone bit to EEPROM Command
1: Open LED when successfully read 0: Close
00: No aim 01: Standard 10/11: always on
00: No light 01: Standard 10/11: Always on
00: Manual mode 01: Command mode 10: Continuous mode
11: Sensor mode
Send Command Format:
Datas Receive Format:
PS: Types : 0x00 = succeed
If CRC wrong, no return data
If format or data wrong, no return data
8.5 List of zone bit
34
Page 39
35
1: Output successfully decode prompt 0: Not output
1: Close Settlement Code 0: Open
1: Output content of settlement code 0: Not output
Time for image stabilization
0x00-0xFF: 0.0-25.5s
Read interval
0x00-0xFF: 0.0-25.5s
Time for single read
0x00-0xFF: 0.0-25.5s
Free time( high order Bit14-8)
Unit: 100ms
Page 40
36
Free time( low order Bit7-0)
Unit: 100ms
Successfully read suond
0x00: Piezo Buzzer 0x01-0xFF: sfn, Value*20;
Time duration for successfully read sound
0x00-0xFF; 0-255ms
Piezo Buzzer
0: high level when free, low level when busy 1: low level when free,
high level when busy
Data encoding format
00: GBK 01: UNICODE 10: BIG5 11: Keep
00: serial port output 01: USB PC Keyboard 10: Keep
11: USB virtual serial port
1: Decode successfully sound on 0: Decode successfully sound off
Page 41
0x09C4: Series rate: 1200 bps
0x0271: Series rate: 4800 bps
0x0139: Series rate: 9600 bps
0x00D0: Series rate: 14400 bps
0x009C: Series rate: 19200 bps
0x004E: Series rate: 38400 bps
0x0034: Series rate: 57600 bps
0x001A: Series rate: 115200bps
Bar code switch
00: forbid reading all bar code 01: all bar code can be read;
10/11: Default
360° rotate read
0: Close; 1: Open
Read EAN13
0: Forbid 1: Allow
Read EAN8
0: Forbid 1: Allow
37
Page 42
Read UPCA
0: Forbid 1: Allow
Read UPCE0
0: Forbid 1: Allow
Read UPCE1
0: Forbid 1: Allow
Read Code128
0: Forbid 1: Allow
Min length of Code128
0x00-0xFF: 0-255Byte
Max length of Code128
0x00-0xFF: 0-255Byte
38
Page 43
Read Code39
0: Forbid 1: Allow
Min length of Code39
0x00-0xFF: 0-255Byte
Max length of Code39
0x00-0xFF: 0-255Byte
Read Code93
0: Forbid 1: Allow
Min length of Code93
0x00-0xFF: 0-255Byte
Max length of Code93
0x00-0xFF: 0-255Byte
Send CodeBar Start-stop operator
0: Forbid 1: Allow
39
Page 44
Read CodeBar
0: Forbid 1: Allow
Min length of CodeBar
0x00-0xFF: 0-255Byte
Max length of CodeBar
0x00-0xFF: 0-255Byte
Read Interleaved 2 of 5
0: Forbid 1: Allow
Min length of Interleaved 2 of 5
0x00-0xFF: 0-255Byte
Max length of Interleaved 2 of 5
0x00-0xFF: 0-255Byte
40
Page 45
Read Industrial 25
0: forbid 1: Allow
Min length of Industrial 25
0x00-0xFF: 0-255Byte
Max length of Industrial 25
0x00-0xFF: 0-255Byte
Read Matrix 2 of 5
0: forbid 1: Allow
Min length of Matrix 2 of 5
0x00-0xFF: 0-255Byte
Max length of Matrix 2 of 5
0x00-0xFF: 0-255Byte
Read Code11
0: Forbid 1: Allow
41
Page 46
Min length of Code11
0x00-0xFF: 0-255Byte
Max length of Code11
0x00-0xFF: 0-255Byte
Read MSI
0: Forbid 1: Allow
Min length of MSI
0x00-0xFF: 0-255Byte
Max length of MSI
0x00-0xFF: 0-255Byte
Read RSS-14
0: Forbid 1: Allow
42
Page 47
Read limited RSS
0: Forbid 1: Allow
Read Expended RSS
0: Forbid 1: Allow
Min length of RSS
0x00-0xFF: 0-255Byte
Max length of RSS
0x00-0xFF: 0-255Byte
Read PDF417
0: Forbid 1: Allow
43
Page 48
Type of Tailed
00: CR(0x0D) 01: CRLF(0x0D,0x0A)
10: TAB(0x09) 11: None
1: Allow add prefix 0: Forbid
1: Allow add Code ID 0: Forbid
1: Allow add suffix 0: Forbid
1: Allow add tail 0: Forbid
Keyboard Settlement
00: US 01: Czech 02: France 03: Germany
04: Hungary 05: Italy 06: Japan 07: Spain
Length of prefix
0x00-0x0F
Length of suffix
0x00-0x0F
Prefix
0x00-0xFF: Content, max 15Byte
Suffix
0x00-0xFF: Content, max 15Byte
44
Page 49
RF content
0x00-0xFF: max 15Byte
Code ID settlement
0x41-0x5a & 0x61-0x7a ( A-Z,a-z) Code ID as appendix B
Data Cut out settlement
00: Output whole data 01: Output Start part
10: Output End part 11: Output center part
Cut out M bytes from start
0x00-0xFF: 0-255 bytes
Cut out N bytes from end
0x00-0xFF: 0-255个字符
Function Zone bit
0x55: reset to defaults
0xA0: Mild sleep, wake up by UART interrupt; Power consumption:28mA
0xA5 : Deep sleep,wake up by UART interrupt; module reboot; Power
consumption:3mA
45
Page 50
0x00: write 0 to wake up module
0x00E0 (Only read Zone bit)
Product model
0x05: GM66 Module
0x00E1 (Only read Zone bit)
Hardware Version
0x64: V1.00
0x6E: V1.10
0x78: V1.20
0x82: V1.30
0x8C: V1.40
......
0x00E2 (Only read Zone bit)
Software Version
0x64: V1.00
0x6E: V1.10
0x78: V1.20
0x82: V1.30
0x8C: V1.40
......
0x00E3 (Only read Zone bit)
Year of software (Add 2000)
0x0F: 2015
0x10: 2016
0x11: 2017
......
0x00E4 (Only read Zone bit)
Software month
0x09: September
0x0A: Oct.
46
Page 51
0x00E5 (Only read Zone bit)
Software date
0x09: 9
0x0A: 10
0x0B: 11
......
47
Page 52
9 Appendix A: Common serial port instruction
7E 00 08 01 00 D9 D3 20 38
Save settlements to EEPROM
7E 00 07 01 00 2A 02 D8 0F
Module will return following info after mainframe send serial port instruction - find baud rate
PS:SS SS= check value 。
48
Page 53
10 Appendix B: Code ID List
GS1 Databar Expanded(RSS)
49
Page 54
11 Appendix C: ASCII
50
Page 55
51
Page 56
52
Page 57
53
Page 58
54
Page 59
12 Appendix D: data code
0 ~ 9
0 1
2 3
A – F
4 5
6 7
8 9
A B
55
Page 60
C D
E F
56