The text of a manual · part 12 of 24
LS 4800/4900 Product Reference Guide, pages 111 to 120
Pages 111 to 120 of 239
The original document is the PDF (2.6 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 LS-4804 and Symbol LS-4904
Page 111
LS 4800/4900 Product Reference Guide
RS-232C Host Types (Continued) Scan one of the following bar codes to select an RS-232C host.
5-62
<FN3>2050A37
<FN3>2050A89
Standard RS-232C
ICL RS-232C
<FN3>2050A8A
<FN3>2050A8B
Nixdorf RS-232C
Fujitsu RS-232C
<FN3>2050A8C
<FN3>2050A8D
Beetle RS-232C
PDT 3300
Page 112
Programming the LS 4800
Baud Rate Baud rate is the number of bits of data transmitted per second. The scanner's respective baud rate settings should match the data rate settings of the host and auxiliary devices. If not, data may not reach the devices or may reach them in distorted form. Set the baud rate for RS-232C transmission.
<FN3>2090100
<FN3>2090101
110
300
<FN3>2090102
<FN3>2090103
600
1200
<FN3>2090104
<FN3>2090105
2400
4800
<FN3>2090106
<FN3>2090107
9600
19200
<FN3>2090108 38400
5-63
Page 113
LS 4800/4900 Product Reference Guide
Parity A parity check bit is the most significant bit of each ASCII coded character and is helpful in detecting transmission errors. If you select ODD parity, the parity bit has a value 0 or 1, based on data, to ensure that an odd number of 1 bits are contained in the coded character. If you select EVEN parity, the parity bit has a value 0 or 1, to ensure that an even number of 1 bits are contained in the coded character. If MARK is selected, the parity bit is always 1, while if SPACE is selected, the parity bit is always 0. Set the type of parity for RS-232C transmission.
<FN3>2090300
<FN3>2090301
Odd
Even
<FN3>2090302
<FN3>2090303
Mark
Space
<FN3>2090304 None
5-64
Page 114
Programming the LS 4800
Check Parity Select whether or not the parity of received characters is checked. The type of parity used is selectable through the PARITY parameter.
<FN3>1080011
<FN3>1080010
Check Parity
Do Not Check Parity
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 device requirements. Select the desired number of stop bits for RS-232C communications.
<FN3>2090201
<FN3>2090202
1 Stop Bit
2 Stop Bits
5-65
Page 115
LS 4800/4900 Product Reference Guide
Hardware Handshaking The data interface consists of an RS-232C 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 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 2 seconds for the host to negate the CTS line. If, after 2 seconds (default), the CTS line is still asserted, the scanner sounds a transmit error and any scanned data is lost.
!
When the CTS line is negated, the scanner asserts the RTS line and waits up to 2 seconds for the host to assert CTS. When the host asserts CTS, data is transmitted. If, after 2 seconds (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 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 sounds a transmission error, and the data is discarded. If the above communications sequence fails, the scanner issues an error indication. In this case, the data is lost and must be rescanned. Note: The DTR signal is jumpered active. 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. !
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.
5-66
Page 116
Programming the LS 4800
!
RTS/CTS Option 3: The scanner asserts RTS prior to 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
<FN3>2090501 RTS/CTS
<FN3>2090502
<FN3>2090503
RTS/CTS Option 1
RTS/CTS Option 2
<FN3>2090504 RTS/CTS Option 3
5-67
Page 117
LS 4800/4900 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. !
No Software Handshaking: Data is transmitted immediately.
!
ACK/NAK Only: When this option is selected, after transmitting data, the scanner expects either an ACK or NAK response from the host. When a NAK is received, the 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 scanner issues an error indication and discards the data.
!
ENQ Only: When this option is selected, the scanner waits for an ENQ character from the host before transmitting data. If an ENQ is not received within 2 seconds, the scanner issues an error indication and discards the data. The host must transmit an ENQ character at least every 2 seconds to prevent transmission errors.
!
ACK/NAK with ENQ: This combines the two previous handshaking options.
!
XON/XOFF: An XOFF character turns the scanner transmission off until the scanner receives an XON character. There are two situations for XON/XOFF: " XOFF is received before the scanner has data to send. When the scanner has data to send, it then waits for an XON character before transmission. The scanner waits up to 2 seconds to receive the XON. If the XON is not received within this time, the 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 scanner receives an XON character, it sends the rest of the data message. The scanner waits indefinitely for the XON.
Select the type of RS-232C software handshaking protocol.
5-68
Page 118
Programming the LS 4800
Software Handshaking (Continued)
<FN3>2090400
<FN3>2090401
None
ACK/NAK
<FN3>2090402
<FN3>2090403
ACK/NAK with ENQ
ENQ Only
<FN3>2090404 XON/XOFF
5-69
Page 119
LS 4800/4900 Product Reference Guide
Intercharacter Delay Select the intercharacter delay option matching host device requirements. The intercharacter delay gives the host system time to service its receiver and perform other tasks between characters. Select from no delay to a 99 ms delay between the transmission of each character. To set a host communications intercharacter delay: 1. Scan the INTERCHARACTER DELAY bar code below. 2. Scan two bar codes on the next page which represent the desired delay. You must always scan two bar codes. 3. If you make an error, or wish to change your selection, scan CANCEL.
<FN3>30C0C20063 Intercharacter Delay
5-70
Page 120
Programming the LS 4800
Intercharacter Delay (Continued)
<FN3>A0
<FN3>A1
0
1
<FN3>A2
<FN3>A3
2
3
<FN3>A4
<FN3>A5
4
5
<FN3>A6
<FN3>A7
6
7
<FN3>A8
<FN3>A9
8
9
<FN3>ACancel
5-71