The text of a manual · part 15 of 35
P 300STD/FZY/PRO Scanner Product Reference Guide: Chapter 2 Programming the Scanner, pages 137 to 146
Pages 137 to 146 of 325, from P 300STD/FZY/PRO Scanner Product Reference Guide
The original document is the PDF (3.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 P300
Page 137
Programming the Scanner
Even !
Select MARK parity and the parity bit is always 1.
Mark !
Select SPACE parity and the parity bit is always 0.
Space !
If no parity is required, select NONE.
None
Check Parity Select whether or not the parity, framing, and overrun of received characters are checked. The type of parity used is selectable through the PARITY parameter.
2-101
Page 138
P 300STD/FZY/PRO Scanner Product Reference Guide
Check for Received Errors
Do Not Check for Received Errors
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 controller reads the CTS line for activity. If CTS is asserted, the controller 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 controller 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 controller negates RTS 10 msec after sending the last character.
!
The host responds by negating CTS. The controller 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 deasserted for more 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. 2-102
Page 139
Programming the Scanner
If Hardware Handshaking and Software Handshaking are both enabled, Hardware Handshaking takes precedence. Note: The DTR signal is jumpered active. Scan the bar code below if no Hardware Handshaking is desired.
None
Scan the bar code below to select Standard RTS/CTS Hardware Handshaking.
Standard RTS/CTS
When RTS/CTS Option 1 is selected, the scanner asserts RTS before transmitting and ignores the state of CTS. The scanner deasserts RTS when the transmission is complete.
RTS/CTS Option 1
When Option 2 is selected, 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 2 seconds (default), the scanner issues an error beep and discards the data.
2-103
Page 140
P 300STD/FZY/PRO Scanner Product Reference Guide
RTS/CTS Option 2
When Option 3 is selected, the scanner asserts RTS prior to any data transmission, regardless of the state of CTS. The scanner waits up to 2 seconds (default) for CTS to be asserted. If CTS is not asserted during this time, the scanner issues an error beep and discards the data. The scanner deasserts RTS when transmission is complete.
RTS/CTS Option 3
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.
None !
ACK/NAK When this option is selected, after transmitting data, the scanner expects either an ACK or NAK response from the host. Whenever a NAK is received, the scanner
2-104
Page 141
Programming 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 beep and discards the data. The scanner waits up to the programmable Host Serial Response Time-out to receive an ACK or NAK. If the scanner does not get a response in this time, it issues an error beep and discards the data. There are no retries when a time-out occurs.
ACK/NAK !
ENQ 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.
ENQ !
ACK/NAK with ENQ This combines the two previous options.
ACK/NAK with ENQ !
XON/XOFF An XOFF character turns the scanner transmission off until the scanner receives an XON character. There are two situations for XON/XOFF:
2-105
Page 142
P 300STD/FZY/PRO Scanner Product Reference Guide
!
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 beep 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.
XON/XOFF
Host Serial Response Time-out This parameter specifies how long the scanner 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. The delay period can range from 0.0 to 9.9 seconds in .1-second increments. After scanning the bar code below, scan two numeric bar codes beginning on page 2-120. If you make an error or wish to change your selection, scan CANCEL on page 2-122.
Host Serial Response Time-out
RTS Line State This parameter sets the idle state of the Serial Host RTS line. Select Low or High RTS line state.
2-106
Page 143
Programming the Scanner
Host: Low RTS
Host: High RTS
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 selected (one or two) 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
2-107
Page 144
P 300STD/FZY/PRO Scanner Product Reference Guide
ASCII Format This parameter allows the scanner to interface with devices requiring a 7-bit or 8-bit ASCII protocol.
7-Bit
8-Bit
Beep on <BEL> When this parameter is enabled, the scanner issues a beep when a <BEL> character is detected on the RS-232C serial line. <BEL> alerts the user that an illegal entry or other important event has occurred.
Beep On <BEL> Character (Enable)
Do Not Beep on <BEL> Character (Disable)
2-108
Page 145
Programming the Scanner
Intercharacter Delay Select the intercharacter delay option matching host requirements. The intercharacter delay gives the host system time to service its receiver and perform other tasks between characters. The delay period can range from no delay to 99 msec in 1-msec increments. After scanning the bar code below, scan two bar codes beginning on page 2-120 to set the desired time-out. If you make an error or wish to change your selection, scan CANCEL on page 2-122.
Intercharacter Delay
2-109
Page 146
P 300STD/FZY/PRO Scanner Product Reference Guide
Wand Parameters Wand Host Interface Note: This parameter is available only on the P 300FZY. Select the appropriate host by scanning one of the bar codes below.
Symbollink Controller
Symbol Portable Terminal
Norand Terminal
2-110