Hand Held Scanner User’s Manual Date : January, 2000 Version : 3.
CHAPTER 1 OVERVIEW ............................................................... 3 CHAPTER 2 KEYBOARD INTERFACE ....................................... 4 2.1 INSTALLATION ................................................................................... 4 2.2 INSTALLED ON PC/AT WITHOUT KEYBOARD ........................................ 5 2.3 INSTALLED ON MACINTOSH ................................................................ 5 2.4 INSTALLED AS AN USB INTERFACE ..........................................
7.3.3. Programming Sheet ................................................................. 23 7.3.4. Parameter Entry ...................................................................... 23 7.4. QUALIFIER ...................................................................................... 24 7.4.1. Input ID................................................................................... 24 7.4.2. Length: .................................................................................... 25 7.4.3.
Chapter 1 Overview First of all, thank you for choosing Unitech’s products. This decoder build-in scanner comes in one model and supports interfaces such as keyboard wedge, RS232 serial wedge, RS232 terminal wedge, wand emulation, and the latest USB interface. In most of the cases, simply selecting an appropriate cable with a device code will work for a specific interface. As a keyboard interface, the scanner supports most of the popular PCs and IBM terminals.
Chapter 2 Keyboard Interface As a keyboard Interface, the scanner is actually installed between PC (or terminal) and keyboard. See Figure 1 for reference. The scanner sends data to the host device by emulating the keyboard signals input and acts like an extension of the keyboard. 2.1 Installation This scanner can be installed easily by following the installation guide illustrated below. Before you start the installation, locate a “Y” type cable in the package.
7) If nothing happens at step 6, check all cable connections first and make sure your PC or terminal has been powered. Contact technical support if problem remains after these checking. 8) Unless the scanner has been prior installed for the PC/terminal, user may have to select a proper device number from Group 1 of Appendix D. 9) The Default setting of this scanner is IBM PC/AT and PS/2. If you like to make sure that you have the right selection, you may scan the following label, PC AT[PS/2] 2.
2.4 Installed as an USB Interface You can install the scanner with the USB interface cable to work with either PC or iMac USB port. See Figure 1.1 for reference. Your operating system may require the original setup CD to install the driver with initial setup. PC or iMAC SCANNER USB Interface Cable USB Connector Modular Connector Keyboard Figure 1.1.
your scanning speed, a longer interblock delay may ensure the data integrity. Function Code The scanner can emulate function and other special keys on the keyboard by scanning some pre-defined labels. Appendix B includes those labels for special keys on PC, Macintosh, and IBM terminals. As an option, you may also print these labels by printing their corresponding Code 39 characters (in brackets) to work with scanner.
Chapter 3 3.1 RS232 Serial Interface Installation To use the scanner as a RS232 serial interface, a RS232 interface cable and a power adapter are required. See Chapter 8 for cable pinout and adapter specification. Figure 2 shows an installation diagram for your reference. Installation procedures: 1) Make sure the scanner’s cable has the right connector and pinout for the RS232 port of the host device. If the pinout is different from device, swapping pins is necessary to achieve proper communication.
3.2 Understanding the Operating Parameters Device Type You will need to select the device type to “Serial Interface” from Appendix A, Group 1 of Appendix D, or the following label. Serial Interface Baud Rate, Parity and Data Bit: These parameters set the scanner’s communication protocol that must be matched by the host. The default setting for the serial interface is 9600 baud rate, none parity, and 8 data bit. * Baud Rate can be 300, 600, 1200, 2400, 4800, 9600, 19200, or 38400 bps.
BCC Character: BCC check character is calculated for entire data stream by using “Exclusive OR ” method. It is sent after data stream for data verification. Time Out: You can adjust the Time Out duration for handshaking and ACK/NAK protocol to fit applications. 3.3 Serial TTL This scanner supports serial TTL interface which follows the RS232 communication data format but with TTL voltage output ranged from 0V to 5V.
Chapter 4 4.1 Terminal Interface Installation To install the scanner as a terminal interface, you need a DB25 RS232 cable, a terminal wedge “Y” cable and an AC adapter. See Figure 3 for reference. Original Cable Terminal male female "Y" Cable SCANNER Host AC adaptor RS232 Cable Figure 3. Installing as a Terminal Wedge Installation procedures: 1) Power off the terminal and unplug the communication cable at terminal side. 2) Install the interface cable as shown in Figure 3.
4) If the scanner has not been configured yet, you need to select “Terminal Wedge” device number from Appendix A, Group 1 of Appendix D, or the following label. Terminal Wedge 4.2 Understanding the Operating Parameters Baud Rate, Parity and Data Bit: These parameters set the scanner’s communication protocol which must be matched the same setting by the host. The default setting for the terminal interface is 9600 baud rate, none parity, and 8 data bit.
Chapter 5 5.1 Wand Emulation Installation Figure 4 shows how a wand emulation scanner is installed to a data collection terminal. User needs to pay attention to the scanner pinout that should be the same as specified by the terminal. SCANNER Figure 4. Installed as a Wand Emulation Scanner 5.2 Understanding the Operating Parameters Code 39 Output: When device number “07” is selected, the scanner is set as wand emulation with Code 39 output.
Output of Wand Emulation: (Appendix D, 3) Select one of the two choices for the polarity of data output: * High level for bar (black) and low level for space (white). * High level for space (white) and low level for bar (black). Level Duration of Minimum Width: (Appendix D, 3) Determine the minimum time duration for bar or space either 200 us or 600 us. Longer time means slower movement of the wand scanner.
Chapter 6 Setup The scanner interface can be configured to fit the user's specific application. All configuration parameters are stored in a non-volatile memory, which is retained even if power is lost. 6.1 Bar Code Menu Setup The setup menu in Appendix D contains eight groups: * Group 1: Device selection. * Group 2: Beep and delay. * Group 3: Keyboard and Wand Emulation. * Group 4: RS-232 Settings * Group 5: Scanner port. * Group 7: Code 39, I 2 of 5, S 2 of 5 and Code 32.
6.1.2 Bar Code Length Setting: The following example illustrates how to set Code 39 with a minimum length of 5 and a maximum length of 20: * Scan “Enter Group 5”. * Scan “F1” to select Code 39. * Scan “MIN LENGTH” to enter minimum length setting. * Scan “0” and “5” to select length 5. * Scan “MIN LENGTH” to end minimum length setting. * Scan “MAX LENGTH” to enter maximum length setting. * Scan “2” and “0” to select length 20. * Scan “MAX LENGTH” to end maximum length setting. * Scan “Exit” to end setup. 6.
Those ID characters can be redefined through setup menu. The following example shows how to set Code 93 with ID ‘O’ and Code 128 without ID: * Scan “Enter Group 3”. * Scan “D2” to select Code ID. * Scan “1” for "Yes". * Scan “D3” to define IDs. * Scan “0” and “9” for selecting Code 93. * Scan “O” from Full ASCII Table for new ID. * Scan “0” and "8" to select Code 128. * Scan “NULL” character from Full ASCII Table for none ID. * Scan “Exit” to end setup. 6.1.
Here is an example how to define the output of “Label 0” as “START”, “Label 1” as “ACCEPT” and “Label 2” as “END”: * Scan “Enter Group 3” * Scan “B7” * Scan “0” to define “Label 0” * Scan “S”, “T”, “A”, “R” and “T” from Full ASCII chart * Scan “B7” to end “Label 0” * Scan “1” to define “Label 1” * Scan “A”, “C”, “C”, “E”, “P” and “T” from FULL ASCII chart * Scan “B7” to end “Label 1” * Scan “2” to define “Label 2” * Scan “E”, “N” and “D” from Full ASCII chart * Scan “B7” to end “Label 2” * Scan “Exit” to qu
The following label is called “Dump Settings” label. Before you scan the label, please open a text editor application(such like, Notepad, Word, etc..) Scan the following label, the settings of the scanner will dump to the screen as one or several ASCII string(s). Use any barcode printing software, select Code 39 symbology, and use the string(s) to generate bar code labels. You use this batch setup labels to duplicate setting to the other scanners.
• The following issues should be observed: The sequence of the strings that the scanner dumped is important. You have to print the bar code labels and scan them in the same sequence as the one that the scanner dumped. • When you scan the batch setup labels to configure a scanner, the previous settings on that scanner are reset to default and then replaced by the settings contained in the batch labels. • Only the settings that are different from the default values will be dumped.
Chapter 7 Output Data Editing The function described here can be replaced by the “Pre-defined Labels” function in 6.1.5 Predefined Labels. So if data-editing function is defined, “Pre-defined Labels” will be removed. They can not be defined at the same time. 7.1. General The purpose of Data Edit is allowing you to define and modify a data record that comes from decoding of a bar code. By using combination of formulas, you can perform the following functions on the data received by the scanner: A.
Formular Qualifier Input ID [Length] Modifier [Match] Input ID [Length] [Match] [Match] ... [Match] A-String: String to be added. O-String: Modified original data. [] : Optional. Figure 7.1 Formula Structure 7.3. Programming 7.3.1. Programming Sequence: Each Formula is entered into the Reader by the following sequence: Input_ID>>Length>>Match>>A-String>>O-String>>...>>O-String >>Enter A Formula starts with Input_ID and ends with “Enter”(a label in programming sheet).
7.3.3. Programming Sheet The bold and italicized characters in following sections mean a barcode label on the Programming Sheet. Enter Group 10 Group Default Review Backspace , " * # Enter 0 to 9 IN_ID LEN MATCH O-STR + Exit Scan this label to start the formula input. Erase all formulas. To see the formulas programmed in the Wedge. If scanning this label during a formula input (without finished by scanning “Enter”), the current formula will be displayed.
b) String Parameters A string is a set of characters, wild characters, or sequence of adjacent characters enclosed in double quotation marks, which are on the Programming Sheet. For example: "A*B# " Here * and # are wild characters on the setup sheet. 7.4. Qualifier There are three conditional fields in the Qualifier: Input ID, Length and Match. 7.4.1. Input ID Format: IN_ID,ID1, ... ,IDi, Input ID is required and the original data record must correspond to Input ID of a formula in order to be processed.
7.4.2. Length: Format: LEN,Min,Max, Length field consists of two length parameters: minimum length (Min) and maximum length (Max). When defined, a formula will be performed if the length of the original data falls between MIN and MAX When missing, the following fields of current Formula are always processed. Example: LEN,9,48, means the length of original data must be within 9 and 48. 7.4.3. Match Format: MATCH, P0 ,"C0" ,P1, "C1" ,...
Checks if the original data has 'A' at position 3, 'B' at position '4' and last character is '?'. MATCH , 10 , " *A*", Checks if the original data includes a string with a digit as first character and "A*" followed at position 10. 7.5. Modifier Modifier has two types of fields: A-String and O-String to define the output contents. 7.5.1. A-String Format: "abc..." 'a', 'b' and 'c' in the string can be any character. A-String defines a string of characters to be added to the output.
-- If N greater than the number of remaining characters counting from P, the remaining characters are included as valid. 7.6. Examples 7.6.1. Example 1 If the original data is Code 39 and content is "AA", output "ABC Company", and otherwise output the original data as it is. IN_ID,0,LEN,2,2,MATCH,1,"AA","ABC company",Enter IN_ID,19,O-STR,1,#,Enter 7.6.2. Example 2 If the original data is Code 128 and logically divided into: -- First six characters are personal ID, -- Other characters are person's name.
-- From the position next to 'i', search for k. -- If above searches are all found, the result of the parameter will be the position where 'k' is located. If N is a string, the position evaluation of N is the same as P except that the searching position is starting from P+1. For both P and N, if string is defined, a value can be added to or subtracted from the position. That following O-Strings: "ab...ik"+M, And "ab...ik"-M, Are meaningful. M is a integer number.
Chapter 8 8.1 Pin Assignment and Specification Pin Assignments 10 The modular connector located at the bottom of the scanner handle has the pin numbering as shown at the right picture 1 Modular Connector ( Front View) 8.1.1.
TTL RS232 Interface: The following table shows pinout for TTL RS232 interface at modular connector: Pin Number Signal 1 2 3 4 5 6 7 8 9 10 Not Used VCC(+5V, output) DET GND RXD TXD Power Input (+5V) CTS RTS Not Used Note: (1) DET signal is bi-directional I/O pin and for internal use only. (2) CTS and RXD are input signals and take 0V to 5V only. If the scanner is used to interface with a standard RS232 port, those signals should not be connected.
5 1 6 9 DB9 Female (Front View) Pin Number Signal 2 3 5 7 8 9 TXD RXD GND CTS RTS VCC 8.1.3. Terminal Interface To use the scanner as a terminal Interface, an “Y” cable is used. One end of this cable is connected to the standard RS232 adapter cable shown above and the other two are for the host and terminal.
Terminal Side connector The connector for the terminal is a DB25 male and has following pinout: 1 13 14 25 DB25 Male (Front View) Pin Number Signal 2 3 4 5 6 7 8 20 RXD TXD CTS RTS DTR GND CD DSR 8.1.4.
On the other end of the wand emulation cable is a squeeze released DB9 female connector. The pinout for this connector is: Pin Number 1 2 3 4 5 6 7 8 9 8.2 Signal Not Used Bar Code Output Not Used Not Used Not Used Not Used GND Not Used Power Input Specification * Power: - Operating Voltage: * Temperature: - Operating: - Storage: * Humidity: - 0% to 95% relative humidity. +5V ±5% DC.
Appendix A. Quick Setup Sheet Device Type UPC-E PC AT[PS/2] Default PS/2 Cut Leading Digit Macintosh Send Check Digit USB UPC-A Conversion IBM Terminal Beep None Keyboardless Code39 Wand Emulation Medium Terminator Serial Interface Enter Terminal W edge Scanner Mode Field Exit Scan Code Trigger U.S. Flash Alt Key Page A.
Appendix A. Quick Setup Sheet EAN-8 Yes Default UPC-A Cut Leading Digit Default Cut Check Digit Cut Leading Digit EAN-13 Cut Check Digit Default Supplement Code Cut Leading Digit No Cut Check Digit ISBN Conversion Yes Menu Setup Enable / Disable Character Delay 1 ms Display Version Display Version 20 ms Code ID Factory Default No Factory Default Page A.
Appendix B. Function Codes Function Codes for PC F1 (%VA) F2 (%VB) F3 (%VC) F4 (%VD) F5 (%VE) F6 (%VF) F7 (%VG) F8 (%VH) F9 (%VI) F10 (%VJ) F11 (%VK) F12 (%VL) Cursor Right (/FC) Cursor Left (/FD) Cursor Up (/FE) Cursor Down (/FF) PgUp (/FG) PgDn (/FH) TAB (/FI) Back Tab (/FJ) Esc (/FK) Left Enter (/FL) Right Ctrl (/FO) Right Enter (/FM) Shift Make (/FP) Ins (/FW) Ctrl Make (/FQ) Shift Break (/FS) Alt Make (/FR) Ctrl Break (/FT) Del (/FX) Alt Break (/FU) Page B.
Function Codes for Macintosh F1 (%VA) F13 (%VM) Esc (/FK) F2 (%VB) F14 (%VN) Return (/FM) F3 (%VC) F15 (%VO) Option Make (%VP) F4 (%VD) Cursor Left (/FD) Option Break (%VQ) F5 (%VE) Cursor Right (/FC) Control Make (%VR) F6 (%VF) Cursor Down (/FF) Control Break (%VS) F7 (%VG) Cursor Up (/FE) F8 (%VH) Page down (/FH) F9 (%VI) Page up (/FG) F10 (%VJ) Ins (/FJ) F11 (%VK) Tab (/FI) F12 (%VL) Enter (/FL) Shift Make (%VT) Shift Break (%VU) Apple Make (%VV) Apple Break (%VW) Page
Appendix C. Function Codes for IBM Terminals F1 (%VA) F2 (%VB) F3 (%VC) F4 (%VD) F5 (%VE) F6 (%VF) F7 (%VG) F8 (%VH) F9 (%VI) F10 (%VJ) F11 (%VK) F12 (%VL) F13 (%VM) F14 (%VN) F15 (%VO) F16 (%VP) F17 (%VQ) F18 (%VR) F19 (%VS) F20 (%VT) F21 (%VU) F22 (%VV) F23 (%VW) F24 (%VX) Home (/FA) End (/FB) TAB (/FI) Enter (/FL) Return (/FM) Field Exit (/FO) Field + (/FP) Field - (/FQ) Clear(/FR) Reset (/FV) Page C.
Appendix D. Setup Menu D.1 Device Selection and Default: Enter Group 1 Device ID 0 1 2 3 Group Default Device Type . 00 – IBM PC/XT 01 – IBM PC/AT, PS/2 MOD 40, 60, 80, USB etc.
D.
D.3 Keyboard Wedge Settings Enter Group 3 Group Default Function Code: 0 0 -- Off 1 -- ON B1 Caps-Lock: 1 0 – Auto Trace(PC/XT,AT) 1 – Lower Case 2 – Upper Case B2 Language (For PC/XT/AT): 2 3 0-U.S. 1-U.K.
D.
D.5 Scanner Port: Enter Group 5 0 Group Default Terminator: 0—Enter 1—Return (on digits keypad) 2 —Field Exit or Right Ctrl 3—None Code ID: 0 – disable 1 – Enable Note: This setting doesn’t affect EAN128 Code ID. EAN128 has its own Code ID setting on page D.7.
D.6 Magnetic Reader Enter Group 6 Group Default Terminator 0 0—Enter 1—Return (on digits keypad) 2 —Field Exit or Right Ctrl 3—None E1 Start/Stop Sentinel 1 2 3 4 5 6 7 0—No Send 1—Send E2 Track Selection 0—All Tracks 2—Track1 & track3 4—Track 1 6—Track 3 1—Track1 & track2 3—Track2 & track3 5—Track 2 Track 2 Account Number Only 0—No 1—Yes Separator Character Scan a character from Full ASCII table. Default: None Output Data even other selected tracks may have some errors.
D.7 Code 39 / I 2 of 5 / S 2 of 5 / Code 32 / EAN128 Enter Group 7 Group Default Code 39: 0 1 2 3 4 0/1--Disable/Enable. 2/3--Full ASCII/ Standard. 4--Check Digit (CD) Calculate & Send. 5--CD Calculate, not send. 6 --CD not Calculate. 7/8 -- Send/No Send Start/Stop 0 - 48 -- Min length 0 / Max length 48 I 2 of 5 (ITF): 0/1--Disable/Enable 2/3--Fix Length On/Off ( by first three reads) 4--Check Digit (CD) Calculate & Send 5--CD Calculate, not send. 6--CD not Calculate 7--First Digit Suppressed.
D.
D.
D.10 Data Editing: Enter Group 10 0 1 2 3 4 5 6 7 8 Group Default Code Type: 0 -- Code 39 Full 12 -- EAN 128 1 -- Code 39 Std. 13 -- Code 32 2 -- EAN-13 14 -- Delta Code 3 -- UPC-A 15 – Label Code 4 -- EAN-8 16 – Plessey Code 5 -- UPC-E 17 -- Code 11(Special) 6 -- I 2 of 5 18 – China Postal Code 7 -- Codabar 19 – All Inputs 8 -- Code 128 9 -- Code 93 10 -- S 2 of 5 11 -- MSI Code Formula Format: Input ID: IN_ID, ID1, ..., IDi, Length: LEN, MIN, MAX, Match: MATCH, P1,S1, ...
D.11 Dump Setup Strings: See Section 6.3 for how to use the labels below. Dump Settings Dump Settings on PC/AT Page D.
Appendix E. Full ASCII Chart ( Characters in parentheses represent Code 39 bar code printing ) NUL (%U) LF ($J) DC4 ($T) SOH ($A) VT ($K) NAK ($U) STX ($B) FF ($L) SYN ($V) ETX ($C) CR ($M) ETB ($W) EOT ($D) SO ($N) CAN ($X) ENQ ($E) SI ($O) EM ($Y) ACK ($F) DLE ($P) SUB ($Z) BEL ($G) DC1 ($Q) ESC (%A) BS ($H) DC2 ($R) FS (%B) HT ($I) DC3 ($S) GS (%C) Page E.
RS (%D) ) (/I) 4 US (%E) * (/J) 5 + 6 ! (/A) , (/L) 7 ” (/B) - 8 # (/C) . 9 $ / : (/Z) % 0 ; (%F) & (/F) 1 < (%G) ’ (/G) 2 = (%H) ( (/H) 3 > (%I) SP Page E.
? (%J) J U @ (%V) K V A L W B M X C N Y D O Z E P [ (%K) F Q \ (%L) G R ] (%M) H S ^ (%N) I T _ (%O) Page E.
` (%W) k (+K) v (+V) a (+A) l (+L) w (+W) b (+B) m (+M) x (+X) c (+C) n (+N) y (+Y) d (+D) o (+O) z (+Z) e (+E) p (+P) { (%P) f (+F) q (+Q) | (%Q) g (+G) r (+R) } (%R) h (+H) s (+S) ~ (%S) i (+I) t (+T) DEL (%T) j (+J) u (+U) Page E.
Appendix F. Bar Code Test Chart EAN-13 Code 39 W+ E + D + G + E 3 045214 834123 EAN-8 Code 39 with C/D UNI T E C H- E 8012 3453 UPC-A 0 EAN 128 47669 13716 (01)054123456789(01)659344 Code 128 6 UPC-E 99 Unitech 128 0 123457 2 Codabar ISBN 957-630-239-0 00270 A2 2 3 5 7 0 0 0 5 9 9 8 7 6 B 9 789576 302398 MSI Code Interleaved 2 of 5 0987654321 1234558 Page F.