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 29 of 44

MiniScan MS XX07 Series Integration Guide: Chapter 11 RS-232 Interface, pages 251 to 258

Pages 251 to 258 of 406, from MiniScan MS XX07 Series Integration Guide

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

For the Symbol MS-1207

Page 251

RS-232 Interface

Baud Rate (continued)

*Baud Rate 9600

Baud Rate 19,200

Baud Rate 38,400

11-9

Page 252

MS XX07 Series Integration Guide

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.

Odd

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.

Even

Select Mark parity and the parity bit is always 1.

Mark

11-10

Page 253

RS-232 Interface

Parity (continued) Select Space parity and the parity bit is always 0.

Space

Select None when no parity bit is required.

*None

11-11

Page 254

MS XX07 Series Integration 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) the host device is programmed to accommodate.

*1 Stop Bit

2 Stop Bits

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

7-Bit

*8-Bit 11-12

Page 255

RS-232 Interface

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 earlier.

*Check For Received Errors

Do Not Check For Received Errors

11-13

Page 256

MS XX07 Series Integration 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. Select Standard RTS/CTS handshaking to transmit scan data according to the following sequence: •

The scanner reads the CTS line for activity. If CTS is asserted, the scanner waits up to the Host Serial Response Time-out for the host to negate the CTS line. If, after the Host Serial Response Time-out (default), the CTS line is still asserted, the scanner sounds a transmit error and discards any scanned data.

•

When the CTS line is negated, the scanner asserts the RTS line and waits up to the Host Serial Response Time-out for the host to assert CTS. When the host asserts CTS, the scanner transmits the data. If, after the Host Serial Response Time-out (default), the CTS line is not asserted, the scanner sounds a transmit error, and discards the data.

•

When data transmission is complete, the scanner negates RTS 10 msec after sending the last character.

•

The host responds by negating CTS. The scanner checks for a negated 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 transmission is aborted, the scanner sounds a transmission error, and the data is discarded. If this communications sequence fails, the 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.

11-14

Page 257

RS-232 Interface

None Scan the bar code below if no Hardware Handshaking is desired.

*None Standard RTS/CTS Scan the bar code below to select Standard RTS/CTS Hardware Handshaking.

Standard RTS/CTS

RTS/CTS Option 1 When RTS/CTS Option 1 is selected, the scanner asserts RTS before transmitting and ignores the state of CTS. The scanner de-asserts RTS when the transmission is complete.

RTS/CTS Option 1

RTS/CTS Option 2 When Option 2 is selected, 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 the Host Serial Response Time-out (default), the scanner issues an error indication and discards the data.

RTS/CTS Option 2

11-15

Page 258

MS XX07 Series Integration Guide

RTS/CTS Option 3 When Option 3 is selected, the scanner asserts RTS prior to any data transmission, regardless of the state of CTS. The scanner waits up to the Host Serial Response Time-out (default) 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 de-asserts RTS when transmission is complete.

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 When this option is selected, data is transmitted immediately.

*None

11-16