background image

92 

4-14 GOOD_READ_START 

Description: the command demands the scanner to start to decode to identify whether the barcode is 
readable or not. 
Packet Format   

<SYN>

 

<T>

 

<CR>

 

 

0x16 

0x54 

0x0D 

 

 

Host Requirements 
The host sends GOOD_READ_START to the scanner to identify the barcode is readable or not. 
   
Scanner Requirements 
If ACK/NAK handshaking is enabled, the scanner responds with ACK or NAK and then start to decode, 
when  it  receives  the  GOOD_READ_START  command.  Otherwise,  the  scanner  will  start  to  decode 
directly. 
If decodes successfully, the scanner turns off light source and replies “<STX><]><CR><LF>”. 

<STX> 

<]> 

<CR> 

<LF> 

0x02 

0x5D 

0x0D 

0x0A 

 

When there is no barcode decoded successfully after the Stand-by duration elapsed, the scanner turns 
off light source and replies “<STX><CAN><CR><LR>”. 

<STX>  <CAN>  <CR> 

<LF> 

0x02 

0x18 

0x0D 

0x0A 

 

Note: Only when the Scan mode is Good-read identification, this command is valid. 

 

Summary of Contents for ES4200

Page 1: ...ES4200 Embedded Laser Barcode Scanner User Manual Version ES4200_UM_EN_V1 1 7...

Page 2: ......

Page 3: ...or design The material in this manual is subject to change without notice The manufacturer assumes no responsibility for any loss or claim by third parties which may arise from the use of this manual...

Page 4: ...a Nylok patch 3 Do not place magnetic material e g dynamic speakers ringers vibrators inductors metal parts within 1 inch of the scanner chassis Evaluate placement of all magnetic or ferrous material...

Page 5: ...gle 8 3 Parameter menus 9 3 1 Example Configure scanner by scanning configuration barcodes 9 3 2 RS 232 interface 11 3 3 USB interface 14 3 4 Scan mode some global settings 17 3 5 Indication 21 3 6 UP...

Page 6: ...4 2 CMD_ACK 75 4 3 CMD_NAK 77 4 4 DECODE_DATA 79 4 5 REQUEST_REVISION 80 4 6 REPLY_REVISION 81 4 7 START_DECODE 82 4 8 STOP_DECODE 83 4 9 PARAM_DEFAULTS 84 4 10 PARAM_REQUEST 85 4 11 PARAM_SEND 87 4...

Page 7: ...face supported RS 232 3 3V TTL level USB USB virtual COM Operating mode Manual operation Auto detection Command Dimensions Height Width Depth 46 2mm 41 3mm 20 7mm Weight 72 8g with Zinc alloy case 29g...

Page 8: ...pose Input Ground for interface auto selection purpose Input RS232 Logic high level 3 3VDC USB Logic low level 0V reference 5 TXD Output Reserved RS232 Serial data transmit output port Transmitted dat...

Page 9: ...6 I Im Industrial 2 of 5 4 H Im Matrix 2 of 5 6 X Im Codabar 4 N Fm Code 128 1 K Cm UCC EAN 128 1 K Cm ISBT 128 1 K Cm Code 93 1 L Gm Code 11 4 V MSI Plessey 4 O Mm UK Plessey 1 U Mm China Post 11 2...

Page 10: ...4 1 4 Decode zone Figure 1 2 High density series...

Page 11: ...5 Figure 1 3 Long range series...

Page 12: ...e any magnetic material within 1 inch 2 54 cm of the chassis without testing 2 2 Mounting There are four mounting holes M2 on the top of the chassis and it is shown in Figure 2 1 Top view Bottom view...

Page 13: ...nce of the scanner Figure 2 2 Appearance of the scanner with Zinc alloy case Figure 2 3 Appearance of the scanner with ABS case SCAN Beeper Infrared detecting Exit window SCAN Beeper Infrared detectin...

Page 14: ...8 2 4 Scan angle Figure 2 4 Scan angle Note The scanner s sealing condition can meet its own protection require It s not necessary to add extra sealing protection...

Page 15: ...s demand Example to set Flow control to be ACK NAK Steps Scan the following barcode Multiple scan setting The steps of configuration are 1 Scan the SETUP barcode on the parameter setting part 2 Enter...

