background image

 

11 

3-3 Operate the scanner by receiving command via UART 

Note:   
1-  The information in this chapter is provided for the scanner with RS232 cable or USB cable.   
2-  If the scanner is with USB cable, the setting of USB device type must be set as 

USB virtual COM

Please refer t

3-6 USB interface

. 

3-  Please read 

3-7 Scan mode & some global settings

 about the setting of Scan mode in details. 

 
UART parameter should be set as below: 
(1)  Baud rate: 9600 bps;   
(2)  Data bits: 8 bits; 
(3)  Stop bit: 1 bit;   
(4)  Parity check bit: None;   
(5)  Flow control: None. 

 

Guide of control command: all commands are sent by UART

 

1) Start command: 

0x16 0x54 0x0D

   

When the scanner received the above command, it will start barcode scanning following the setting of 

Scan mode.   

2) Stop command: 

0x16 0x55 0x0D

   

If  the  Scan  mode  is  set  as 

Alternate  continue

  or 

Continue

,  and  the  scanner  received  the  above 

command, it will stop barcode scanning and act as in an idle mode. 
 
 

Summary of Contents for AS-1320

Page 1: ...AS 1320 Handheld Image Scanner User Manual Version AS 1320_UM_EN_V1 1 3...

Page 2: ......

Page 3: ...d to the user is on a licensed basis 2 The right is reserved to make changes to any software or product to improve reliability function or design 3 The material in this manual is subject to change wit...

Page 4: ...ii...

Page 5: ...ion and decode aiming pattern 26 3 10 Other settings 28 Note 1 The instruction of calibrating the aimer in vertical centering direction 30 Note 2 Scan barcode or send command to enter upgrade mode 31...

Page 6: ...4 Maintenance 84 5 Barcode representing non printable character 85 6 ASCII Table 86 7 Test barcode 87 8 Return default parameters list firmware version 90 9 Configuration alphanumeric entry barcode 9...

Page 7: ...of 5 Industrial 2 of 5 Discrete 2 of 5 Matrix 2 of 5 Codabar NW7 Code 128 UCC EAN 128 ISBT 128 Code 93 Code 11 USD 8 MSI Plessey UK Plessey China Post China Finance Telepen GS1 DataBar formerly RSS v...

Page 8: ...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 T Im China Finance 10 2 Y GS1 DataBar 16 2 R em GS1 DataBar Trun...

Page 9: ...3 2 Get started 2 1 Dimensions...

Page 10: ...4 2 2 Parts of the scanner Figure 2 1 LED Beeper Scan window Trigger Release hole of the cable Cable interface port...

Page 11: ...are for reference only Table 2 1 Cable connector pin outs descriptions Pin RS232 USB 1 Power 5V Power 5V 2 Reserved Reserved 3 Ground Ground 4 3 3V for interface auto selection purpose Ground for int...

Page 12: ...ect the USB interface cable to the bottom of the scanner 2 Plug the series A connector in the USB host or an available port of the terminal 3 Windows will automatically detect the USB device Figure 2...

Page 13: ...stallation of cable Figure 2 5 Remove the interface cable 1 Find the release hole 2 Insert a thin wire into the hole and pull out the cable gently 2 5 Assembling the stand Note The stand is an optiona...

Page 14: ...ensure that the scan angle from the scan window can cover the symbol 2 Upon successful decode the scanner beeps and the LED lights 3 When the scanner stops scanning the present bar code must be remove...

Page 15: ...ropriate Single scan setting e g 0101D00 according to the user s demand Example To set Flow control to be XON XOFF Steps Scan the following barcode Multiple scan setting Step 1 Scan the Option barcode...

Page 16: ...string with various length of 2 4 or other values Example Set 0401 03 decimal 8002 0D0A hexadecimal 8202 01 decimal The customized QR code barcode contents and symbol are as following 0401D03 8002H0D0...

Page 17: ...ng of Scan mode in details UART parameter should be set as below 1 Baud rate 9600 bps 2 Data bits 8 bits 3 Stop bit 1 bit 4 Parity check bit None 5 Flow control None Guide of control command all comma...

Page 18: ...propriate cable provided by the manufacturer will work for a specific interface Interface selection Auto detection By setting this function the scanner will automatically detect the RS 232 interface o...

Page 19: ...is no replied CTS signal from the host computer after the timeout duration the scanner will issue an error indication By setting Host idle Low RTS or Host idle High RTS the scanner can be set to matc...

Page 20: ...ndard 00 OPOS JPOS 01 Flow control None 00 RTS CTS Host idle Low RTS 01 RTS CTS Host idle High RTS 02 XON XOFF 03 ACK NAK 04 Inter character delay 0 ms 00 5 ms 01 10 ms 02 20 ms 03 40 ms 04 80 ms 05 R...

