The text of a manual · part 6 of 7
CCD Bar-Code Scanner Programming Manual, pages 51 to 60
Pages 51 to 60 of 64
The original document is the PDF (238 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 Partner Tech SD-730N
Page 51
Cable 43
Cable Type RS-232C Function 9p D-sub (F) 25p D-sub (F) 8p Din (M) DC Jack (M) TXD 2 3 1 --RXD 3 2 2 --RTS 8 5 3 --CTS 7 4 4 --Shorted 4,6 6,20 ----GND 5 7 7 2 GND Shield 5 7 7 2 VCC (+5V) 9 16,25 8 1 5
8 5 3 14 7
1 13
9
6 25 9p D-sub (F)
Function Data GND GND Shield VCC (+5V)
25p D-sub (F)
8p Din (M) DC Jack (M)
Wand Emulation 9p D-sub (F) 5p Din (M) 2 2 7 3 8 3 9 1
5
1
9
6
5p Din (M)
5p Din (M)
3 2 1
6 4 5 6p Din (M)
6p Din (M) 2 3 3 1 3 2 1
6 4 5 6p Din (M)
TTL (CMOS) 5p Din (M) 6p Din (M) --6 2 2 ----5 5 4 4 3 3 3 3 1 1 3 2 1
4 5
3 2 1
4 5
9p D-sub (F)
Function Start Of Scan Data Indicator Trigger Enable GND GND Shield VCC (+5V)
2 4 1 61
1
9p D-sub (F) 1 2 3 5 6 7 8 9
5
1
9
6 9p D-sub (F)
2
Page 52
44 Cable
OEM Cable Type
Page 53
Introduction 45
Introduction for min/max length Global
Min. Length 1
Max. Length 48
The min/max global length will be available while the individual min/max length will be set to be zero. Code Type
Min. Length
Max. Length
Code 39 Interleaved 2 of 5 Industrial 2 of 5 Matrix 2 of 5 Chain post 2of 5 Codabar/NW7 Code 128 Code 93 Code 11 MSI/Plessey UK/Plessey IATA Telepen
0 6 4 4 11 4 0 4 4 4 4 4 4
0 0 0 0 11 0 0 0 0 0 0 0 0
The factory defaults for individual min/max length are shown above.
for specific adjustment Adjustment Item
Default Setting
Default Value
Beep loudness Beep tone Beep duration Stand-by timer Active timer Sleep timer Good-read delay timer Double confirm times Inter-character delay timer Transmit delay timer Response delay timer Margins timer
5 28 10 20 20 20 50 1 0 0 30 10
Level 5 2.8 KHz 100 ms 20 Sec 200 ms 200 ms 500 ms 1 Sec No delay No delay 3 Sec 100 ms
Page 54
46 Introduction
Introduction
Key Position
This function is only available for IBM PC/AT, PS/2, IBM 5576 series personal computers and compatible machines. The case of Keypad selected enables numeric output as key pad (Num Lock On) output. The default setting is alphabetic-key.
Key Emulation
This function is only available for IBM PC/AT, PS/2, IBM 5576 series personal computers and compatible machines. When the function is enabled, the ASCII code values that are between 01H to 1FH will be changed all characters (which can be used for the RS-232C communication protocol) to the Function Keys in the transmitted data. The conversion process includes Preamble, Post amble, Prefix and Suffix codes programmed.
Simulation
All of the PCs will check each device (including keyboard interface) by themselves while the host computers power on. If the feature is enabled, it can pass the keyboard installation checking by the host computer while powered on. It is recommended to enable the function without the keyboard installed.
Lock
When Upper case is select and "Caps Lock On" or Lower case is select and "Caps Lock Off" the output style accord with on the character case.
Case
This function can force the output of all characters converted to the same case (upper or lower case).
Type
The keyboard type of host computer selected must be used the appropriate host interface cable converter.
Language
This setting has only effect when keyboard type is emulating IBM PC/AT. The selecting of keyboard language can support other than USA keyboard layout. The DOS command "KEYB" can be selected the desirable keyboard layout on IBM PC/AT. For its usage, please refer to your DOS user’s manual.
Delay Timer (Set value)
It is a time delay between data characters output. An Inter-Character Delay Timer ranges from 0 - 99 ms can be used to match various host computers or terminals response time. Adjust this timer and try out the shortest delay time that until works properly. The unit of range is 1 ms.
Delay Timer (Set value)
It is a time delay between barcode data output. The feature will be used for shorter barcode data output or multi-field scanning. The unit of range is 10 ms.
Page 55
Introduction 47
Introduction
Protocol controls data flow between the scanner and a serial host computer. Disable: The communication way only actives the TXD (transmit data) and RXD (receive data) without regard for any hardware (RTS/CTS) or software (XON/XOFF or ACK/NAK) handshaking protocol. RTS/CTS (CTS/RTS): When this option is selected the RTS (request to send) and CTS (clear to send) signal will be issued before normal data communication. For example, if the scanner wants to send the barcode data to host computer, it will issue the RTS (CTS) signal first, wait for the CTS (RTS) signal from the host computer, and then perform the normal data communication. If there is no replied CTS (RTS) signal from the host computer after the time out duration (Response Delay Timer), the scanner will issue warning 5 beeps. Scanner Ready: The scanner will active the RTS signal upon power on, and will transmit data upon receiving active CTS signals. Data Ready: The scanner will active the RTS signal to indicate a successful decoding and will transmit data upon receiving CTS signals. STX/ETX: The STX (start of text) and ETX (end of text) are ASCII codes whose values are 02H and 03H, respectively, and can be preformed to pack together the normal data transmission. XON/XOFF: Controlled data flow is achieved between devices when the receiving device sends ASCII XON/OFF codes whose values are issued a Ctrl-S and Ctrl-Q to the transmitting device. In other words, when the receiving device is unable to accept data, it sends an XOFF code to inform the host to temporarily suspend data transmission. ACK/NAK: The ACK/NAK protocol provides a feedback to the serial host computer that is programming the scanner. The ACK/NAK protocol provides two vital functions. First, it provides the host with positive acknowledgment that its commands are begin accepted and acted upon. Second, and perhaps more important, it ensures that the host will not issue commands to the scanner more quickly than the scanner can process them. Whenever the scanner receives a correctly formatted command, it sends a confirmation message followed by an ACK (06H) code or receives an improperly formatted code; it sends a NAK (15H) code. CTS Trigger: This operation enabled an external device to control scanning. Applying an external trigger signal to the CTS input controls the CTS trigger (with external triggering enable). When active, this signal causes scanning to begin just as if the scanner’s trigger were depressed. In the event of decoding, the trigger signal must be deactivated for a minimum of 50 milliseconds before another scan can be attempted.
Page 56
48 Introduction
Introduction
Rate/Stop Bits/Data Bits/Parity Setting
The selectable values of the Baud Rate, Stop Bits, Data Bits and Parity are listed below. Baud Rate: 38400/19200/9600/4800/2400/1200/600/300 bps Stop Bits: 1 bit/2 bits Data Bits: 7 bits/8 bits Parity: None/Even/Odd/Mark/Space
Delay Timer (Set Value)
The time out is a pre-defined delay time for serial communication of scanner to wait for handshaking, acknowledgment or non-acknowledgment from the host computer. When the time-out occurs, the scanner will issue 5 warning beeps. The feature is particularly useful for some applications in which the host computer takes a longer time to respond with an equivalent signal.
Level High/Space Low: High level on Bar and Low level on Space. (High level: 5V, Low level: 0V) Low/Space High: Low level on Bar and High level on Space. (High level: 5V, Low level: 0V)
Level
The initial signal state on High or Low level. (High level: 5V, Low level: 0V)
Gap
The discrete codes (as Code-39, Codebar, MSI) feature an Inter-Character Gap, which makes them suitable for printing by mechanical numbering system, the Inter-character Gap allowing for the ratchet mechanism. The default setting is narrow.
Speed
The Output Speed setting is same as serial transmission baud rate. The unit of bit is a width of Minimum Narrow Bar. Low/Medium/High/Turbo: 1200/2400/4800/9600 bps (bit per second)
Ratio
The setting specifies the narrow to wide ratio begin used when transmitting the bar image. The selectable ratio value allows adjusting from 1:2 to 1:3.5.
Time (Set value)
It is a quiet zone. The width of margin time will automatically be added, before and after the regular data is transmitted. The unit of width is 10 ms. It ranges from 0 - 990 ms.
Emulation
The feature is able to translate all barcode symbologies (as the scanner can support) as standard Code-39 Wand emulation output for your decoder device.
Page 57
Introduction 49
Introduction
Modes Mode0: Trigger button on the bottom of scanner must be pressed to enable scanning. The light source of scanner turns off and stops scanning when there is a successful reading or no code is decoded after the time-out duration elapsed. Trigger Mode1: The trigger button acts as a contact switch. Press the trigger button to active scanning and release the button stop scanning. Trigger Mode2: The trigger button acts as a toggle switch. Press the trigger button to active or stop scanning.(Toggle mode) Trigger Mode3: Trigger button on the bottom of scanner must be pressed to enable scanning. The scanner stops scanning when no code is decoded after the time-out duration elapsed. (Laser mode) Trigger Mode4: Trigger button on the bottom of scanner must be pressed to enable scanning. The scanner flashes the light source when no code is decoded after the time-out duration elapsed. In this mode can save the power resource and extend the operation life of the light source. The scanner can be woken up when there is a successful reading or the trigger button pressed. Flash time setting. Trigger Mode5: The scanner always keeps operation no matter any duration time and trigger switch. Trigger Mode6: The scanner continuously reads and the same label readings are allowed without double confirm. The feature can test the performance of a scanner for reading speed and accuracy.
Music
The scanner will be diagnosed by itself while starting power on. Activate start beep to indicate a successful self-test to wait the bottom be triggered. The feature can enable or disable the start beep.
Auto Trigger
The feature can auto trigger the button of scanner to activate the light source after the successful start beep.
LED/Beep
After each successful reading the scanner will light green LED and beep buzzer to indicate the good barcode reading. The green LED and buzzer can be enabled or disabled active while each good reading. The beep tone of buzzer can be changed by Beep Tone Adjustment function.
Control
The scanner can read-out many sets of barcode data on the same scanning line in the same time if Multi-Field of Field Control were selected. The direction of read-out code is form left to right even different type symbol code data.
Confirm (Redundancy)
The feature should be dependant on the symbology and quality of barcodes read. If enabled, the scanner will require many successful scans to validate the barcode data. The value of confirm time can be set by Double Confirm times function at page 15, and the more confirm times the less miss-reading of codes. Therefore you can select a higher value rather then reducing read-out speed.
Page 58
50 Introduction
Introduction
Name Transmission
The feature is useful to show unknown barcode symbologies that include the readable barcode symbol of scanner. When the enable is selected, the symbology code name will be shown before the code data. For the data location, see Data Transmission Flowchart.
ID Position
The code ID can be transmitted before or after the code data by this selected when Code ID Transmit enabled. Normally, the position is before the code data.
Length Transmission
The length of data characters can be transmitted before the code data when the enable is selected. The total length is a number of barcode data except Truncate Leading/Ending Digits. The Code Length has two digits.
Loudness/Tone/Duration (Set value)
These features can adjust the Good-Read Beep, Tone and Timer which user favor. The Beep Timer is the duration of beep while code is read successfully.
Timer (Set value)
Time-out duration of 1 to 99 seconds could be adjusted. The Stand-By Timer that is valid scanning duration will be effective only when the trigger mode is operated in Mode0, Mode3 or Mode4.
Timer (Set value)
There are two durations could be effective only when the scanner operated in Mode4. The scanner will be entry flash operation when no code is read until Stand-By Timer time-out. The Action Timer is lighting duration and Sleep timer is blanking duration while light source fleshes. The barcode image can be also read during flash of light source and then waked up the scanner automatically.
Delay Timer (Set value)
The feature is for limiting the duration during the same barcode data to be read continuously, except operated in Mode0 and Mode6. The timer will be reset when different barcode data is read.
Confirm Times (Set value)
This feature should be selected according to the symbology and the quality if barcodes being read. The values of times are successful decoding to validate the barcode data times. When a higher value is set, the slower the reading speed and the higher data security.
Rate Timer (Set value)
The Scan Rate will affect the CCD (Charge Coupled Device) sensor of exposure time. The feature can adjust the CCD scan rate to improve the performance of scanner. When the less value of Scan Rate Timer is set, the faster scanning response.
Page 59
Introduction 51
Introduction
Code Length (Set value)
A Minimum and Maximum length ranging from 1 to 48 can be set to qualify data entry. The length is defined to be the actual barcode data length sent. Label with length exceeds these limits will be rejected. Make sure that the Minimum length setting is no greater than the Maximum length setting, or all the labels of the symbology will not be read. In particular, you can set the same value for both Minimum and Maximum reading length to force the fixed length barcode decoded. The values of setting cannot effect in some fixed length labels of symbology (i.e. UPC/EAN/JAN call WPC).
Lock with WPC
The Add-On barcode is the supplemental code and often presents the 2 or 5 supplement digits with WPC. The feature will force output the Add-On code together in reading WPC with Add-On symbology barcode if Add-On Lock is enabled. Therefore it cannot read the WPC barcode without Add-On. It is recommended to program the Add-On to be enabled while the Add-On code must be read out.
Function
The expansion of function is used only for UPC-E and EAN-8 code reading, It can extend to 13-digit with leading "0" numeric system when the feature is enabled.
Leading Zeroes
The leading "0" digits of barcode data characters can be truncated when the function is enabled. The feature is used only for WPC code reading.
Translation
The ISBN (International Standard Book Number and ISSN (International Standard Serial Number) are two kinds of barcode bookland label. The ISBN is a 10 digits with leading "978" and the ISSN is a 8 digits with leading "977" of the "EAN-13" symbology code.
Leading/Ending Digits (Set value)
The leading or ending digits of barcode data characters can be truncated when the values of setting are not zero. It will be read nothing else only beeps when the truncate value is more than barcode data digits or the value of Truncate Leading is overlap with the Ending. The maximum value of truncate digits is 15.
ID (Set ASCII Code)
A Code ID is a character that is used to represent the symbol begin decoded upon succeeding reading. The Code ID is prefixed to the data begin or tail transmitted if the feature is selected. There are some labels of symboolgy (i.e. UPC-E and EAN-8) include 2 Code IDs.
ASCII for Code-39 Format
The full ASCII Code-39 symbology is an enhanced set of Code-39 that is the data with total of 128 characters to represent full ASCII code.
Page 60
52 Introduction
Introduction
(Italian Pharmac) Format
The Code-32 symbology is another version of Code-39 that is a barcode data from digit 0 to 9. The leading A is an optional character that can be allowed to transmit or not.
Function
Several symbologies such as Code-39, Code-128 and Code-93 provide the append function which allows several symbols to be concatenates and be treated as one single data entry. The scanner will not transmit a symbol with the embedded appendant code (a leading space for Code-39 and Code-93, a "FNC2" character for Code-128) when this feature is enabled, and if other symbols with the appended code were read again, there codes will be transmitted without Code ID, Preamble and Prefix. When a symbol with no the appended code or other than codes (they are Code-39, Code-93 and Code-128) were decoded the data will be transmitted without Code ID and Prefix but the Post amble and Suffix codes are appended.
amble Transmission (Set ASCII Code)
There are two characters (Data0 and Data1) could be programmed for both Preamble and Post amble data (include the Function Key Emulation). They can be automatically appended to the data transmitted when each barcode is decoded.
Transmission (Set ASCIII Code)
Up to 15 characters could be programmed for both Prefix and Suffix data. The Prefix data programmed will be placed after Preamble data and before the barcode data, and the Suffix data programmed will be placed after the barcode data and before the Post amble data.