Page 16: ...00 RTS CTS Host idle Low RTS 01 RTS CTS Host idle High RTS 02 ACK NAK 04 Baud rate 300 00 600 01 1200 02 2400 03 4800 04 9600 05 19200 06 57600 08 115200 09 END Figure 3 2 Set Flow control to be none...

Page 17: ...s either an ACK acknowledge or NAK not acknowledge response from the host When a NAK is received the scanner transmits the same data again and waits for either an ACK or NAK After three unsuccessful a...

Page 18: ...n Alpha entry Flow control None 00 RTS CTS Host idle Low RTS 01 RTS CTS Host idle High RTS 02 ACK NAK 04 Inter character delay 0 ms 00 5 ms 01 10 ms 02 20 ms 03 40 ms 04 80 ms 05 Response delay 00 99...

Page 19: ...etting Option barcode Option Alpha entry 19200 06 38400 07 57600 08 115200 09 Parity None 00 Odd 01 Even 02 Data bit 8 bits 00 7 bits 01 Stop bit 1 bits 00 2 bits 01 Host character delay 00 99 1ms 00...

Page 20: ...ction 3 2 RS 232 Interface while the USB works in USB virtual serial port operating mode the USB virtual serial port will follow the ACK NAK flow control if the RS232 interface uses ACK NAK flow contr...

Page 21: ...e type HID keyboard 00 HID keyboard for Apple Mac 01 USB virtual COM 02 Simple COM Port Emulation 03 Keyboard layout USA 00 Turkish F 01 Turkish Q 02 French 03 Italian 04 Spanish 05 Slovak 06 Denmark...

Page 22: ...16 SETUP Multiple scan setting Single scan setting Option barcode Option Alpha entry 20 ms 03 40 ms 04 60 ms 05 Numeric key Alphabetic key 00 Numeric keypad 01 Alt keypad 02 END...

Page 23: ...ceives a GOOD_READ_START command refer to 4 14 GOOD_READ_START The light source of scanner stops scanning when there is a successful reading or no code is decoded after the Stand by duration elapsed I...

Page 24: ...60 61 62 63 64 65 and 66 Element amendment If it is enabled the scanner can read the barcode comprised with bars and spaces in different scale Printable character only If this option is selected the...

Page 25: ...te continue 02 Continue 03 Timeout off 04 Auto detection 05 Good read identification 06 Standby duration 01 99 second 01 99 04 Same barcode delay time 00 FF16 50 second 00 FF16 00 0A Double confirm 00...

Page 26: ...ble 01 Character output restraint None 00 Printable character only 01 Alphanumeric character only 02 Decoder optimization Disable 00 Enable 01 Data output delay in continue scan mode 00 FF16 100 ms FF...

Page 27: ...on is adjustable Beep tone duration This parameter can be adjusted for a good reading upon favorite usage Volume of beeper This parameter can be adjusted for different level of the volume of the beepe...

Page 28: ...Supplement digits The Supplement digits barcode is the supplemental 2 or 5 characters Format System character Data digits 10 digits Check digit Supplement digits 2 or 5 Truncation Expansion Truncate...

Page 29: ...ation Disable 00 Enable 01 Check digit trans Disable 00 Enable 01 Code ID setting 00 FF16 ASCII 00 FF16 A Insert group selection 00 66 00 66 00 Supplement digits None 00 2 digits 01 5 digits 02 2 or 5...

Page 30: ...ing zeros The leading 0 digits of UPC E data characters can be truncated when the feature is enabled Example Barcode 00123457 Output 123457 Expand to EAN 13 It extends to 13 digits with a 0 leading di...

Page 31: ...00 Enable 01 Check digit trans Disable 00 Enable 01 Code ID setting 00 FF16 ASCII 00 FF16 D Insert group selection 00 66 00 66 00 Supplement digits None 00 2 digits 01 5 digits 02 2 or 5 digits 03 Tru...

Page 32: ...6 digits Check digit Supplement digits 2 or 5 Truncation Expansion Expand to EAN 13 It extends to 13 digits with 0 digits when the feature is enabled Example Barcode 10012341 Output 0100120000031 Exp...

