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 13 of 25

LS 6800 Product Reference Guide, pages 121 to 130

Pages 121 to 130 of 249

The original document is the PDF (1.8 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.

Filed in the catalog under the Symbol LS-6804

Page 121

Programming the LS 6800

Stop Bit Select 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. The number of stop bits (one or two) selected depends on the number the receiving terminal is programmed to accommodate. Set the number of stop bits to match host requirements. Select the desired number of stop bits for RS-232C communications.

<FN3>2090201 1 STOP BIT

2 STOP BITS <FN3>2090202

5-81

Page 122

LS 6800 Product Reference Guide

Hardware Handshaking The LS 6800 scanner uses an RS-232C data interface. The RS-232C port is designed to operate either with or without the hardware handshaking lines RTS, Request to Send, and CTS, Clear to Send. If RTS/CTS handshaking is selected, scan data is transmitted according to the following sequence: The scanner reads the CTS line for activity. If CTS is asserted, the scanner waits up to one second for the host to negate the CTS line. After two seconds, if the CTS line is still asserted, the scanner sounds a transmit error and any scanned data is lost. t When the CTS line is negated, the scanner asserts the RTS line and waits for two seconds for the host to assert CTS. When the host asserts CTS, data is transmitted. If the CTS line is not asserted after two seconds, the scanner sounds a transmission error and discards the data. t When data transmission is complete, the scanner negates RTS 10 msec after sending the last character. t The host should respond by negating CTS. The scanner checks for a negated CTS upon the next transmission of data. During the transmission of data, the CTS line should be asserted. If CTS is asserted for less than 50 ms between characters, the transmission is aborted. The scanner sends a transmit error, and the data is discarded. t t

If the above communications sequence fails, the scanner issues an error beep. Data is lost and must be rescanned. Note: The DTR signal is jumpered active.

5-82

Page 123

Programming the LS 6800

Hardware Handshaking (Cont’d) SYMBOL IS DECODED

NO RESPONSE. AFTER 2 SECONDS THE UNIT BEEPS 4 TIMES TO INDICATE A TRANSMISSION ERROR

YES

RTS AND CTS SELECTED?

NO

YES CTS ASSERTED? IF STILL ASSERTED AFTER 2 SECONDS INDICATE TRANSMISSION ERROR

NO

ASSERT RTS

YES NO CTS ASSERTED? IF NOT ASSERTED AFTER 2 SECONDS INDICATE TRANSMISSION ERROR

YES TRANSMIT DATA

FINISHED

Figure 5-1. Hardware Handshaking

5-83

Page 124

LS 6800 Product Reference Guide

Hardware Handshaking (Cont’d) Hardware handshaking allows you to check the readiness of the receiving device before data is transmitted. If the receiving device is periodically occupied with other tasks, hardware handshaking is needed to prevent loss of transmitted data. Hardware handshaking may not be used in conjunction with software handshaking. Select whether the scan data is to be transmitted as soon as it is available or whether transmission follows the RTS/CTS procedure. For RTS/CTS, also select the appropriate option. t t t

RTS/CTS Option 1. The scanner asserts RTS before transmitting and ignores the state of CTS. The scanner deasserts RTS when the transmission is incomplete. RTS/CTS Option 2. RTS is always high or low (user-programmed logic level). However, the scanner waits for CTS to be asserted before transmitting data. If CTS is not asserted within two seconds, the scanner issues an error indication and discards the data. RTS/CTS Option 3. The scanner asserts RTS prior to any data transmission, regardless of the state of CTS. The scanner waits up to two seconds for CTS to be asserted. If CTS is not asserted during this time, the scanner issues an error indication and discards the data. The scanner deasserts RTS when transmission is incomplete.

<FN3>2090500 NONE

5-84

Page 125

Programming the LS 6800

Hardware Handshaking (Cont’d) RTS/CTS

RTS/CTS Option 2

<FN3>2090502

RTS/CTS Option 1

<FN3>2090503

<FN3>2090501

RTS/CTS Option 3 <FN3>2090504

5-85

Page 126

LS 6800 Product Reference Guide

Software Handshaking This parameter offers control of the data transmission process. It may be used instead of, but not in conjunction with, hardware handshaking. ACK/NAK handshaking may be combined with ENQ handshaking. t t t t t

5-86

No Software Handshaking ACK/NAK Only The ACK/NAK option checks the success or failure of transmission. The scanner expects one of the following host responses after a data transmission: <ACK> - Acknowledges a valid and successful transmission. <NAK> - Indicates a problem with the transmission. Whenever a <NAK> is received, the unit retransmits the same data and awaits an ACK/NAK response. After three unsuccessful attempts to transmit the same data, the scanner aborts any further communication attempts on that message. Transmission error is indicated by the unit sounding 4 short beeps. ENQ ONLY To ensure that data transmission occurs only when the host is ready to receive, the ENQ option requires the host to request data before it is transmitted there. When the ENQ option is enabled, the scanner waits for an ENQ (Enquire character) from the host before it transmits data. The scanner must receive an ENQ from the host within 2 seconds after the last activity or 4 short beeps sound to indicate a transmission error. The unit is now ready to scan again. ACK/NAK with ENQ This combines both handshaking options. XON/XOFF

Page 127

Programming the LS 6800

Software Handshaking (Cont’d) SYMBOL IS DECODED

YES

ENQ SWITCHED ON?

NO

WAIT FOR ENQ CHARACTER TO BE RECEIVED FROM HOST

NO RESPONSE. AFTER 2 SECONDS THE UNIT BEEPS 4 TIMES TO INDICATE A TRANSMISSION ERROR DATA IS TRANSMITTED

YES

ACK/NAK SWITCH ON?

NO

WAIT FOR ACK OR NAK RESPONSE FROM HOST

NO ACK RESPONSE?

NO

YES TRY 3 TIMES?

NO RESPONSE. AFTER 2 SECONDS THE UNIT BEEPS 4 TIMES TO INDICATE A TRANSMISSION ERROR

YES 4 LONG BEEPS

FINISHED

Figure 5-2. Software Handshaking

5-87

Page 128

LS 6800 Product Reference Guide

Software Handshaking (Cont’d) Select the type of RS-232C software handshaking protocol.

<FN3>2090400

ACK/NAK

ACK/NAK with ENQ <FN3>2090402

5-88

<FN3>2090403

ENQ ONLY

<FN3>2090401

NONE

Page 129

Programming the LS 6800

Software Handshaking (Cont’d)

<FN3>2090404 XON/XOFF

5-89

Page 130

LS 6800 Product Reference Guide

Data Transmission (7 or 8-Bit ASCII Format) This parameter determines whether data transmits in 7-bit or 8-bit ASCII format. Select this parameter according to the requirement of the receiving device. The default value is 8-bit ASCII.

<FN3>2090707 7-BIT

8-BIT <FN3>2090708

5-90