The text of a manual · part 7 of 25
QuickScan L QD 2300 Bar Code Scanner Product Reference Guide: RS-232, pages 37 to 44
Pages 37 to 44 of 192, from QuickScan L QD 2300 Bar Code Scanner Product Reference Guide
The original document is the PDF (3.7 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the Datalogic QD-2300
Page 37
Chapter 6 RS-232 Introduction This chapter describes how to set up the scanner with an RS-232 host. The RS-232 interface is used to connect the scanner to point-of-sale devices, host computers, or other devices with an available RS-232 port (e.g., com port). If the host is not listed in Table 6, refer to the documentation for the host device to set communication parameters to match the host.
The scanner uses TTL RS-232 signal levels, which will interface with most system architectures. NOTE
Throughout the programming bar code menus, default values are indicated with asterisks (*).
* Indicates Default
Product Reference Guide
*Baud Rate 57,600
Feature/Option
31
Page 38
RS-232
Connecting an RS-232 Interface This connection is made directly from the scanner to the host computer. Figure 8. RS-232 Direct Connection
Interface Cable Serial Port Connector to Host
Power Supply Cable
Interface cables vary depending on configuration. The connectors illustrated in Figure 8 are examples only. The connectors may be different than those illustrated, but the steps to connect the scanner remain the same. NOTE
1. Attach the modular connector of the RS-232 interface cable to the cable interface port on the scanner (see Installing the Interface Cable on page 6). 2. Connect the other end of the RS-232 interface cable to the serial port on the host. 3. Connect the power supply1 to the serial connector end of the RS-232 interface cable. Plug the power supply into an appropriate outlet. 4. Select the RS-232 host type by scanning the appropriate bar code from RS-232 Host Types on page 36. 5. To modify any other parameter options, scan the appropriate bar codes in this chapter. Refer to RS-232 Host Commands on page 179 for a listing of host commands the scanner will respond to when in RS-232 interface mode. NOTE
1. Use only aDatalogic power supply approved for this product.
32
QuickScan® L
Page 39
RS-232 Parameter Defaults
RS-232 Parameter Defaults Table 5 lists the defaults for RS-232 host parameters. If any option needs to be changed, scan the appropriate bar code(s) provided in the Parameter Descriptions section beginning on page 33.
See Appendix B, Standard Defaults for all user preferences, hosts, symbologies, and miscellaneous default parameters. NOTE Table 5. RS-232 Defaults Parameter
Default
Page Number
RS-232 Host Parameters RS-232 Host Types
Standard
36
Baud Rate
9600
37
Parity Type
None
38
Stop Bit Select
1 Stop Bit
39
Data Bits (ASCII Format)
8-Bit
39
Check Receive Errors
Enable
40
Hardware Handshaking
None
42
Software Handshaking
None
44
Host Serial Response Time-out
2 Sec
45
RTS Line State
Low RTS
46
Beep on <BEL>
Disable
46
Intercharacter Delay
0 msec
47
Nixdorf Beep/LED Options
Normal Operation
48
Ignore Unknown Characters
Send Bar Code
48
RS-232 Host Parameters Various RS-232 hosts are set up with their own parameter default settings (Table 6). Selecting the ICL, Fujitsu, Wincor-Nixdorf Mode A, Wincor-Nixdorf Mode B, Olivetti, Omron, or terminal sets the defaults listed in Table 6. Selecting the ICL, Fujitsu, Wincor-Nixdorf Mode A, Wincor-Nixdorf Mode B, OPOS terminal enables the transmission of code ID characters listed in Table 7 on page 34. These code ID characters are not programmable and are separate from the Transmit Code ID feature. The Transmit Code ID feature should not be enabled for these terminals. Product Reference Guide
33
Page 40
RS-232
Table 6. Terminal Specific RS-232
Fujitsu
WincorNixdorf Mode A
WincorNixdorf Mode B/ OPOS
Olivetti
Omron
Yes
Yes
Yes
Yes
Yes
Yes
Data as is
Data/Suffix
Data/Suffix
Data/Suffix
Data/Suffix
Prefix/Data/Suffix
Data/Suffix
Suffix
CR/LF (7013)
CR (1013)
CR (1013)
CR (1013)
CR (1013)
ETX (1002)
CR (1013)
Baud Rate
9600
9600
9600
9600
9600
9600
9600
Parity
None
Even
None
Odd
Odd
Even
None
Hardware Handshaking
None
RTS/CTS Option 3
None
RTS/CTS Option 3
RTS/CTS Option 3
None
None
Software Handshaking
None
None
None
None
None
Ack/Nak
None
Serial Response Time-out
2 Sec.
9.9 Sec.
2 Sec.
9.9 Sec.
9.9 Sec.
9.9 Sec.
9.9 Sec.
Stop Bit Select
One
One
One
One
One
One
One
ASCII Format
8-Bit
8-Bit
8-Bit
8-Bit
8-Bit
7-Bit
8-Bit
Beep On <BEL>
Disable
Disable
Disable
Disable
Disable
Disable
Disable
RTS Line State
Low
High
Low
Low
Low = No data to send
Low
High
Prefix
None
None
None
None
None
STX (1003)
None
Standard (Default)
ICL
No
Data Transmission Format
Parameter
Transmit Code ID
*In the Nixdorf Mode B, if CTS is Low, scanning is disabled. When CTS is High, the user can scan bar codes. **If Nixdorf Mode B is scanned without the scanner connected to the proper host, it may appear unable to scan. If this happens, scan a different RS-232 host type within 5 seconds of cycling power to the scanner.
Table 7. Terminal Specific Code ID Characters
34
ICL
Fujitsu
WincorNixdorf Mode A
WincorNixdorf Mode B/OPOS
Olivetti
Omron
UPC-A
A
A
A
A
A
A
UPC-E
E
E
C
C
C
E
EAN-8/JAN-8
FF
FF
B
B
B
FF
QuickScan® L
Page 41
RS-232 Host Parameters
Table 7. Terminal Specific Code ID Characters ICL
Fujitsu
WincorNixdorf Mode A
WincorNixdorf Mode B/OPOS
Olivetti
Omron
EAN-13/JAN-13
F
F
A
A
A
F
Code 39
C <len>
None
M
M
M <len>
C <len>
Codabar
N <len>
None
N
N
N <len>
N <len>
Code 128
L <len>
None
K
K
K <len>
L <len>
I 2 of 5
I <len>
None
I
I
I <len>
I <len>
Code 93
None
None
L
L
L <len>
None
D 2 of 5
H <len>
None
H
H
H <len>
H <len>
UCC/EAN 128
L <len>
None
P
P
P <len>
L <len>
MSI
None
None
O
O
O <len>
None
Bookland EAN
F
F
A
A
A
F
Trioptic
None
None
None
None
None
None
Code 11
None
None
None
None
None
None
IATA
H<len>
None
H
H
None
None
Code 32
None
None
None
None
None
None
Product Reference Guide
35
Page 42
RS-232
RS-232 Host Types To select an RS-232 host interface, scan one of the following bar codes.
*Standard RS-232
ICL RS-232
RS-232 Wincor-Nixdorf Mode A
RS-232 Wincor-Nixdorf Mode B
RS-232 Olivetti ORS4500
RS-232 Omron
RS-232 OPOS
RS-232 Fujitsu
36
QuickScan® L
Page 43
RS-232 Host Parameters
Baud Rate Baud rate is the number of bits of data transmitted per second. Set the scanner's baud rate to match the baud rate setting of the host device. Otherwise, data may not reach the host device or may reach it in distorted form.
Baud Rate 600
Baud Rate 1200
Baud Rate 2400
Baud Rate 4800
*Baud Rate 9600
Baud Rate 19,200
Baud Rate 38,400
Product Reference Guide
37
Page 44
RS-232
Parity A parity check bit is the most significant bit of each ASCII coded character. Select the parity type according to host device requirements. •
Select Odd parity and the parity bit value is set to 0 or 1, based on data, to ensure that an odd number of 1 bits are contained in the coded character.
•
Select Even parity and the parity bit value is set to 0 or 1, based on data, to ensure that an even number of 1 bits are contained in the coded character.
•
Select Mark parity and the parity bit is always 1.
•
Select Space parity and the parity bit is always 0.
•
Select None when no parity bit is required.
Odd
Even
Mark
Space
*None
38
QuickScan® L