The text of a manual · part 11 of 13
LS 1000 Series Product Reference Guide, pages 78 to 86
Pages 78 to 86 of 104
The original document is the PDF (1.0 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 78
LS 1000 Series Product Reference Guide
Parity A parity check bit is the most significant bit of each ASCII coded character. If you select ODD parity, the parity bit will have a value of 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 will have a value, 0 or 1, to ensure that and even number of 1 bits are contained in the coded character. If you select MARK parity, the parity bit will always be 1. If you select SPACE parity, the parity bit will always be 0. Select the parity type according to the host device requirements.
ODD
EVEN
MARK
SPACE
NONE
4-34
Page 79
Programming the LS 1004
Data Format This parameter sets the transmit data format. The options are: • 7 Data Bits (With Parity) (default) • 8 Data Bits (With Parity) • 8 Data Bits (Without Parity)
7-Bit
8-Bit
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.
1 STOP BIT
2 STOP BITS
Check Parity This option determines whether the parity of received characters is checked. The type of parity used is selectable through the PARITY parameter.
Check Parity of Receive Data Enable
Check Parity of Receive Data Disable
4-35
Page 80
LS 1000 Series Product Reference Guide
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
4-36
RTS/CTS
Page 81
Programming the LS 1004
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 • 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
4-37
Page 82
LS 1000 Series Product Reference Guide 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 83
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
NO REPONSE. AFTER 2 SECONDS, THE UNIT BEEPS 4 TIMES TO INDICATE A TRANSMISSION ERROR.
YES,
4 LONG BEEPS
FINISHED
4-39
Page 84
LS 1000 Series 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 85
Programming the LS 1004
Intercharacter Delay Values (cont'd)
HU TT 0 1 VAM UMA 2 3 VAM VU 4 5 UMMA VU 6 7 VAMAIIMI LT 8 9 VMTN
CANCEL
4-4]
Page 86
LS 1000 Series Product Reference Guide
4-42