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 15 of 50

DS6608 Product Reference Guide: RS-232 Interface, pages 93 to 100

Pages 93 to 100 of 402, from DS6608 Product Reference Guide

The original document is the PDF (4.2 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 Symbol DS-6608

Page 93

RS-232 Interface 7-9

RS-232 Host Types (continued)

OPOS/JPOS

Fujitsu RS-232

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.

Baud Rate 600

Baud Rate 1200

Baud Rate 2400

Baud Rate 4800

Page 94

7-10 DS6608 Product Reference Guide

Baud Rate (continued)

*Baud Rate 9600

Baud Rate 19,200

Baud Rate 38,400

Baud Rate 57,600

Page 95

RS-232 Interface 7-11

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

Page 96

7-12 DS6608 Product Reference Guide

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 selected (one or two) depends on the number the receiving terminal is programmed to accommodate. Set the number of stop bits to match host device requirements.

*1 Stop Bit

2 Stop Bits

Data Bits This parameter allows the digital scanner to interface with devices requiring a 7-bit or 8-bit ASCII protocol.

7-Bit

*8-Bit

Page 97

RS-232 Interface 7-13

Check Receive Errors Select whether or not the parity, framing, and overrun of received characters are checked. The parity value of received characters is verified against the parity parameter selected above.

*Check For Received Errors

Do Not Check For Received Errors

Page 98

7-14 DS6608 Product Reference Guide

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 Standard RTS/CTS handshaking is not selected, scan data is transmitted as it becomes available. If Standard RTS/CTS handshaking is selected, scan data is transmitted according to the following sequence: •

•

• •

The digital scanner reads the CTS line for activity. If CTS is asserted, the digital scanner waits up to Host Serial Response Time-out for the host to de-assert the CTS line. If, after Host Serial Response Time-out (default), the CTS line is still asserted, the digital scanner sounds a transmit error, and any scanned data is lost. When the CTS line is de-asserted, the digital scanner asserts the RTS line and waits up to Host Serial Response Time-out for the host to assert CTS. When the host asserts CTS, data is transmitted. If, after Host Serial Response Time-out (default), the CTS line is not asserted, the digital scanner sounds a transmit error, and discards the data. When data transmission is complete, the digital scanner de-asserts RTS 10 msec after sending the last character. The host should respond by negating CTS. The digital scanner checks for a de-asserted CTS upon the next transmission of data.

During the transmission of data, the CTS line should be asserted. If CTS is deasserted for more than 50 ms between characters, the transmission is aborted, the digital scanner sounds a transmission error, and the data is discarded. If the above communication sequence fails, the digital scanner issues an error indication. In this case, the data is lost and must be rescanned. If Hardware Handshaking and Software Handshaking are both enabled, Hardware Handshaking takes precedence. The DTR signal is jumpered to the active state.

Note

• • • •

•

None: Scan the bar code below if no Hardware Handshaking is desired. Standard RTS/CTS: Scan the bar code below to select Standard RTS/CTS Hardware Handshaking. RTS/CTS Option 1: When RTS/CTS Option 1 is selected, the digital scanner asserts RTS before transmitting and ignores the state of CTS. The digital scanner de-asserts RTS when the transmission is complete. RTS/CTS Option 2: When Option 2 is selected, RTS is always high or low (user-programmed logic level). However, the digital scanner waits for CTS to be asserted before transmitting data. If CTS is not asserted within Host Serial Response Time-out (default), the digital scanner issues an error indication and discards the data. RTS/CTS Option 3: When Option 3 is selected, the digital scanner asserts RTS prior to any data transmission, regardless of the state of CTS. The digital scanner waits up to Host Serial Response Time-out (default) for CTS to be asserted. If CTS is not asserted during this time, the digital scanner issues an error indication and discards the data. The digital scanner deasserts RTS when transmission is complete.

Page 99

RS-232 Interface 7-15

Hardware Handshaking (continued)

*None

Standard RTS/CTS

RTS/CTS Option 1

RTS/CTS Option 2

RTS/CTS Option 3

Page 100

7-16 DS6608 Product Reference Guide

Software Handshaking This parameter offers control of the data transmission process in addition to, or instead of, that offered by hardware handshaking. There are five options. If Software Handshaking and Hardware Handshaking are both enabled, Hardware Handshaking takes precedence. • •

•

• •

None: When this option is selected, data is transmitted immediately. No response is expected from host. ACK/NAK: When this option is selected, after transmitting data, the digital scanner expects either an ACK or NAK response from the host. When a NAK is received, the digital scanner transmits the same data again and waits for either an ACK or NAK. After three unsuccessful attempts to send data when NAKs are received, the digital scanner issues an error indication and discards the data. The digital scanner waits up to the programmable Host Serial Response Time-out to receive an ACK or NAK. If the digital scanner does not get a response in this time, it issues an error indication and discards the data. There are no retries when a time-out occurs. ENQ: hen this option is selected, the digital scanner waits for an ENQ character from the host before transmitting data. If an ENQ is not received within the Host Serial Response Time-out, the digital scanner issues an error indication and discards the data. The host must transmit an ENQ character at least every Host Serial Response Time-out to prevent transmission errors. ACK/NAK with ENQ: This combines the two previous options. For re-transmissions of data, due to a NAK from the host, an additional ENQ is not required. XON/XOFF: An XOFF character turns the digital scanner transmission off until the digital scanner receives an XON character. There are two situations for XON/XOFF: • XOFF is received before the digital scanner has data to send. When the digital scanner has data to send, it waits up to Host Serial Response Time-out for an XON character before transmission. If the XON is not received within this time, the digital scanner issues an error indication and discards the data. • XOFF is received during a transmission. Data transmission then stops after sending the current byte. When the digital scanner receives an XON character, it sends the rest of the data message. The digital scanner waits up to 30 seconds for the XON.

*None

ACK/NAK

ENQ