The text of a manual · part 4 of 6
Hand Held Scanner User's Manual, pages 28 to 36
Pages 28 to 36 of 52
The original document is the PDF (175 KB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
Filed in the catalog under the Unitech MS690
Page 28
-- 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. The output will be: -- Personal ID first, -- A 'CR' character, -- Two interblock delay, -- Name, -- A 'CR' character. The Formula will be: IN_ID,8,O-STR,1,6,"<CR>**",O-STR,7,#,"<CR>",Enter <CR> is a Carriage Return character scanned from Full ASCII Chart.
7.7. Advanced Features The O-String has the format: O-STR,P,N, Both parameters of O-String mentioned above are numbers. But both parameters can be specified as strings. If N is a string, it becomes a position and the meaning of O-String will be "Output from position P to position N". If P is defined as: "ab...ik" a, b, , i and k can be any character, the position will be evaluated as -- Start from the first position of the original string and search character 'a'. -- From the position next to 'a' in original data, search for 'b'. -- .... Page 27
Page 29
-- 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. Example: Suppose the following is a message to be modified: %B012345678901234^ABEL/STEVE L MGR ^90010129999999? in this message: "%" is start sentinel. "012345678901234" is account number. "^" is a separator 6. "ABEL" is surname. "/" is a separator. "STEVE" is first name. "L" is initial. "MGR" is title "^" is a separator. "9001" is expiration date. "?" is end sentinel. The output sequence desired is: Surname, First Name [CR] Account Number [CR] Expiration Date [CR] The formula input will be: IN_ID,0,O-STR,"^"+1,"/"-1,",",O-STR,"/"+1,"<SP>"-1,"<CR>", O-STR,3,"^"-1,"<CR>",O-STR,"^^"+1,4,"<CR>",Enter Here <SP> is Space character and <CR> is Carriage Return character. The output of above input will be ABEL,STEVE[CR] 012345678901234[CR] 9001[CR] Page 28
Page 30
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. Keyboard Interface The next table shows the modular connector pinout for keyboard interface:
Pin Number
Signal
1 2 3 4 5 6 7 8 9 10
Not Used VCC(+5V, output) DET GND Terminal Data Terminal Clock Power Input (+5V) Keyboard Clock Keyboard Data Not Used
Note: DET signal is bi-directional I/O pin and for internal use only. As keyboard interface, there are two other connectors on the interface cable. The connector type and pinout differ from terminal to terminal and are not listed here. 8.1.2. RS232 Interface The scanner supports TTL RS232 at modular connector and standard RS232 after the interface cable is attached.
Page 29
Page 31
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. Standard RS232 Interface: To support standard RS232 interface, an RS232 adapter cable from the manufacture must be used. This cable is a special one and can not be replaced by the others. One end of that cable which has RS232 signal presented is a DB25 or DB9 female connector and has following pinout: 13
1
25
14
DB25 Female (Front View)
Pin Number
Signal
2 3 14 16 7 25
RXD TXD CTS RTS GND Power Input(+5V±5%) Page 30
Page 32
5
1
9
6
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. Host Side connector The connector for the host is a DB25 female and has following pinout: 13
1
25
14
DB25 Female (Front View)
Pin Number
Signal
2 3 4 5 6 7 8 20
TXD RXD RTS CTS DSR GND CD DTR
Page 31
Page 33
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. Wand Emulation The pinout on modular connector at the bottom of the scanner is: Pin Number 1 2 3 4 5 6 7 8 9 10
Signal Not Used VCC(+5V, output) Not Used GND Not Used Bar Code Output Power Input(+5V±5%) DC Not Used Not Used Not Used
Page 32
Page 34
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. 0°C to 50°C (32°F to 122°F) -20°C to 70°C (-4°F to 158°F)
Page 33
Page 35
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
Field Exit
Scanner Mode
Scan Code
Trigger
U.S.
Flash
Alt Key
Page A.1
Page 36
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.2