Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeEnglishEspañolContact

The text of a manual · part 20 of 48

DS2208 Digital Scanner Product Reference Guide: Chapter 9 RS-232 Interface, pages 147 to 156

Pages 147 to 156 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 147

RS-232 Interface 9 - 11

Hardware Handshaking The data interface consists of an RS-232 port designed to operate either with or without the hardware handshaking lines Request to Send (RTS) and Clear to Send (CTS). If hardware handshaking and software handshaking are both enabled, hardware handshaking takes precedence. NOTE The DTR signal is jumpered to the active state.

Options:

• None - This disables hardware handshaking and transmits scan data as it becomes available. • Standard RTS/CTS - This sets standard RTS/CTS hardware handshaking and transmits scanned data according to the following sequence: a. The scanner reads the CTS line for activity:

• If the CTS line is de-asserted, the scanner asserts the RTS line and waits up to Host Serial Response Timeout on page 9-15 for the host to assert CTS, and then transmits data when asserted. If, after the timeout, the CTS line is not asserted, the scanner sounds a transmit error and discards the data. • If CTS is asserted, the scanner waits up to Host Serial Response Timeout for the host to de-assert CTS. If after this timeout the CTS line is still asserted, the scanner sounds a transmit error and discards the scanned data. b. The scanner de-asserts RTS after sending the last character of data. c. The host negates CTS. The scanner checks for a de-asserted CTS upon the next data transmission.

During data transmission, if CTS is deasserted for more than 50 ms between characters, the scanner sounds a transmit error and discards the data. The data must be re-scanned.

• RTS/CTS Option 1 - The scanner asserts RTS before transmitting and ignores the state of CTS. The scanner de-asserts RTS when transmission completes.

• RTS/CTS Option 2 - RTS is always high or low (user-programmed logic level). However, the scanner waits for the host to assert CTS before transmitting data. If CTS is not asserted within the Host Serial Response Timeout, the scanner sounds a transmit error and discards the data. During data transmission, if CTS is deasserted for more than 50 ms between characters, the scanner sounds a transmit error and discards the data.

• RTS/CTS Option 3 - This transmits scanned data according to the following sequence: a. The scanner asserts RTS before data transmission, regardless of the state of CTS. b. The scanner waits up to the Host Serial Response Timeout for the host to assert CTS, and then transmits data when asserted. If, after the timeout, the CTS line is not asserted, the scanner sounds a transmit error and discards the data. c. The scanner de-asserts RTS after sending the last character of data. d. The host negates CTS. The scanner checks for a de-asserted CTS upon the next data transmission.

During data transmission, if CTS is deasserted for more than 50 ms between characters, the scanner sounds a transmit error and discards the data. The data must be re-scanned.

Page 148

9 - 12 DS2208 Digital Scanner Product Reference Guide

Hardware Handshaking (continued)

*None

Standard RTS/CTS

RTS/CTS Option 1

RTS/CTS Option 2

RTS/CTS Option 3

Page 149

RS-232 Interface 9 - 13

Software Handshaking This parameter offers control of data transmission in addition to, or instead of, that offered by hardware handshaking. If software handshaking and hardware handshaking are both enabled, hardware handshaking takes precedence. Options:

• None - This transmits data immediately. The scanner expects no response from the host. • ACK/NAK - After transmitting data, the scanner waits for an ACK or NAK response from the host. If it receives a NAK, the scanner transmits the data again and waits for an ACK or NAK. After three unsuccessful attempts to send data after receiving NAKs, the scanner sounds a transmit error and discards the data. The scanner waits up to the programmable Host Serial Response Timeout to receive an ACK or NAK. If the scanner does not get a response in this time, it sounds a transmit error and discards the data. There are no reattempts.

• ENQ - The scanner waits for an ENQ character from the host before transmitting data. If it does not receive an ENQ within the Host Serial Response Timeout, the scanner sounds a transmit error and discards the data. The host must transmit an ENQ character at least every Host Serial Response Timeout to prevent transmission errors.

• ACK/NAK with ENQ - This combines the two previous options. An additional ENQ is not required to re-transmit data due to a NAK from the host.

• XON/XOFF - An XOFF character stops data transmission until the scanner receives an XON character. There are two situations for XON/XOFF: • The scanner receives an XOFF before it has data to send. When the scanner has data, it waits up to the Host Serial Response Timeout for an XON character before transmitting. If it does not receive the XON within this time, the scanner sounds a transmit error and discards the data. • The scanner receives an XOFF during data transmission and stops transmission after sending the current byte. When the scanner receives an XON character, it sends the rest of the data. The scanner waits indefinitely for the XON.

Page 150

9 - 14 DS2208 Digital Scanner Product Reference Guide

Software Handshaking (continued)

*None

ACK/NAK

ENQ

ACK/NAK with ENQ

XON/XOFF

Page 151

RS-232 Interface 9 - 15

Host Serial Response Timeout Scan one of the following bar codes to specify how long the scanner waits for an ACK, NAK, or CTS before determining that a transmission error occurred. This only applies when in one of the ACK/NAK software handshaking modes, or RTS/CTS hardware handshaking mode.

*Minimum: 2 Seconds

Low: 2.5 Seconds

Medium: 5 Seconds

High: 7.5 Seconds

Maximum: 9.9 Seconds

Page 152

9 - 16 DS2208 Digital Scanner Product Reference Guide

RTS Line State Scan one of the following bar codes to set the idle state of the serial host RTS line to Low RTS or High RTS.

*Host: Low RTS

Host: High RTS

Beep on <BEL> Scan one of the following bar codes to set whether the scanner issues a beep when it detects a <BEL> character on the RS-232 serial line. <BEL> indicates an illegal entry or other important event.

Beep On <BEL> Character (Enable)

*Do Not Beep On <BEL> Character (Disable)

Page 153

RS-232 Interface 9 - 17

Intercharacter Delay Scan one of the following bar codes to specify the intercharacter delay inserted between character transmissions.

*Minimum: 0 msec

Low: 25 msec

Medium: 50 msec

High: 75 msec

Maximum: 99 msec

Page 154

9 - 18 DS2208 Digital Scanner Product Reference Guide

Nixdorf Beep/LED Options If you selected Nixdorf Mode B, scan one of the following bar codes to indicate when the scanner beeps and turns on its LED after a decode.

*Normal Operation (Beep/LED Immediately After Decode)

Beep/LED After Transmission

Beep/LED After CTS Pulse

Bar Codes with Unknown Characters Unknown characters are characters the host does not recognize. Scan Send Bar Codes With Unknown Characters to send all bar code data except for unknown characters. The scanner issues no error beeps. Scan Do Not Send Bar Codes With Unknown Characters to send bar code data up to the first unknown character. The scanner issues an error beep.

*Send Bar Codes With Unknown Characters

Do Not Send Bar Codes With Unknown Characters

Page 155

RS-232 Interface 9 - 19

ASCII Character Set for RS-232 See Appendix I, ASCII Character Sets for Prefix/Suffix values. The values in Table I-1 can be assigned as prefixes or suffixes for ASCII character data transmission.

Page 156

9 - 20 DS2208 Digital Scanner Product Reference Guide