Page 33: ...tion Disable 00 Enable 01 Check digit trans Disable 00 Enable 01 Code ID setting 00 FF16 ASCII 00 FF16 D Insert group selection 00 66 00 66 00 Supplement digits None 00 2 digits 01 5 digits 02 2 or 5...

Page 34: ...ersion The ISBN International Standard Book Number and ISSN International Standard Serial Number are two kinds of barcode for books and magazines The ISBN is 10 digits with leading 978 and the ISSN is...

Page 35: ...setting Option barcode Option Alpha entry Insert group selection 00 66 00 66 00 Supplement digits None 00 2 digits 01 5 digits 02 2 or 5 digits 03 ISBN ISSN conversion Disable 00 Enable 01 ISBN ISSN c...

Page 36: ...it trans By setting Enable check digit will be transmitted Code ID setting Refer to Code ID setting of 3 6 UPC A Insertion group selection Refer to Insertion group selection of 3 6 UPC A Supplement di...

Page 37: ...1 Check digit verification Disable 00 Enable 01 Check digit trans Disable 00 Enable 01 Code ID setting 00 FF16 ASCII 00 FF16 C Insert group selection 00 66 00 66 00 Supplement digits None 00 2 digits...

Page 38: ...setting Refer to Code ID setting of 3 6 UPC A Insertion group selection Refer to Insertion group selection of 3 6 UPC A Start End transmission The start and end characters of Code 39 are s You can tr...

Page 39: ...cation Disable 00 Enable 01 Check digit transmission Disable 00 Enable 01 Max code length 00 99 00 99 00 Min code length 00 99 00 99 01 Code ID setting 00 FF16 ASCII 00 FF16 M Insert group selection 0...

Page 40: ...isable 00 Enable 01 Code 32 Prefix A transmission Disable 00 Enable 01 Trioptic Code 39 read Disable 00 Enable 01 Trioptic Code 39 Start End transmission Disable 00 Enable 01 END Note 1 If Trioptic Co...

Page 41: ...t verification is optional Check digit transmission By setting Enable check digit will be transmitted Max Min code length Refer to Max Min code length of 3 11 Code 39 Code 32 Trioptic Code 39 Code ID...

Page 42: ...ha entry Read Disable 00 Enable 01 Check digit verification Disable 00 USS 01 OPCC 02 Check digit transmission Disable 00 Enable 01 Max code length 00 99 00 99 00 Min code length 00 99 00 99 06 Code I...

Page 43: ...e 32 Trioptic Code 39 Code ID setting Refer to Code ID setting of 3 6 UPC A Insertion group selection Refer to Insertion group selection of 3 6 UPC A SETUP Multiple scan setting Single scan setting Op...

Page 44: ...verification is optional Check digit transmission By setting Enable check digit will be transmitted Max Min code length Refer to Max Min code length of 3 11 Code 39 Code 32 Trioptic Code 39 Code ID se...

Page 45: ...Alpha entry Read Disable 00 Enable 01 Check digit verification Disable 00 Enable 01 Check digit transmission Disable 00 Enable 01 Max code length 00 99 00 99 00 Min code length 00 99 00 99 06 Code ID...

Page 46: ...Insertion group selection of 3 6 UPC A Start End type Codabar has four pairs of Start End pattern you may select one pair to match your application Start End transmission Refer to Start End transmiss...

Page 47: ...e Option Alpha entry Code ID setting 00 FF16 ASCII 00 FF16 N Insert group selection 00 66 00 66 00 Start End type ABCD ABCD 00 abcd abcd 01 ABCD TN E 02 abcd tn e 03 Start End transmission Disable 00...

Page 48: ...ck digit will be transmitted Max Min code length Refer to Max Min code length of 3 11 Code 39 Code 32 Trioptic Code 39 Code ID setting Refer to Code ID setting of 3 6 UPC A Insertion group selection R...

Page 49: ...Check digit verification Disable 00 Enable 01 Check digit transmission Disable 00 Reserved 01 Max code length 00 99 00 99 00 Min code length 00 99 00 99 01 Code ID setting 00 FF16 ASCII 00 FF16 K Inse...

Page 50: ...transmission By setting Enable check digit will be transmitted Max Min code length Refer to Max Min code length of 3 11 Code 39 Code 32 Trioptic Code 39 Code ID setting Refer to Code ID setting of 3 6...

