The text of a manual · part 14 of 35
DS9208-1D Digital Scanner Product Reference Guide: RS-232 Interface, pages 103 to 110
Pages 103 to 110 of 276, from DS9208-1D Digital Scanner Product Reference Guide
The original document is the PDF (6.4 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 Motorola DS-9208
Page 103
CHAPTER 6 RS-232 INTERFACE Introduction This chapter describes how to set up the digital scanner with an RS-232 host. Use the RS-232 interface to connect the digital scanner to point-of-sale devices, host computers, or other devices with an available RS-232 port (e.g., com port). If your host does not appear in Table 6-2, refer to the documentation for the host device to set communication parameters to match the host. NOTE
The digital scanner uses TTL RS-232 signal levels, which interface with most system architectures. For system architectures requiring RS-232C signal levels, Motorola offers different cables providing TTL-to-RS-232C conversion. Contact Motorola Enterprise Mobility Support for more information.
Throughout the programming bar code menus, asterisks (*) indicate default values.
* Indicates Default
NOTE
*Baud Rate 57,600
Feature/Option
Most computer monitors allow scanning the 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 are not merging.
Page 104
6-2
DS9208-1D Product Reference Guide
Connecting an RS-232 Interface Connect the digital scanner directly to the host computer.
Interface Cable
Serial Port Connector to Host
Power Supply Cable Figure 6-1 RS-232 Direct Connection NOTE
Interface cables vary depending on configuration. The connectors illustrated in Figure 6-1 are examples only. The connectors may be different than those illustrated, but the steps to connect the digital scanner are the same.
1.
Attach the modular connector of the RS-232 interface cable to the cable interface port on the digital 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.
Connect the power supply 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 6-6.
5.
To modify any other parameter options, scan the appropriate bar codes in this chapter.
Page 105
RS-232 Interface
RS-232 Parameter Defaults Table 6-1 lists the defaults for RS-232 host parameters. To change any option, scan the appropriate bar code(s) provided in the RS-232 Host Parameters section beginning on page 6-4. NOTE
See Appendix A, Standard Default Parameters for all user preferences, hosts, symbologies, and miscellaneous default parameters.
Table 6-1 RS-232 Host Default Table
Parameter
Default
Page Number
RS-232 Host Parameters RS-232 Host Types
Standard
6-6
Baud Rate
9600
6-8
Parity Type
None
6-9
Stop Bits
1
6-10
Data Bits
8-bit
6-10
Check Receive Errors
Enable
6-11
Hardware Handshaking
None
6-11
Software Handshaking
None
6-13
Host Serial Response Timeout
2 Sec
6-15
RTS Line State
Low RTS
6-16
Beep on <BEL>
Disable
6-16
Intercharacter Delay
0 msec
6-17
Nixdorf Beep/LED Options
Normal Operation
6-18
Ignore Unknown Characters
Send Bar Code
6-18
Note: The DS9208 supports one stop bit only.
6-3
Page 106
6-4
DS9208-1D 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 6-2. Table 6-2
Terminal Specific RS-232
Parameter
ICL
Fujitsu
WincorNixdorf Mode A
WincorNixdorf Mode B/OPOS/JPOS
Olivetti
Omron
CUTE
Baud Rate
9600
9600
9600
9600
9600
9600
9600
Parity
Even
None
Odd
Odd
Even
None
Even
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
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.
RTS Line State
High
Low
Low
Low = No data to send
Low
High
High
Beep On <BEL>
Disable
Disable
Disable
Disable
Disable
Disable
Disable
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
Prefix
None
None
None
None
STX (1002)
None
STX (1002)
Suffix
CR (1013)
CR (1013)
CR (1013)
CR (1013)
ETX (1003)
CR (1013)
CR (1013) ETX (1003)
In the Nixdorf Mode B, if CTS is low, scanning is disabled. When CTS is high, scanning is enabled. If you scan Nixdorf Mode B without connecting the digital 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 digital scanner. The CUTE host disables all parameter scanning, including Set Defaults. If you inadvertently select CUTE, scan *Enable Parameter Bar Code Scanning (01h) on page 4-5, then change the host selection.
Page 107
RS-232 Interface
6-5
RS-232 Host Parameters (continued) Selecting 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) enables the transmission of code ID characters listed in Table 6-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 6-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
Bookland EAN
F
F
A
A
A
F
None
Code 39
C <len>
None
M
M
M <len>
C <len>
3
Code 39 Full ASCII
None
None
M
M
None
None
3
Trioptic
None
None
None
None
None
None
None
Code 32
None
None
None
None
None
None
None
Codabar
N <len>
None
N
N
N <len>
N <len>
None
Code 128
L <len>
None
K
K
K <len>
L <len>
5
GS1-128
L <len>
None
P
P
P <len>
L <len>
5
Code 93
None
None
L
L
L <len>
None
None
I 2 of 5
I <len>
None
I
I
I <len>
I <len>
1
D 2 of 5
H <len>
None
H
H
H <len>
H <len>
2
MSI
None
None
O
O
O <len>
None
None
Code 11
None
None
None
None
None
None
None
IATA
H<len>
None
H
H
H<len>
H<len>
2
GS1 Databar Variants
None
None
E
E
None
None
None
Page 108
6-6
DS9208-1D Product Reference Guide
RS-232 Host Types To select an RS-232 host interface, scan one of the following bar codes.
*Standard RS-2321
ICL RS-232
Wincor-Nixdorf RS-232 Mode A
Wincor-Nixdorf RS-232 Mode B
Olivetti ORS4500
Omron
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 109
RS-232 Interface
6-7
RS-232 Host Types (continued)
OPOS/JPOS
Fujitsu RS-232
CUTE 1
1The CUTE host disables all parameter scanning, including Set Defaults. If you inadvertently select CUTE, scan *Enable Parameter Bar Code Scanning (01h) on page 4-5, then change the host selection.
Page 110
6-8
DS9208-1D Product Reference Guide
Baud Rate Baud rate is the number of bits of data transmitted per second. Set the digital 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 digital 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