Page 21: ...ltiple scan setting Single scan setting Option barcode Option Alpha entry 19200 06 38400 07 57600 08 115200 09 Parity bit None 00 Odd 01 Even 02 Data bit 8 bits 00 7 bits 01 Stop bit One bit 00 Two bi...

Page 22: ...le with the manufacturer s scanner The OPOS JPOS driver is provided by the scanner manufacturer please contact the scanner manufacturer for the instruction Keyboard layout The scanner supports differe...

Page 23: ...yboard 00 HID keyboard for Apple Mac 01 USB virtual COM 02 Simple COM Port Emulation 03 HID for OPOS JPOS 04 Keyboard layout USA 00 Turkish F 01 Turkish Q 02 French 03 Italian 04 Spanish 05 Slovak 06...

Page 24: ...global settings Inter character delay 0 ms 00 5 ms 01 10 ms 02 20 ms 03 40 ms 04 60 ms 05 Numeric key Alphabetic key 00 Numeric keypad 01 Alt keypad 02 GBK 03 BIGS 04 TAIBUN 05 USB function code Outpu...

Page 25: ...d and output successfully the optics module s lights must be off or moved away from the barcode beyond delay time to active a next scanning on the same barcode Double confirm If it is enabled the scan...

Page 26: ...put before next decode attempt This setting is active only when USB device type is set as HID keyboard or HID keyboard for Apple Mac refer to 3 6 USB interface If it is enabled the scanner will not st...

Page 27: ...ion Good read on 06 Auto detection Good read off 07 Barcode detection Disable 00 Enable 01 Barcode detection delay Always detection 00 5 seconds 01 10 seconds 02 30 seconds 03 60 seconds 04 Never dete...

Page 28: ...14 1 hour 15 Same barcode delay time for 1D symbol 00 FF16 50 ms 00 FF16 00 08 Same barcode delay time for 2D symbol 00 FF16 50 ms 00 FF16 00 08 Double confirm 00 09 00 no 00 09 00 Global max code len...

Page 29: ...optimization Disable 00 Enable 01 Data output delay in continue scan mode 00 99 100 ms FF Never 00 FF16 00 Character encoding system ASCII 00 UTF 8 01 Windows 1251 02 Simplified Chinese 03 Traditional...

Page 30: ...gle scan setting Option barcode Option Alpha entry 10 seconds 02 30 seconds 03 60 seconds 1 minute 04 300 seconds 5 minutes 05 600 seconds 10 minutes 06 1800 seconds 30 minutes 07 3600 seconds 1 hour...

Page 31: ...cate a good barcode reading and its beep tone duration is adjustable Beep tone duration This parameter can be adjusted for a good reading upon favorite usage Volume of beeper This parameter can be adj...

Page 32: ...is option is enabled the scanner will project the aiming pattern during the code capture Level of decode illumination This parameter can be adjusted for different level of decode illumination Illumina...

Page 33: ...n 01 Flashing 02 Always On when reading 03 Decode aiming pattern Always Off 00 Always On 01 On before reading 02 On when reading 03 Level of decode illumination Disable decode illumination 00 Low 01 M...

Page 34: ...setting Enable the scanner reads only the barcode centered by the aimer in vertical direction However the scanner will read either one of two barcodes which are positioned horizontally See example bel...

Page 35: ...ol setting 00 All 1D OFF 01 2D symbols read Follow respective 2D symbol setting 00 All 2D OFF 01 All 2D ON 02 Only PDF417 ON 03 Only QR code ON 04 Only Data Matrix ON 05 Only MaxiCode ON 06 Only Aztec...

Page 36: ...maintaining the distance of about 15cm between the scan window of the scanner and this paper After a few seconds the scanner will give three short beeps to indicate a successful calibration or a long...

Page 37: ...n barcode or send command to enter upgrade mode Scan barcode to enter upgrade mode Send command to enter upgrade mode Send command 0x16 0x4D 0x0D 0x25 0x4E 0x4D 0x55 0x47 0x44 0x2E by USB virtual COM...

Page 38: ...fer to Global insertion group selection of 3 7 Scan mode some global settings Supplement digits The Supplement digits barcode is the supplemental 2 or 5 characters Format System character Data digits...

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

Page 40: ...nsertion group selection of 3 11 UPC A Supplement digits Format System character 0 Data digits 6 digits Check digit Supplement digits 2 or 5 Truncation Expansion Truncate leading zeros Refer to Trunca...

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

Page 42: ...tting of 3 11 UPC A Insertion group selection Refer to Insertion group selection of 3 11 UPC A Supplement digits Format System character 1 Data digits 5 digits Check digit Supplement digits 2 or 5 Tru...