Page 51: ...Check digit verification Disable 00 Enable 01 Check digit transmission Disable 00 Reserved 01 Max code length 00 99 00 99 00 Min code length 00 99 00 99 01 Code ID setting 00 FF16 ASCII 00 FF16 K Inse...

Page 52: ...erification is optional Check digit transmission By setting Enable check digit will be transmitted Max Min code length Refer to Max Min code length of 3 11 Code 39 Code 32 Trioptic Code 39 Code ID set...

Page 53: ...lpha entry Read Disable 00 Enable 01 Check digit verification Disable 00 Enable 01 Check digit transmission Disable 00 Reserved 01 Max code length 00 99 00 99 00 Min code length 00 99 00 99 01 Code ID...

Page 54: ...rification is optional Check digit transmission By setting Enable check digit will be transmitted Max Min code length Refer to Max Min code length of 3 11 Code 39 Code 32 Trioptic Code 39 Code ID sett...

Page 55: ...Alpha entry Read Disable 00 Enable 01 Check digit verification Disable 00 Enable 01 Check digit transmission Disable 00 Enable 01 Max code length 00 99 00 99 00 Min code length 00 99 00 99 01 Code ID...

Page 56: ...heck digit transmission By setting Enable check digit 1 and check digit 2 will be transmitted upon the selected check digit verification method Max Min code length Refer to Max Min code length of 3 11...

Page 57: ...ead Disable 00 Enable 01 Check digit verification Disable 00 1 digit 01 Reserved 02 Reserved 03 Check digit transmission Disable 00 Enable 01 Max code length 00 99 00 99 00 Min code length 00 99 00 99...

Page 58: ...check digit 1 and check digit 2 will be calculated as the sum module 10 or 11 of the data digits Check digit transmission By setting Enable check digit 1 and check digit 2 will be transmitted upon th...

Page 59: ...Disable 00 Enable 01 Check digit verification Disable 00 1 digit mod 10 01 Reserved 02 Reserved 03 Check digit transmission Disable 00 Enable 01 Max code length 00 99 00 99 00 Min code length 00 99 0...

Page 60: ...d check digit 2 will be calculated as the sum module 10 or 11 of the data digits Check digit transmission By setting Enable check digit will be transmitted Max Min code length Refer to Max Min code le...

Page 61: ...Alpha entry Read Disable 00 Enable 01 Check digit verification Disable 00 Enable 01 Check digit transmission Disable 00 Enable 01 Max code length 00 99 00 99 00 Min code length 00 99 00 99 01 Code ID...

Page 62: ...ID setting Refer to Code ID setting of 3 6 UPC A Insertion group selection Refer to Insertion group selection of 3 6 UPC A SETUP Multiple scan setting Single scan setting Option barcode Option Alpha...

Page 63: ...e converted to A B C D E Leading character assignment By setting only the barcode with the assigned leading character can be output Code ID setting Refer to Code ID setting of 3 6 UPC A Insertion grou...

Page 64: ...99 10 Check digit verification Disable 00 Reserved 01 Leading character 5 6 7 8 9 converted to A B C D E Disable 00 Enable 01 Only 5 converted to A 02 Only 6 converted to B 03 Only 7 converted to C 0...

Page 65: ...ned to 3 09 Assigned to 4 10 Code ID setting 00 FF16 ASCII 00 FF16 Y Insert group selection 00 66 00 66 00 END Laser Light Direction Setting By scanning the barcode above the decoding direction of the...

Page 66: ...to Max Min code length of 3 11 Code 39 Code 32 Trioptic Code 39 Code ID setting Refer to Code ID setting of 3 6 UPC A Insertion group selection Refer to Insertion group selection of 3 6 UPC A Encode...

Page 67: ...00 Enable 01 Check digit verification Disable 00 Enable 01 Check digit transmission Disable 00 Enable 01 Max code length 00 99 00 99 00 Min code length 00 99 00 99 01 Code ID setting 00 FF16 00 FF16 P...

Page 68: ...A Conversion UCC EAN 128 Refer to Code ID transmission of 3 31 String transmission Cm will be identified as AIM ID UPC A or EAN 13 Barcode beginning with a single zero as the first digit has the lead...

