The text of a manual · part 5 of 10
SCANTEAM 3400PDF PDF417 Capable CCD Reader Technical Manual, pages 41 to 50
Pages 41 to 50 of 91
The original document is the PDF (400 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 HHP ST3400
Page 41
4.6.2.3
Beep On Good Read
- - -- -- 4.6.2.4
PDF417: Ticking Indicates Scanning Progress
- - ! "- "- "
4.6.2.5
PDF417: Humming Indicates Decoder Is Busy
- -
Table 4.2 Beeper Feedback
What the Beeper is Telling you: As audible feedback, the PDF Capable reader provides five different beeps: single beep, double beep, triple beep, tick, and hum. One beep signals a successful barcode read. Single Beep Double Beep
Two beeps in succession indicate either: • a hardware reset (as when the unit is first powered on) • ENTER/EXIT/ESCAPE programming mode (when using the programming menu pages).
Triple Beep
Three quick beeps in succession indicate an error condition, as when an illegal menu code is scanned, or when the serial input buffer overflows. Every character sent to the PDF Capable reader is stored in a buffer. If the characters arrive faster than the reader can process them, it is possible (though rare) that the input buffer will completely fill up, and an overflow occurs. The serial input buffer can hold 128 characters.
Tick
The “Tick” has the shortest duration, and no perceivable pitch. It is used to indicate scanning progress while reading PDF417. A tick is initiated for every 32 PDF417 codewords read. A high rate of ticking corresponds to a high rate of data collection, thus good printing and good scanning technique are indicated by a high ticking rate.
Hum
The “Hum” is a steady tone with a lower pitch and volume than the beep, and a variable duration. The PDF417 reader cannot scan while decoding PDF417. When a great deal of error correction is required, the reader may appear to be “locked up.” Humming indicates that the reader is busy decoding. Use the ticking option for PDF417 to learn how to scan for optimum performance. Careful scanning greatly decreases PDF417 decoding time.
4–8
Programming the Reader
Page 42
4.6.3
RS-232 Serial Output Options
1%#2)-, "%*-5 .0-4)$%1 $%2!)*%$ ),&-0+!2)-, -, 2(% 4!0)-31 .0-'0!++),' -.2)-,1 &-0
4.6.3.1
Baud Rate
.0-'0!++),' 1%*%#2)-, 1%21 2(% "!3$ 0!2% &0-+ ")21 .%0 1%#-,$ 2- ")21 .%0 "!3$ 0!2% #!31%1 2(% $!2! 2- "% 1%,2 !2 2(% 1.%#)&)%$ -%&!3*2 ")21 .%0
4.6.3.2
Character Format
.0-'0!++),' 1%*%#2)-, !**-51 7-3 2- 1%2 2(% #(!0!#2%0 &-0+!2 &-0 ,3+"%0 -& $!2! !,$ .!0)27 #!.!"*% .0-$3#21 13..-02 1%4%, -0 %)'(2 ")21 -& $!2! !,$ 8%0- -0 -,% .!0)27 ")2 .%0 ,3+"%0 -& 12!02 !,$ 12-. ")21 )1 &)6%$ !2 -,% !, !..*)#!2)-, 0%/3)0%1 -,*7 #(!0!#2%01 2(0-3'( $%#)+!* 2%62- $)')21- !,$ .3,#23!2)-,- 1%*%#2 $!2! !..*)#!2)-,1 0%/3)0),' 31% -& 2(% &3** 1%2- 1%*%#2 $!2! ")21 .%0 -%&!3*2 %)'(2 $!2! ")21- ,- .!0)27- !,$ -,% 12-. Note:
PDF417 data is checked for accuracy before it is transmitted. This does not guarantee that errors will not be introduced during data communication. A parity bit may be added to each transmitted character as a means of character validation. A checksum character may also be added to the message as a suffix, for even stronger security (see Prefix/Suffix menu page). The receiving device must be set up for precisely the same character format and baud rate as the reader, to ensure reliable communication.
4.6.3.3
Data Flow Control
#-,20-* +!7 "% ,%#%11!07 2- (!,$*% 2(% *!0'%0 0%!$%0 5)** ,-0+!**7 20!,1+)2 ! +%11!'% )++%$)!2%*7 &-**-5),' ! 13##%11&3* )2( &*-5 #-,20-* 1%*%#2%$- 2(% 0%#%)4%0 #!, 2(% -%&!3*2 ,- $!2! &*-5 #-,20-* -.2)-,
Programming the Reader
4–9
Page 43
For example: suppose the receiver stores transmitted characters in a 512-byte buffer, yet the PDF417 reader has a 1400-byte message to transmit. The receiver might take 510 characters into its buffer, then tell the reader to STOP transmitting. As the receiver processes the message, space becomes available in the 512-byte buffer and the receiver can tell the reader to START transmitting again.
Two methods of flow control have been implemented in the PDF capable products: RTS/CTS hardware handshaking, and an XON/XOFF protocol.
RTS/CTS Handshaking
This option uses two signals in addition to the transmit and receive signals. The reader will have control of the RTS signal, the receiver controls the CTS signal.
Whenever the reader has a message to send, it will raise the Request To Send (RTS) line. If the reader has no messages to send, the line will be held low. When the receiver wants to suspend transmission, the Clear to Send (CTS) line will be held low. The reader looks at the state of CTS prior to sending each character. When the receiver is willing to accept a message from the reader it should raise the Clear To Send (CTS) line. The reader will resume sending messages, continuing where it left off when the CTS line was lowered.
XON/XOFF Protocol This option uses only the transmit/receive lines between the reader and the receiver.
When the receiver wants to suspend transmission, it will send the XOFF character (ASCII 19 decimal) to the reader. When the receiver wants to resume transmission, it will send the XON character (ASCII 17 decimal) to the reader. The reader will resume sending messages, continuing where it left off when the XOFF character was sent.
Programming the Reader
Page 44
4.6.3.4 “No Read” Notification
If Manual Trigger is enabled and you activate and deactivate the trigger without successfully reading a bar code, you will receive the output sequence {Prefix}“NR” {Suffix}. This occurs when the trigger switch is pressed or when the scanner is triggered serially.
4.6.4 Wand Emulation
The Wand Emulation interface transmits decoded bar code data to a decoding device by emulating the digital output of a wand. Large messages are broken down into data blocks that are transmitted as individual wand scans.
4.6.4.1 Characters per Data Block This programming selection allows you to set the size of the data block which will be transmitted as a wand scan.
4.6.4.2 Delay Between Data Blocks This programming selection sets the effective delay between sub-symbols.
4.6.4.3 Effective Output Scan Rate
This sets the transmission rate of the digital output signal. The available parameters assume a bar code density of .010 inches (10 mil).
4.6.4.4 Digital Output Signal Polarity
This programming parameter allows you to set the output logic convention for the digital output. The choices are White High (Laser Output) and Black High. Default = Black High.
4.6.4.5 Overall Checksum
When enabled, a computed check character will be added at the end of the entire message. The check character is the character which when Exclusive-ORed with every preceding character of the messaged yields a result of 0x00 (00H). The default is Disabled.
Programming the Reader 4-11
Page 45
Note: PDF Wand Emulation Users
Encrypted PDF symbols (Veritas or Hypercompression) are designed to be used with specific applications running on the host device or PC. If the host device or PC is not running the specific application, the control sequences contained in the encrypted PDF symbol could affect the host device or PC. For example, when connected to a PC running Windows™ and not running the specified application, symptoms range from different application functions appearing on the screen to various Windows options opening over the application which is running. Concurrent with this, you may notice that the Caps Lock and/or Num Lock keys may be turned on or off on the PC keyboard. This same sequence of events also could occur when you use a wand to scan a linear bar code label containing control sequences.
It is highly recommended that you only scan PDF bar code labels when the host device or PC is running the proper application.
It is also recommended that if you are going to scan a label into the Windows environment via a keyboard wedge, you test the label for possible problems. The problems should be corrected before committing to that PDF label.
If you are using a PDF encrypted or control code label, and you encounter the above problems in Windows, it is recommended that RS-232 be looked into as an option.
Note: If you are using Wand Emulation interface and connected to a
SCANTEAM 2000, refer to the following instructions.
If your application requires that the Caps Lock key on the PC be left on, you may notice that your PDF displays upper case characters as lower case and vice versa. To resolve this problem, program the SCANTEAM 2000 for a Caps Lock Keyboard style. Refer to the Output Parameters page in the SCANTEAM 2000 Programming Menu. The default keyboard style is set to Primary. In the PC environment, the Caps Lock Keyboard style is Secondary. (Enter, II, B, Exit).
Programming the Reader
Page 46
4.6.5 Trigger Options
The following information describes the two trigger options and provides additional notes, including information on the SCANTEAM 3400PDF power saving mode.
Generally, a TRIGGER ON causes the reader to begin decoding, and a TRIGGER OFF halts decoding. The meaning of TRIGGER ON and TRIGGER OFF depends on the trigger mode.
4.6.5.1 Autotrigger Enable
In autotrigger mode, the reader scans continuously. It does not, however, output decoded messages continuously. Internal logic determines when to output a decoded message. This decision is based on several factors, including the state of TRIGGER ON/OFF. In the context of autotrigger mode, TRIGGER ON/OFF are defined as:
Trigger On, The scanner senses the presence of several black/white elements (does not yet know if pattern is decodable).
Trigger Off, The scanner senses the lack of black/white elements.
The reader’s new autotrigger logic is aggressive, resulting in fast reads. It is not necessary to TRIGGER OFF in order to read a new code, but in order to reread the same code, one needs to TRIGGER OFF for about a quarter of a second or until the scanner senses the lack of black and white elements.
4.6.5.2 Manual Trigger Enable
In manual trigger mode, a TRIGGER ON is required to activate scanning and decoding. In the context of manual trigger mode, TRIGGER ON/OFF are defined as:
Trigger On, (A) The trigger switch is pressed or (B) The serial TRIGGER ON command (ASCII 18 decimal) is sent to the reader.
Trigger Off, (A) The trigger switch is released or (B) The serial TRIGGER OFF command (ASCII 20 decimal) is sent to the reader.
Programming the Reader 4-13
Page 47
In manual trigger mode it is necessary to TRIGGER OFF following a successful decode before another code can be read. The scanning stops immediately following a successful decode, but the reader is not TRIGGERED OFF until one of the conditions above has been satisfied.
Note: If the scanner is triggered serially, it is not necessary to send the TRIGGER OFF command following a good read.
Note: A SCANTEAM 3400 must be in manual trigger mode to use the switched power option.
Note: A SCANTEAM 3400 that has a trigger, defaults to Manual Trigger Enable.
A power-saving mode is available for hand-held readers operating in manual trigger mode. Using the proper cable and selecting the manual trigger option enables the low-power mode. (Contact your sales representative or refer to the IPWC Cable Matrix for constant/switched-power cable information.) On power-up, the reader senses if the unit is using the switched-power cable, and goes immediately into a low-power mode. Only the trigger-sensing circuitry is powered (current draw is less than 1mA @ 5V until the trigger is pulled.
4.6.6 Prefix/Suffix Programming
The scanner will transmit the decoded message after every successful bar code read. You have the option of adding characters before (prefix) and after (suffix) the bar code message:
Transmitted data frame -> | Prefix | Bar Code Message | Suffix |
Characters for the prefix and suffix are selected by their hexadecimal ASCII value, up to 8 characters each. In addition, special characters are available for code identification and for error detection. Programming prefix/suffixes is flexible, allowing creative framing possibilities.
These prefix/suffixes apply to all messages regardless of the symbology, and cannot be assigned for a specific symbology. The special characters for Code ID will change to indicate the decoded symbology.
4-14 Programming the Reader
Page 48
Note:
HEX-ASCII and Symbology charts follow the Prefix/Suffix Examples. Special Characters and their explanations follow the charts. Prefix/Suffix Examples: 1. , ($ %!)' ! Bar Code Message
<CR> <LF>
#$ , '
,
Where: , , (' 2. + ''
''
<STX> Bar Code Message
<ETX>
&'( , ,
Where: , ,
, ,
('
Table 4.3 HEX-ASCII Chart HEX - ASCII CHART NUL 00 SOH 01 STX 02 ETX 03 EOT 04 ENQ 05 ACK 06 BEL 07 BS 08 HT 09 LF 0A VT 0B 0C FF CR 0D SO 0E SI 0F
DLE 10 DC1 11 DC2 12 DC3 13 DC4 14 NAK 15 SYN 16 ETB 17 CAN 18 EM 19 SUB 1A ESC 1B FS 1C GS 1D RS 1E US 1F
SP 20 ! 21 ” 22 # 23 $ 24 % 25 & 26 ’ 27 ( 28 ) 29 * 2A + 2B , 2C – 2D . 2E / 2F
0 1 2 3 4 5 6 7 8 9 : ; < = > ?
30 31 32 33 34 35 36 37 38 39 3A 3B 3C 3D 3E 3F
@ 40 A 41 B 42 C 43 D 44 E 45 F 46 G 47 H 48 I 49 J 4A K 4B L 4C M 4D N 4E O 4F
Programming the Reader
P Q R S T U V W X Y Z [ \ ] ^ _
50 51 52 53 54 55 56 57 58 59 5A 5B 5C 5D 5E 5F
‘ a b c d e f g h i j k l m n o
60 61 62 63 64 65 66 67 68 69 6A 6B 6C 6D 6E 6F p 70 q 71 72 r s 73 t 74 u 75 76 v w 77 x 78 y 79 7A z { 7B | 7C } 7D 7E ~ DEL 7F
4–15
Page 49
Table 4.4 Symbology Chart SYMBOLOGY CHART Symbology
Code ID
Code ID ASCII
ASCII
Symbology
Codabar a
61
Code 2 of 5 f
66
Code 49 l
6C
Code 39 b
62
MSI code g
67
Matrix 2 of 5 m
6D
UPC c
63
Code 11 h
68
Plessey code n
6E
EAN d
64
Code 93 i
69
Code 16K o
6F
Interleaved 2 of 5 e
65
Code 128 j
6A
PDF417 r
72
Symbology
Code ID ASCII
Table 4.5 Special Characters Hex Character
Result
80
Insert Code ID The 80 hex will be replaced by a single character identifying the decoded barcode symbology. See the Symbology Chart, above.
81
Insert AIM Symbology ID and Modifier The 81 hex will be replaced by a three character string: ]CM Where: ] is the symbology ID flag character C is the symbology ID character M is the modifier character See AIM Guidelines on Symbology Identifiers for more information.
85
Insert LRC Checksum as two printable hexadecimal characters plus a space. When placed at the end of a transmitted message, the LRC checksum provides a modest amount of error detection. The checksum is computed as the Exclusive-Or of every transmitted character, after being initialized to zero. The LRC checksum can have any value 00 through FF hexadecimal, but not all characters in this range are printable. This option causes the LRC checksum to be transmitted as three characters; two hexadecimal numbers plus a space.
4–16
86
Insert LRC Checksum as a single byte A single character is transmitted having a value 00 through FF hexadecimal.
87 XX
Set LRC Checksum = XX (hexadecimal) For initializing the checksum to some value other than zero, XX can be any value 00 through FF hexadecimal. This option is set as the first prefix. Programming the Reader
Page 50
Longitudinal Redundancy Checking in the PDF Decoder As with parity checking on serially transmitted data, Longitudinal Redundancy Checking (LRC) is an optional means of detecting communication errors on transmissions to the host.
The LRC character is computed as the Exclusive-OR of each character, beginning with the prefix, as it is transmitted. To compute the Exclusive-OR of two characters, compare binary ASCII representations, bit by bit. The result will be a binary zero (0) in bit positions that match, and a binary one (1) in bit positions that are different.
LRC checking is beneficial in environments where characters received by the host might be corrupted by noise and where the host application will be checking the transmitted LRC character. Communication of characters is susceptible to corruption if a long unshielded cable connects the device to the host, if the highest baud rate is selected, or if a nearby device radiates too much energy. Normally RS-232 communication does not suffer from noise.
LRC Menuing Options
The Programming Menu offers a variety of options for inclusion of the LRC. The LRC can be represented as a single character, two printable characters, or can be initialized to a chosen character. When used, the LRC checksum is normally the last character in a suffix. In this case it is not necessary to initialize the LRC checksum. The following example shows a case when it is desirable to initialize the LRC checksum.
All values for prefixes and suffixes are entered as HEX values. Refer to the HEX-ASCII chart on page 4-15.
Programming the Reader 4-17