Page 43: ...verification Disable 00 Enable 01 Check digit trans Disable 00 Enable 01 Code ID setting 00 FF16 ASCII 00 FF16 D Insert group selection 00 44 00 44 00 Supplement digits None 00 2 digits 01 5 digits 0...

Page 44: ...to Insertion group selection of 3 11 UPC A Supplement digits Format Data digits 12 digits Check digit Supplement digits 2 or 5 ISBN ISSN conversion The ISBN International Standard Book Number or Bookl...

Page 45: ...ification Disable 00 Enable 01 Check digit transmission Disable 00 Enable 01 EAN 13 code ID setting 00 FF16 00 FF16 ASCII A Insert group selection 00 44 00 44 00 Supplement digits None 00 2 digits 01...

Page 46: ...e data digits Check digit trans By setting Enable check digit will be transmitted Code ID setting Refer to Code ID setting of 3 11 UPC A Insertion group selection Refer to Insertion group selection of...

Page 47: ...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 44 00 44 00 Supplement digits None 00 2 digits 0...

Page 48: ...ength barcode decoded Code ID setting Refer to Code ID setting of 3 11 UPC A Insertion group selection Refer to Insertion group selection of 3 11 UPC A Start End transmission The start and end charact...

Page 49: ...Check digit transmission Disable 00 Enable 01 Max code length 00 99 00 99 99 Min code length 00 99 00 99 01 Code ID setting 00 FF16 ASCII 00 FF16 M Insert group selection 00 44 00 44 00 Format Standa...

Page 50: ...setting Single scan setting Option barcode Option Alpha entry Code 32 Prefix A transmission Disable 00 Enable 01 Trioptic Code 39 read Disable 00 Enable 01 Trioptic Code 39 Start End transmission Disa...

Page 51: ...are two optional check digit algorithms the specified Uniform Symbol Specification USS and the Optical Product Code Council OPCC Check digit transmission By setting Enable check digit will be transmi...

Page 52: ...a 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 99 Min code length 00 99 00 99 06 Code ID...

Page 53: ...Refer to Code ID setting of 3 11 UPC A Insertion group selection Refer to Insertion group selection of 3 11 UPC A Multiple scan setting Single scan setting Option barcode Option Alpha entry Read Disab...

Page 54: ...Min code length of 3 16 Code 39 Code ID setting Refer to Code ID setting of 3 11 UPC A Insertion group selection Refer to Insertion group selection of 3 11 UPC A Multiple scan setting Single scan set...

Page 55: ...C 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 transmission of 3 16 Code 39 Start End charac...

Page 56: ...tiple scan setting Single scan setting Option barcode Option Alpha entry abcd abcd 01 ABCD TN E 02 abcd tn e 03 Start End transmission Disable 00 Enable 01 Start End character equality Disable 00 Enab...

Page 57: ...ansmission By setting Enable check digit will be transmitted Max Min code length Refer to Max Min code length of 3 16 Code 39 Code ID setting Refer to Code ID setting of 3 11 UPC A Insertion group sel...

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

Page 59: ...ata digits Check digit transmission By setting Enable check digit will be transmitted Max Min code length Refer to Max Min code length of 3 16 Code 39 Code ID setting Refer to Code ID setting of 3 11...

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

Page 61: ...th of 3 16 Code 39 Code ID setting Refer to Code ID setting of 3 11 UPC A Insertion group selection Refer to Insertion group selection of 3 11 UPC A Multiple scan setting Single scan setting Option ba...

Page 62: ...in code length of 3 16 Code 39 Code ID setting Refer to Code ID setting of 3 11 UPC A Insertion group selection Refer to Insertion group selection of 3 11 UPC A Multiple scan setting Single scan setti...

Page 63: ...e 11 of all data digits Check digit transmission By setting Enable check digit 1 and check digit 2 will be transmitted upon your selected check digit verification method Max Min code length Refer to M...

Page 64: ...d Disable 00 Enable 01 Check digit verification Disable 00 One digit 01 Reserved 02 Reserved 03 Check digit transmission Disable 00 Enable 01 Max code length 00 99 00 99 99 Min code length 00 99 00 99...

Page 65: ...Mod 10 11 The 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 transm...

Page 66: ...0 Enable 01 Check digit verification Disable 00 1 digit Mod 10 01 2 digit Mod 10 10 02 2 digit Mod 10 11 03 Check digit transmission Disable 00 Enable 01 Max code length 00 99 00 99 99 Min code length...

Page 67: ...Max Min code length Refer to Max Min code length of 3 16 Code 39 Code ID setting Refer to Code ID setting of 3 11 UPC A Insertion group selection Refer to Insertion group selection of 3 11 UPC A Multi...

