The text of a manual · part 18 of 39
Symbol MS4404/MS4407 Integration Guide: Symbol MS4404 - RS-232 (Serial) Interface, pages 123 to 130
Pages 123 to 130 of 310, from Symbol MS4404/MS4407 Integration Guide
The original document is the PDF (5.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 MS-4407
Page 123
Symbol MS4404 - RS-232 (Serial) Interface
Data Bits This parameter allows the imager to interface with devices requiring a 7-bit or 8-bit ASCII protocol.
7-Bit
*8-Bit 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
9-9
Page 124
9 - 10 Symbol MS4404/MS4407 Integration Guide
Hardware Handshaking The data interface consists of a serial 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, decoded data is transmitted as it becomes available. If Standard RTS/CTS handshaking is selected, decoded data is transmitted according to the following sequence:
• The imager reads the CTS line for activity. If CTS is asserted, the imager 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 imager sounds a transmit error, and any decoded data is lost.
• When the CTS line is de-asserted, the imager 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 imager sounds a transmit error, and discards the data.
• When data transmission is complete, the imager de-asserts RTS 10 msec after sending the last character. • The host should respond by negating CTS. The imager 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 imager sounds a transmission error, and the data is discarded. If the above communication sequence fails, the imager issues an error indication. In this case, the data is lost and must be recaptured. If Hardware Handshaking and Software Handshaking are both enabled, Hardware Handshaking takes precedence. NOTE
The DTR signal is jumpered to the active state.
• None: Capture the bar code below if no Hardware Handshaking is desired. • Standard RTS/CTS: Capture the bar code below to select Standard RTS/CTS Hardware Handshaking. • RTS/CTS Option 1: When RTS/CTS Option 1 is selected, the imager asserts RTS before transmitting and ignores the state of CTS. The imager 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 imager waits for CTS to be asserted before transmitting data. If CTS is not asserted within Host Serial Response Time-out (default), the imager issues an error indication and discards the data.
• RTS/CTS Option 3: When Option 3 is selected, the imager asserts RTS prior to any data transmission, regardless of the state of CTS. The imager waits up to Host Serial Response Time-out (default) for CTS to be asserted. If CTS is not asserted during this time, the imager issues an error indication and discards the data. The imager de-asserts RTS when transmission is complete.
Page 125
Symbol MS4404 - RS-232 (Serial) Interface 9 - 11
Hardware Handshaking (continued)
*None
Standard RTS/CTS
RTS/CTS Option 1
RTS/CTS Option 2
RTS/CTS Option 3
Page 126
9 - 12 Symbol MS4404/MS4407 Integration 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 imager expects either an ACK or NAK response from the host. When a NAK is received, the imager 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 imager issues an error indication and discards the data. The imager waits up to the programmable Host Serial Response Time-out to receive an ACK or NAK. If the imager 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: When this option is selected, the imager 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 imager 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 imager transmission off until the imager receives an XON character. There are two situations for XON/XOFF: • XOFF is received before the imager has data to send. When the imager 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 imager 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 imager receives an XON character, it sends the rest of the data message. The imager waits indefinitely for the XON.
Page 127
Symbol MS4404 - RS-232 (Serial) Interface 9 - 13
Software Handshaking (continued)
*None
ACK/NAK
ENQ
ACK/NAK with ENQ
XON/XOFF
Page 128
9 - 14 Symbol MS4404/MS4407 Integration Guide
Host Serial Response Time-out This parameter specifies how long the imager waits for an ACK, NAK, or CTS before determining that a transmission error has occurred. This only applies when in one of the ACK/NAK Software Handshaking modes, or RTS/CTS Hardware Handshaking option.
*Minimum: 2 Sec
Low: 2.5 Sec
Medium: 5 Sec
High: 7.5 Sec
Maximum: 9.9 Sec
Page 129
Symbol MS4404 - RS-232 (Serial) Interface 9 - 15
RTS Line State This parameter sets the idle state of the Serial Host RTS line. Capture a bar code below to select Low RTS or High RTS line state.
*Host: Low RTS
Host: High RTS
Beep on <BEL> When this parameter is enabled, the imager issues a beep when a <BEL> character is detected on the serial line. <BEL> is issued to gain a user's attention to an illegal entry or other important event.
Beep On <BEL> Character (Enable)
*Do Not Beep On <BEL> Character (Disable)
NOTE
A NULL character must be sent to the imager before BEL to ensure the BEL character is processed correctly.
Page 130
9 - 16 Symbol MS4404/MS4407 Integration Guide
Intercharacter Delay This parameter specifies the intercharacter delay inserted between character transmissions.
*Minimum: 0 msec
Low: 25 msec
Medium: 50 msec
High: 75 msec
Maximum: 99 msec