
8-13
Programming
Hardware Handshaking
Hardware Handshaking allows a check of the host the readiness before transmitting data.
If the host is periodically occupied with other tasks, Hardware Handshaking is needed to
prevent loss of transmitted data. Refer to the Hardware Handshaking diagram, Figure 8-1.
RS-232C communications are designed to operate either with or without hardware
handshaking lines - Request to Send (RTS), and Clear to Send (CTS).
If RTS/CTS handshaking is selected, scan data is transmitted with the following sequence
(Note that the DTR signal is hard wired active):
1.
The scanner (LS 1220) 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 the CTS line is still asserted, the scanner sounds a transmit error (if
equipped with optional beeper), and any scanned data is lost.
2.
When the CTS line is negated, the scanner asserts the RTS line and waits 2
seconds for the host to assert CTS. When the host asserts CTS, data is
transmitted. If, after 2 seconds the CTS line is still not asserted, the scanner
sounds a transmit error (if equipped with optional beeper), and any scanned data
is lost.
3.
When data transmission is complete, the scanner negates RTS 10 msec after
sending the last character.
4.
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 the above communications sequence fails, the scanner issues a transmit error. In this
case, the data is lost and must be rescanned.
If no Hardware Handshaking is selected, data is transmitted based on the Software
Handshaking options which follow.
Summary of Contents for LS 1220
Page 2: ...LS 1220 Product Reference Guide ...
Page 3: ......
Page 4: ...LS 1220 Product Reference Guide 70 12072 03 Revision A January 2003 ...
Page 23: ...1 8 LS 1220 Product Reference Guide Figure 1 3 LS 1220 Connector ...
Page 33: ...2 10 LS 1220 Product Reference Guide ...
Page 71: ...8 14 LS 1220 Product Reference Guide Figure 8 1 Hardware Handshaking ...
Page 97: ...9 6 LS 1220 Product Reference Guide Code Lengths cont d 1 2 3 4 5 6 7 8 9 0 CANCEL ...
Page 105: ...9 14 LS 1220 Product Reference Guide Prefix Suffix Values cont d 1 2 3 4 5 6 7 8 9 0 CANCEL ...
Page 108: ...9 17 Parameter Menus UPC Security Zone cont d 1 2 3 4 5 6 7 8 9 0 CANCEL ...
Page 120: ...9 29 Parameter Menus Intercharacter Delay cont d 1 2 3 4 5 6 7 8 9 0 CANCEL ...
Page 133: ......
Page 134: ......