Page 68: ...ing Refer to Code ID setting of 3 11 UPC A Insertion group selection Refer to Insertion group selection of 3 11 UPC A Multiple scan setting Single scan setting Option barcode Option Alpha entry Read D...

Page 69: ...to A B C D E By setting leading character 5 6 7 8 9 can be 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 se...

Page 70: ...06 Leading character assignment Disable 00 Assigned to 0 01 Assigned to 5 A 02 Assigned to 6 B 03 Assigned to 7 C 04 Assigned to 8 D 05 Assigned to 9 E 06 Assigned to 1 07 Assigned to 2 08 Assigned to...

Page 71: ...UPC A Conversion UCC EAN 128 Refer to Code ID transmission of 3 41 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...

Page 72: ...Insertion group selection of 3 11 UPC A Conversion Refer to Conversion of 3 30 GS1 DataBar GS1 DataBar Truncated Multiple scan setting Single scan setting Option barcode Option Alpha entry Read Disabl...

Page 73: ...C A Conversion UCC EAN 128 Refer to Code ID transmission of 3 41 String transmission Cm will be identified as AIM ID Multiple scan setting Single scan setting Option barcode Option Alpha entry Read Di...

Page 74: ...68 3 33 PDF417 Read Format Data characters variable Multiple scan setting Single scan setting Option barcode Option Alpha entry Read Disable 00 Enable 01...

Page 75: ...Code Note The support for this feature is available with customized firmware version Read Format Data digits variable Multiple scan setting Single scan setting Option barcode Option Alpha entry Read D...

Page 76: ...70 3 35 QR Code Read Format Data characters variable Multiple scan setting Single scan setting Option barcode Option Alpha entry Read Disable 00 Enable 01...

Page 77: ...de Note The support for this feature is available with customized firmware version Read Format Data digits variable Multiple scan setting Single scan setting Option barcode Option Alpha entry Read Dis...

Page 78: ...72 3 37 Data Matrix Read Format Data characters variable Multiple scan setting Single scan setting Option barcode Option Alpha entry Read Disable 00 Enable 01...

Page 79: ...de Note The support for this feature is available with customized firmware version Read Format Data digits variable Multiple scan setting Single scan setting Option barcode Option Alpha entry Read Dis...

Page 80: ...74 3 39 Aztec Code Read Format Data digits variable Multiple scan setting Single scan setting Option barcode Option Alpha entry Read Disable 00 Enable 01...

Page 81: ...Add a symbol of as a prefix for all symbols Steps 1 Scan the option barcode of Prefix string setting 2 Use the ASCII table to find the value of 24 3 Scan 2 and 4 from the barcode on the last page 4 S...

Page 82: ...3 4 5 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 def...

Page 83: ...characters to replace is 11 Example Replace all the A character in a data string with B character replace C with D replace E with F Original code data 1 2 3 A 4 C 5 6 E 7 8 Output code data 1 2 3 B 4...

Page 84: ...tting 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 setting 0 22 characters 00 FF16...

Page 85: ...cate 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 Un defined times All FF Single character C1 re...

Page 86: ...insertion 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 Multiple scan se...

Page 87: ...gth of code data string can be transmitted before the code data when Enable is selected Case conversion The characters within code data or the whole output string can be set in either upper case or lo...

Page 88: ...nsmission Disable 00 Enable 01 Preamble transmission Disable 00 Enable 01 Postamble transmission Disable 00 Enable 01 Code ID transmission Disable 00 Proprietary ID 01 AIM ID 02 Code length transmissi...

Page 89: ...rcode Option Alpha entry USB 01 RS 232 02 USB RS 232 03 All non printable character string transmission with string setting Disable 00 Enable 01 Transmit the first N data characters only All 99 01 99...

Page 90: ...ning 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 other...

Page 91: ...ode 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 Co...

Page 92: ...8 BS CAN 9 Tab 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 Notes The 2nd and the 3rd columns above are used for keyboard wedge only...

Page 93: ...87 7 Test barcode UPC A UPC E UPC E1 Default setting Disable EAN 13 ISBN ISSN EAN 8 Code 39 Interleaved 2 of 5 Industrial 2 of 5 Default setting Disable Matrix 2 of 5...

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

Page 95: ...z QR code 1234567890ABCD XYZ Data Matrix 123890abc mdo Aztec Code Default setting Disable 12345678901234567890 Han Xin Code Default setting Disable 1234567890Hanxin Micro QR Code Default setting Disab...

Page 96: ...firmware version WARNING Default value initialization If you wish to return the scanner to all the factory default settings scan the barcode above Firmware version list If you wish to display the firm...

Page 97: ...91 9 Configuration alphanumeric entry barcode To finish parameter setting please scan the bar code below...

Reviews: