The text of a manual · part 19 of 48
DS2208 Digital Scanner Product Reference Guide: Chapter 9 RS-232 Interface, pages 137 to 146
Pages 137 to 146 of 404, from DS2208 Digital Scanner Product Reference Guide
The original document is the PDF (12 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 Zebra DS2208
Page 137
CHAPTER 9 RS-232 INTERFACE Introduction This chapter describes how to set up the scanner with an RS-232 host. The scanner uses the RS-232 interface to connect to point-of-sale devices, host computers, or other devices with an available RS-232 port (e.g., com port). The scanner ships with the settings shown in Table 9-1 on page 9-3 (also see Appendix A, Standard Default Parameters for all defaults). If the default values suit requirements, programming is not necessary. If your host does not appear in Table 9-2, refer to the documentation for the host device to set communication parameters to match the host. NOTE The scanner uses TTL RS-232 signal levels, which interface with most system architectures. For system architectures requiring RS-232C signal levels, Zebra offers different cables providing TTL-to-RS-232C conversion. Contact the Zebra Support & Downloads website for more information.
Setting Parameters To set feature values, scan a single bar code or a short bar code sequence. The settings are stored in non-volatile memory and are preserved even when the scanner powers down. NOTE Most computer monitors allow scanning bar codes directly on the screen. When scanning from the screen, be sure to set the document magnification to a level where you can see the bar code clearly, and bars and/or spaces do not merge.
To return all features to default values, scan Set Factory Defaults on page 5-5. Throughout the programming bar code menus, asterisks (*) indicate default values.
* Indicates default
*Enable Parameter
Feature/option
Page 138
9 - 2 DS2208 Digital Scanner Product Reference Guide
Scanning Sequence Examples In most cases scanning one bar code sets the parameter value. For example, to set the baud rate to 19,200, scan the Baud Rate 19,200 bar code under Baud Rate on page 9-8. The scanner issues a fast warble beep and the LED turns green, signifying a successful parameter entry. Other parameters require scanning several bar codes. See the parameter descriptions for this procedure.
Errors While Scanning Unless otherwise specified, to correct an error during a scanning sequence, just re-scan the correct parameter.
Connecting an RS-232 Interface Connect the scanner directly to the host computer.
Serial port connector to host
Interface cable
Power supply
Figure 9-1
RS-232 Connection
NOTE Interface cables vary depending on configuration. The connectors can be different than those illustrated in Figure 9-1, but the steps to connect the scanner are the same.
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 1-3.
2.
Connect the other end of the RS-232 interface cable to the serial port on the host.
3.
If required, connect the power supply to the serial connector end of the RS-232 interface cable. Plug the power supply into an appropriate outlet.
Page 139
RS-232 Interface 9 - 3
4.
The scanner automatically detects the host interface type and uses the default setting. If the default (*) does not meet your requirements, select another RS-232 host type by scanning the appropriate bar code from RS-232 Host Types on page 9-6.
5.
To modify any other parameter options, scan the appropriate bar codes in this chapter.
If problems occur with the system, see Troubleshooting on page 4-3.
RS-232 Parameter Defaults Table 9-1 lists defaults for RS-232 host parameters. Change these values in one of two ways:
• Scan the appropriate bar codes in this chapter. The new value replaces the standard default value in memory. To recall default parameter values, see Default Parameters on page 5-5.
• Configure the scanner using the 123Scan2 configuration program. See Chapter 2, 123Scan and Software Tools. NOTE See Appendix A, Standard Default Parameters for all user preference, host, symbology, and miscellaneous default parameters.
Table 9-1
RS-232 Interface Parameter Defaults Parameter
Default
Page Number
RS-232 Host Parameters RS-232 Host Types
Standard
9-6
Baud Rate
9600
9-8
Parity
None
9-9
Stop Bits
1 Stop Bit
9-9
Data Bits
8-bit
9-10
Check Receive Errors
Enable
9-10
Hardware Handshaking
None
9-11
Software Handshaking
None
9-13
Host Serial Response Timeout
2 Sec
9-15
RTS Line State
Low RTS
9-16
Beep on <BEL>
Disable
9-16
Intercharacter Delay
0 msec
9-17
Nixdorf Beep/LED Options
Normal Operation
9-18
Bar Codes with Unknown Characters
Send Bar Code With Unknown Characters
9-18
Page 140
9 - 4 DS2208 Digital Scanner Product Reference Guide
RS-232 Host Parameters Various RS-232 hosts use their own parameter default settings. Selecting standard, ICL, Fujitsu, Wincor-Nixdorf Mode A, Wincor-Nixdorf Mode B, OPOS/JPOS, Olivetti, Omron, or Common Use Terminal Equipment (CUTE-LP/LG bar code readers) sets the defaults listed in Table 9-2. Table 9-2
Terminal Specific RS-232
Parameter
ICL
Fujitsu
WincorNixdorf Mode A
WincorNixdorf Mode B/OPOS/JPOS
Olivetti
Omron
CUTE
Transmit Code ID
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Data Transmission Format
Data/Suffix
Data/Suffix
Data/Suffix
Data/Suffix
Prefix/Data/ Suffix
Data/Suffix
Prefix/Data/ Suffix
Suffix
CR (1013)
CR (1013)
CR (1013)
CR (1013)
ETX (1002)
CR (1013)
CR (1013) ETX (1003)
Baud Rate
9600
9600
9600
9600
9600
9600
9600
Parity
Even
None
Odd
Odd
Even
None
Even
Hardware Handshaking
RTS/CTS Option 3
None
RTS/CTS Option 3
RTS/CTS Option 3
None
None
None
Software Handshaking
None
None
None
None
ACK/NAK
None
None
Serial Response Timeout
9.9 Sec.
2 Sec.
None
None
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
7-Bit
8-Bit
7-Bit
Beep On <BEL>
Disable
Disable
Disable
Disable
Disable
Disable
Disable
RTS Line State
High
Low
Low
Low = No data to send
Low
High
High
Prefix
None
None
None
None
STX (1003)
None
STX (1002)
In the Wincor-Nixdorf Mode A/B, if CTS is low, scanning is disabled. When CTS is high, scanning is enabled. If you scan Wincor-Nixdorf RS-232 Mode A/B without connecting the scanner 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. The CUTE host disables all parameter scanning, including Set Defaults. If you inadvertently select CUTE, scan *Enable Parameter Bar Code Scanning (1) on page 5-6, then change the host selection.
Page 141
RS-232 Interface 9 - 5
RS-232 Host Parameters (continued) Selecting ICL, Fujitsu, Wincor-Nixdorf Mode A, Wincor-Nixdorf Mode B, OPOS/JPOS, Olivetti, Omron, or CUTE-LP/LG bar code readers transmits the code ID characters listed in Table 9-3. These code ID characters are not programmable and are separate from the Transmit Code ID feature. Do not enable the Transmit Code ID feature for these terminals. Table 9-3
Terminal Specific Code ID Characters
Code Type
ICL
WincorNixdorf Mode A
Fujitsu
Wincor-Nixdorf Mode B/ OPOS/JPOS
Olivetti
Omron
CUTE
UPC-A
A
A
A
A
A
A
A
UPC-E
E
E
C
C
C
E
None
EAN-8/JAN-8
FF
FF
B
B
B
FF
None
EAN-13/JAN-13
F
F
A
A
A
F
A
Code 39
C <len>
None
M
M
M <len>
C <len>
3
Code 39 Full ASCII
None
None
M
M
None
None
3
Codabar
N <len>
None
N
N
N <len>
N <len>
None
Code 128
L <len>
None
K
K
K <len>
L <len>
5
I 2 of 5
I <len>
None
I
I
I <len>
I <len>
1
Code 93
None
None
L
L
L <len>
None
None
D 2 of 5
H <len>
None
H
H
H <len>
H <len>
2
GS1-128
L <len>
None
P
P
P <len>
L <len>
5
MSI
None
None
O
O
O <len>
None
None
Bookland EAN
F
F
A
A
A
F
None
Trioptic
None
None
None
None
None
None
None
Code 11
None
None
None
None
None
None
None
IATA
H<len>
None
H
H
H<len>
H<len>
2
Code 32
None
None
None
None
None
None
None
GS1 DataBar Variants
None
None
E
E
None
None
None
PDF417
None
None
Q
Q
None
None
6
Data Matrix
None
None
R
R
None
None
4
GS1 Data Matrix
None
None
W
W
None
None
None
QR Codes
None
None
U
U
None
None
7
GS1 QR
None
None
X
X
None
None
None
Page 142
9 - 6 DS2208 Digital Scanner Product Reference Guide
Table 9-3
Terminal Specific Code ID Characters (Continued)
Code Type
ICL
WincorNixdorf Mode A
Fujitsu
Wincor-Nixdorf Mode B/ OPOS/JPOS
Olivetti
Omron
CUTE
Aztec/Aztec Rune
None
None
V
V
None
None
8
Maxicode
None
None
T
T
None
None
None
MicroPDF
None
None
S
S
None
None
6
RS-232 Host Types To select an RS-232 host interface, scan one of the following bar codes. NOTE For a list of supported scanner functionality by communication protocol, see Appendix J, Communication Protocol Functionality.
*Standard RS-2321
ICL RS-232
Wincor-Nixdorf RS-232 Mode A
Wincor-Nixdorf RS-232 Mode B
1Scanning Standard RS-232 activates the RS-232 driver, but does not change port settings (e.g., parity, data bits, handshaking). Selecting another RS-232 host type bar code changes these settings.
Page 143
RS-232 Interface 9 - 7
RS-232 Host Types (continued)
Olivetti ORS4500
Omron
OPOS/JPOS
Fujitsu RS-232
CUTE2
2The CUTE host disables all parameter scanning, including Set Defaults. If you inadvertently select CUTE, scan
*Enable Parameter Bar Code Scanning (1) on page 5-6, and then change the host selection.
Page 144
9 - 8 DS2208 Digital Scanner Product Reference Guide
Baud Rate Baud rate is the number of bits of data transmitted per second. Scan one of the following bar codes to 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. NOTE The scanner does not support baud rates below 9600.
*Baud Rate 9600
Baud Rate 19,200
Baud Rate 38,400
Baud Rate 57,600
Baud Rate 115,200
Page 145
RS-232 Interface 9 - 9
Parity A parity check bit is the most significant bit of each ASCII coded character. Scan one of the following bar codes to select the parity type according to host device requirements:
• Odd - This sets the parity bit value to 0 or 1, based on data, to ensure that the coded character contains an odd number of 1 bits.
• Even - This sets the parity bit value to 0 or 1, based on data, to ensure that the coded character contains an even number of 1 bits.
• None - No parity bit is required.
Odd
Even
*None Stop Bits The stop bit(s) at the end of each transmitted character marks the end of transmission of one character and prepares the receiving device for the next character in the serial data stream. Scan one of the following bar codes to set the number of stop bits (one or two) based on the number the receiving host can accommodate.
*1 Stop Bit
2 Stop Bits
Page 146
9 - 10 DS2208 Digital Scanner Product Reference Guide
Data Bits This parameter allows the scanner to interface with devices requiring a 7-bit or 8-bit ASCII protocol.
7-bit
*8-bit Check Receive Errors Scan one of the following bar codes to set whether to check the parity, framing, and overrun of received characters. The parity value of received characters is verified against the value set for Parity on page 9-9.
*Check For Received Errors
Do Not Check For Received Errors