Page 69: ...tion group selection of 3 6 UPC A Conversion Refer to Conversion of 3 26 GS1 DataBar GS1 DataBar Truncated SETUP Multiple scan setting Single scan setting Option barcode Option Alpha entry Read Disabl...

Page 70: ...nversion UCC EAN 128 Refer to Code ID transmission of 3 31 String transmission Cm will be identified as AIM ID SETUP Multiple scan setting Single scan setting Option barcode Option Alpha entry Read Di...

Page 71: ...table to find the value of 24 2 Scan SETUP and Prefix string setting barcode 3 Scan 2 and 4 from the barcode on the foldout back page 4 Scan END barcode 5 Refer to section 3 31 String transmission se...

Page 72: ...6 Steps scan the following data in order Testing barcode Truncate ending G6 string setting By setting a defined ending character or string can be truncated Also a single character can be un defined Re...

Page 73: ...one 00 Postamble string setting 0 22 characters 00 FF16 None 00 Insert G1 string setting 0 22 characters 00 FF16 None 00 Insert G2 string setting 0 22 characters 00 FF16 None 00 Insert G3 string setti...

Page 74: ...ined times 01 22 Un defined times All FF Truncate ending G6 string setting A un defined character 00 1 22 defined characters 01 7F16 0 30 Repeat of a G6 character setting Once 01 Defined times 01 22 U...

Page 75: ...rtion position is greater than the length of the symbol the insertion of string is not effective Code ID position It is allowed to select different positions of code ID placement SETUP Multiple scan s...

Page 76: ...Enable is selected The length is represented by a number with two digits Case conversion The characters within code data or the whole output string can be set in either upper case or lower case FN1 s...

Page 77: ...Disable 00 Enable 01 Code name transmission Disable 00 Enable 01 Preamble transmission Disable 00 Enable 01 Postamble transmission Disable 00 Enable 01 Code ID transmission Disable 00 Proprietary ID...

Page 78: ...substitution transmission Disable 00 Keyboard wedge USB 01 RS 232 02 Keyboard wedge USB RS 232 03 All non printable character string transmission with string setting Disable 00 Enable 01 Transmit the...

Page 79: ...Num Command name Operation code Description 1 CMD_ACK 0x59 Y ACK 2 CMD_NAK 0x4E N NAK 3 DECODE_DATA 0x50 P Packet Decode data 4 REQUEST_REVISION 0x56 V Request scanner software revision 5 REPLY_REVISI...

Page 80: ...e is 0xFF Opcode 1 byte See table 4 1 for details Identifies the command being sent Status Bit0 Retransmit 0 First time packet is sent 1 Subsequent transmission attempts Bit5 1 Parameter property use...

Page 81: ...s apply If the data to be sent is in response to a command e g REQUEST_REVISION CMD_ACK message is not in need When ACK NAK handshaking is disabled the CMD_ACK message will not be sent It is not neces...

Page 82: ...ction If the scanner does not receive an ACK within this time period it sends the previous message again The scanner retries twice more with the retransmit status bit set before declaring a transmit e...

Page 83: ...y the scanner is executing a command Bit 1 NAK_RESEND Checksum failure Bit 2 NAK_BAD_CONTEXT Unexpected or Unknown message Bit 3 NAK_DENIED Bit 4 Reserved Bit 5 Reserved Bit 6 NAK_NO_PARA the paramete...

Page 84: ...orted NAK types NAK Type Meaning Receiver Action NAK_RESEND Checksum incorrect Ensure checksum is correct Limit number of resends Send packet again with resend bit set with the retransmit status bit s...

Page 85: ...nt in ASCII format Checksum 2 s complement sum of message contents excluding checksum 2 Bytes Checksum of message The scanner uses this opcode when data packet is selected to send decoded barcode data...

Page 86: ...6 Unused Bit 7 Command source 1 Byte Bit 0 Identifies the transmission status Bit 7 1 Command is from the host 0 Command is from the scanner All unused bits must be set to 0 Checksum 2 s complement su...

Page 87: ...bits must be set to 0 Revision ASCII data variable Software revision in ASCII see following for details Checksum 2 s complement sum of message contents excluding checksum 2 Bytes Checksum of message...

Page 88: ...e Bit 0 Identifies the transmission status Bit 7 1 Command is from the host 0 Command is from the scanner All unused bits must be set to 0 Checksum 2 s complement sum of message contents excluding che...

