The text of a manual · part 14 of 29
Cyclone M2000 Series Product Reference Guide, pages 131 to 140
Pages 131 to 140 of 287
The original document is the PDF (2.4 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 M2004, Symbol M2005 and Symbol M2007
Page 131
Parameter Menus
Check Parity Select whether or not the parity of received characters is checked. The type of parity used is selectable through the Parity parameter.
Check Parity
Do Not Check Parity
3-97
Page 132
CycloneTM M2000 Series Product Reference Guide
Hardware Handshaking The host exchanges data with the scanner via a serial port, either with or without the hardware handshaking lines, Request to Send (RTS), and Clear to Send (CTS).
Standard RTS/CTS If Standard RTS/CTS handshaking is selected, scanned data is transmitted according to the following sequence: !
The CTS line must initially be deasserted by the host. If the scanner detects that CTS is asserted (indicating that the host may still be receiving a previous transmission), the scanner waits up to 2 seconds for the host to deassert 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 deasserted, the scanner asserts the RTS line and waits up to 2 seconds for the host to assert CTS. When the host asserts CTS, the scanner transmits the data. 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 deasserts RTS 10 msec after sending the last character.
!
The host responds by deasserting CTS. The scanner checks for a deasserted CTS upon the next transmission of data.
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 previous communications sequence fails, the scanner issues an error beep. In this case, the data is lost and must be rescanned. Note: The DTR signal is jumpered active.
3-98
Page 133
Parameter Menus
Other RTS/CTS Options The following options offer alternatives to Standard RTS/CTS Handshaking. !
RTS/CTS Option 1: The scanner asserts RTS before transmitting and ignores the state of CTS. The scanner deasserts RTS when the transmission is complete.
!
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 beep and discards the data.
!
RTS/CTS Option 3: The scanner asserts RTS before transmitting, 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 beep and discards the data. The scanner deasserts RTS when transmission is complete.
!
RTS/CTS PC: Standard RTS/CTS hardware handshaking used by the PC. The host can deassert CTS to prevent the scanner from transmitting, and the scanner can deassert RTS to prevent the host from transmitting.
3-99
Page 134
CycloneTM M2000 Series Product Reference Guide
Hardware Handshaking (continued)
*None
Standard RTS/CTS
RTS/CTS Option 1
RTS/CTS Option 2
RTS/CTS Option 3
RTS/CTS PC
3-100
Page 135
Parameter Menus
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.
3-101
Page 136
CycloneTM M2000 Series Product Reference Guide
Software Handshaking (Continued)
None
ACK/NAK
ACK/NAK with ENQ
ENQ Only
XON/XOFF
3-102
Page 137
Parameter Menus
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
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 3-130 to set the desired time-out. If you make an error, or wish to change your selection, scan the Cancel bar code on page 3-132.
Intercharacter Delay
3-103
Page 138
CycloneTM M2000 Series Product Reference Guide
Host Serial Response Time-out This parameter specifies how long the scanner waits for an ACK or NAK before resending. Also, if the scanner wants to send, and the host has already been granted permission to send, the scanner waits for the designated time-out before declaring an error. The delay period can range from 0.0 to 9.9 seconds in 0.1 second increments. After scanning the bar code below, scan two numeric bar codes beginning on page 3-130. Time durations of less than 1.0 second require a leading zero. If you make an error, or wish to change your selection, scan the Cancel bar code on page 3-132.
Host Serial Response Time-out
Host Serial RTS Line State This parameter sets the default host serial RTS line state to either high or low.
Host: Low RTS
Host: High RTS
3-104
Page 139
Parameter Menus
Beep On <BEL> When this parameter is enabled, the scanner issues a beep when a <BEL> character is detected on the serial data line. <BEL> alerts the user that an illegal entry or other important event has occurred. Select whether to enable or disable this parameter.
Beep On <BEL> Character
Do Not Beep On <BEL> Character
Data Transmission - 7 or 8-Bit ASCII Data Format This parameter determines whether data transmissions occur in the 7-bit or 8-bit ASCII format. Select this parameter according to the requirement of the receiving device. The default value is 8-bit ASCII.Select either 7-bit or 8-bit ASCII format for RS-232C communications.
7-Bit
8-Bit
3-105
Page 140
CycloneTM M2000 Series Product Reference Guide
USB Parameters (M2007) The following USB parameters apply to the M2007 (with or without Synapse) only.
Set USB Defaults Scan the bar code below to set USB defaults for the parameters on the following pages.
Set USB Defaults
3-106