The text of a manual · part 11 of 13
LS 1004 Scanner Product Reference Guide: Chapter 4 Programming The LS 1004, pages 73 to 78
Pages 73 to 78 of 96, from LS 1004 Scanner Product Reference Guide
The original document is the PDF (1.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 LS-1004
Page 73
Programming the LS 1004
Hardware Handshaking Hardware handshaking allows you to check the readiness of the receiving device before data is transmitted. If the receiving device is periodically occupied with other tasks, hardware handshaking is needed to prevent loss of transmitted data. Select whether the scanned data is to be transmitted as soon as it is available or whether transmission should follow the RTS/CTS procedure.
None
RTS/CTS
Software Handshaking This parameter offers control of the data transmission process in addition to, or instead of, that offered by hardware handshaking. These options may be combined; for example, ACK/ NAK with ENQ. !
No software handshaking
None !
ACK/NAK only The ACK/NAK option checks the success or failure of transmission. The scanner expects one of the following host responses after a data transmission: <ACK> acknowledges a valid and successful transmission. <NAK> indicates a problem with the transmission. Whenever a NAK is received, the unit retransmits the same data and awaits an ACK/ NAK response. After three unsuccessful attempts to transmit the same data, the scanner aborts any further communication attempts of that message.
ACK/NAK
4-37
Page 74
LS 1004 Product Reference Guide
!
ENQ ONLY The ENQ option needs the host to request data before it is transmitted to the host. This ensures that data transmission occurs only when the host is ready to receive. When you select the wait for ENQ option, the scanner waits for an ENQ from the host before it transmits data; otherwise, the unit transmits data without waiting for an ENQ character from the host. With ENQ enabled, the scanner must receive an ENQ from the host within a 2-second period after the last activity, or a transmission error occurs.
ENQ Only !
ACK/NAK with ENQ This option combines both handshaking options.
ACK/NAK with ENQ
4-38
Page 75
Programming the LS 1004
Hardware and Software Handshaking Sequence HARDWARE HANDSHAKING
SYMBOL IS DECODED
RTS AND CTS HANDSHAKING LINES USED
YES
NO
UNIT ASSERTS REQUEST-TO-SEND LINE. HOST RESPONDS BY ASSERTING CLEAR-TO-SEND LINE.
NO REPONSE. AFTER 2 SECONDS, THE UNIT BEEPS 4 TIMES TO INDICATE A TRANSMISSION ERROR.
SOFTWARE HANDSHAKING ENQ SWITCH ON?
YES
NO NO REPONSE. AFTER 2 SECONDS, THE UNIT BEEPS 4 TIMES TO INDICATE A TRANSMISSION ERROR.
WAIT FOR ENQ CHARACTER TO BE RECEIVED FROM HOST
DATA IS TRANSMITTED.
ACK/NAK SWITCH ON?
YES
NO
WAIT FOR ACK OR NAK RESPONSE FROM HOST
ACK RESPONSE?
NO
YES
TRY 3 TIMES?
NO
YES, 4 LONG BEEPS
NO REPONSE. AFTER 2 SECONDS, THE UNIT BEEPS 4 TIMES TO INDICATE A TRANSMISSION ERROR.
FINISHED
4-39
Page 76
LS 1004 Product Reference Guide
Communications Delays and Time-Outs (Intercharacter Delay) Selecting 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 msec. delay between transmission of each character.
Intercharacter Delay
4-40
Page 77
Programming the LS 1004
Intercharacter Delay Values (cont’d)
0
1
2
3
4
5
6
7
8
9
Cancel
4-41
Page 78
LS 1004 Product Reference Guide
4-42