Page 89: ...Command source 1 Byte Bit 0 Identifies the transmission status Bit 7 1 Command is from the host 0 Command is from the scanner All unused bits must be set to 0 Checksum 2 s complement sum of message co...

Page 90: ...Byte 0 255 0 Default setting 0 Mindeo standard 1 Default setting 1 2 Default setting 2 others Reserved Checksum 2 s complement sum of message contents excluding checksum 2 Bytes Checksum of message Fo...

Page 91: ...um value of the parameter 2 Query permanent setting value of the parameter 3 Query temporary setting value of the parameter 4 Query the default value of the parameter 5 15 Reserved Bit 6 Reserved to b...

Page 92: ...ll requested parameters supported and their values The programmable Host Serial Response Time out can be exceeded when processing this message depending on the time out set and the number of parameter...

Page 93: ...smit Bit 5 1 Query property of the parameter Bit 6 Change Type Bit 7 Command source 1 Byte Bit0 Identifies the transmission status Bit5 1 Property of the parameter 0 Max value 1 Min value 2 Permanent...

Page 94: ...re the Change Type bit bit 6 of the Status byte in the Status field is set as desired Scanner Requirements When the scanner receives a PARAM_SEND it interprets and stores the parameters then ACKs the...

Page 95: ...requested values is supported the scanner responds to the host with NAK When the scanner sends PARAM_SEND message the Change Type bit bit 6 of Status byte can be ignored Figure 4 2 Host queries scann...

Page 96: ...data 2 data 3 then the scanner starts to upgrade its LOADER or APPLICATION by the upgrade software Checksum 2 s complement sum of message contents excluding checksum 2 Bytes Checksum of message For e...

Page 97: ...it0 Retransmit Bit7 Command source 1 Byte Bit0 Identifies the transmission status Bit7 1 Command source Checksum 2 s complement sum of message contents excluding checksum 2 Bytes Checksum of message F...

Page 98: ...abled the scanner responds with ACK or NAK and then start to decode when it receives the GOOD_READ_START command Otherwise the scanner will start to decode directly If decodes successfully the scanner...

Page 99: ...sends GOOD_READ_STOP command to the scanner to stop executing GOOD_READ_START command Scanner Requirements If ACK NAK handshaking is enabled the scanner responds with ACK or NAK and then stops decodin...

Page 100: ...ta transmitted in packet format the host can accurately separate from the received data 1 response information 2 information about transmitted data originally RXD Host TXD TXD Host RXD 1 3 5 2 4 1 The...

Page 101: ...and language and the CAPS LOCK key is in the correct state 3 Problem Laser comes on but the scanner does not decode Possible causes and possible solutions 1 Barcode symbol is unreadable Check the symb...

Page 102: ...nning accuracy 1 Do not allow any abrasive material to touch the window 2 Remove any dirt particles with a damp cloth 3 Wipe the window using a tissue moistened with water 4 Do not spray water or othe...

Page 103: ...de is different 2 If using CODESOFT software firstly read the information through Help Index Code128 Special input syntax Also refer to ASCII table For example if we wish to make F1 barcode select cod...

Page 104: ...F9 HT EM A F10 LF SUB B Home Esc VT ESC C End F11 FF FS D Enter F12 CR GS E Insert Ctrl SO RS F Delete Alt SI US Note the second and third columns are just used for USB interface in above table H L 2...

Page 105: ...Test symbols UPC A UPC E UPC E1 EAN 13 ISBN ISSN EAN 8 Code 39 Code 32 A908765439 Trioptic Code 39 Default setting Disable Interleaved 2 of 5 Industrial 2 of 5 Default setting Disable Matrix 2 of 5 Co...

Page 106: ...ntinue Code 128 UCC EAN 128 ISBT 128 Code 93 Code 11 Default setting Disable MSI Plessey Default setting Disable UK Plessey China Post Telepen GS1 DataBar GS1 DataBar Truncated GS1 DataBar Limited GS1...

Page 107: ...itialization If you wish to return the scanner to all the factory default settings scan the barcode above Note the default setting barcode has no influence on the scanning mode setting Firmware versio...

Page 108: ...102 11 Configuration alphanumeric entry barcode To finish parameter setting please scan the bar code below...

Reviews: