The text of a manual · part 20 of 48
Symbol DS6707 Digital Imager Scanner Product Reference Guide: RS-232 Interface, pages 137 to 144
Pages 137 to 144 of 394, from Symbol DS6707 Digital Imager Scanner Product Reference Guide
The original document is the PDF (8.1 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-6707
Page 137
RS-232 Interface
8-9
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 to set the parity bit value to 0 or 1, based on data, to ensure that the coded character contains an odd number of 1 bits
• Select Even parity to set the parity bit value to 0 or 1, based on data, to ensure that the coded character contains an even number of 1 bits.
• Select None when no parity bit is required.
Odd
Even
*None
Page 138
8 - 10 Symbol DS6707 Digital Imager Scanner 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. Select the number of stop bits (one or two) based 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 imager scanner to interface with devices requiring a 7-bit or 8-bit ASCII protocol.
7-Bit
*8-Bit
Page 139
RS-232 Interface 8 - 11
Check Receive Errors Select whether or not to check the parity, framing, and overrun of received characters. The parity value of received characters is verified against the parity parameter selected above.
*Check For Received Errors
Do Not Check For Received Errors
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). Disable Standard RTS/CTS handshaking to transmit scan data as it becomes available. Select Standard RTS/CTS handshaking to transmit scan data according to the following sequence:
• The digital imager scanner reads the CTS line for activity. If CTS is asserted, the digital imager 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 imager scanner sounds a transmit error, and discards any scanned data.
• When the CTS line is de-asserted, the digital imager 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, the scanner transmits data. If, after Host Serial Response Time-out (default), the CTS line is not asserted, the digital imager scanner sounds a transmit error, and discards the data.
• When data transmission completes, the digital imager scanner de-asserts RTS 10 msec after sending the last character.
• The host should respond by negating CTS. The digital imager scanner checks for a de-asserted CTS upon the next transmission of data. During data transmission, the CTS line should be asserted. If CTS is deasserted for more than 50 ms between characters, the scanner aborts transmission, sounds a transmission error, and discards the data. If this communication sequence fails, the digital imager 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. NOTE
The DTR signal is jumpered to the active state.
Page 140
8 - 12 Symbol DS6707 Digital Imager Scanner Product Reference Guide
Hardware Handshaking (continued) • None: Scan this bar code to disable hardware handshaking. • Standard RTS/CTS: Scan this bar code to select Standard RTS/CTS Hardware Handshaking. • RTS/CTS Option 1: If you select RTS/CTS Option 1, the digital imager scanner asserts RTS before transmitting and ignores the state of CTS. The digital imager scanner de-asserts RTS when the transmission is complete.
• RTS/CTS Option 2: If you select Option 2, RTS is always high or low (user-programmed logic level). However, the digital imager scanner waits for CTS to be asserted before transmitting data. If CTS is not asserted within Host Serial Response Time-out (default), the digital imager scanner issues an error indication and discards the data.
• RTS/CTS Option 3: If you select Option 3, the digital imager scanner asserts RTS prior to any data transmission, regardless of the state of CTS. The digital imager 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 imager scanner issues an error indication and discards the data. The digital imager scanner de-asserts RTS when transmission completes.
*None
Standard RTS/CTS
RTS/CTS Option 1
Page 141
RS-232 Interface 8 - 13
Hardware Handshaking (continued)
RTS/CTS Option 2
RTS/CTS Option 3
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: Select this option to transmit data immediately. No response is expected from host. • ACK/NAK: If you select this option, after transmitting data, the digital imager scanner expects either an ACK or NAK response from the host. When it receives a NAK, the digital imager scanner transmits the same data again and waits for either an ACK or NAK. After three unsuccessful attempts to send data after receiving NAKs, the digital imager scanner issues an error indication and discards the data. The digital imager scanner waits up to the programmable Host Serial Response Time-out to receive an ACK or NAK. If the digital imager 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: If you select this option, the digital imager scanner waits for an ENQ character from the host before transmitting data. If it does not receive an ENQ within the Host Serial Response Time-out, the digital imager 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.
Page 142
8 - 14 Symbol DS6707 Digital Imager Scanner Product Reference Guide
Software Handshaking (continued) • XON/XOFF: An XOFF character turns the digital imager scanner transmission off until the digital imager 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 digital imager scanner has data to send, it waits up to Host Serial Response Time-out for an XON character before transmission. If it does not receive the XON within this time, the digital imager scanner issues an error indication and discards the data. • The scanner receives an XOFF during a transmission. Data transmission then stops after sending the current byte. When the digital imager scanner receives an XON character, it sends the rest of the data message. The digital imager scanner waits indefinitely for the XON.
*None
ACK/NAK
ENQ
ACK/NAK with ENQ
XON/XOFF
Page 143
RS-232 Interface 8 - 15
Host Serial Response Time-out This parameter specifies how long the digital imager 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 Sec
Low: 2.5 Sec
Medium: 5 Sec
High: 7.5 Sec
Maximum: 9.9 Sec
Page 144
8 - 16 Symbol DS6707 Digital Imager Scanner Product Reference Guide
RTS Line State This parameter sets the idle state of the Serial Host RTS line. Scan a bar code below to select Low RTS or High RTS line state.
*Host: Low RTS
Host: High RTS
Beep on <BEL> If you enable this parameter, the digital imager scanner issues a beep when it detects a <BEL> character on the RS-232 serial line. <BEL> gains a user's attention to an illegal entry or other important event.
Beep On <BEL> Character (Enable)
*Do Not Beep On <BEL> Character (Disable)