Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeEnglishEspañolContact

The text of a manual · part 8 of 15

Hand-Held Decoded Bar Code Scanners (Cat. No. 2755-HDG-4) User Manual: 4 - Communication Setup (Cable Configuration), pages 57 to 66

Pages 57 to 66 of 115, from Hand-Held Decoded Bar Code Scanners (Cat. No. 2755-HDG-4) User Manual

The original document is the PDF (622 KB). 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 Allen-Bradley 2755-HDG-4

Page 57

Chapter

4

Communication Setup (Cable Configuration) This chapter describes the configuration of scanner communication parameters. The types of options available depends on the interface cable you are using. For This Cable

See These Pages:

RS-232 Synapse Cables

4-2 through 4-8

IBM PC Keyboard Wedge Synapse Cables

4-9 through 4-12

DEC VT520 Keyboard Wedge Synapse Cable

4-13 through 4-15

DEC VT220, VT320, VT420 Keyboard Wedge Synapse Cable

4-16 through 4-18

Scanner Emulation Synapse Cable

4-19 through 4-23

AdaptaScan Pass Through Cable

4-24 through 4-29

Important: All programming codes are in the Bar Code Programming Guide for Hand-Held Scanners (Publication 2755-6.5).

Cable Defaults To set cable defaults, scan the default label for the interface cable you are using. Refer to each cable section for a table listing the defaults. The selections for cable defaults are:

• • • • •

Set RS-232 Synapse Cable Defaults Set IBM PC Keyboard Wedge Synapse Cable Defaults Set DEC VT 520 Keyboard Wedge Synapse Cable Defaults Set DEC VT VT220, VT320, VT420 Wedge Synapse Cable Defaults Set AdaptaScan Pass Through Synapse Cable Defaults

Publication 2755-6.2

Page 58

4-2

Communication Setup (Cable Configuration)

Setting RS-232 Synapse Cable Options The following define the communication options available when the scanner is connected to one of the following RS-232 Synapse cables:

• Catalog No. 2755-HFC-SR2-01 • Catalog No. 2755-HFC-SR3-01 Default Settings Scanning the SET RS-232 SYNAPSE CABLE DEFAULTS bar code sets the following parameters:

Item

Default Setting

Refer to Description on Page:

Programming Guide ➀ Page Reference

Host

Standard RS-232

4-3

3-3

Baud Rate

9600

4-3

3-4

Parity

None

4-4

3-5

Check Parity

Enabled

4-4

3-5

Stop Bits

1

4-4

3-6

Data Bits

8

4-4

3-6

Hardware Handshaking

None

4-5

3-7

RTS State

Low

4-5

3-7

Software Handshaking

None

4-6

3-8

Beep on BEL

Enabled

4-7

3-9

Unknown Characters Send Bar Codes With Unknown Characters

4-7

3-9

Response Timeout

2 seconds

4-7

3-10

Parameter Set

Set #1

4-8

3-12

➀ Bar Code Programming Guide for Decoded Scanners (Publication 2755-6.5). Publication 2755-6.2

Page 59

Communication Setup (Cable Configuration)

4-3

Host Selection Currently, the only host selection is for standard RS-232 communications. Additional host selections may be added in the future.

• Standard RS-232 (default) Baud Rate Sets the rate (bits per second) at which the scanner transmits data. The scanner baud rate setting must match the host setting. The selections are:

• • • • • • • •

110 300 600 1200 2400 4800 9600 (default) 19200

Publication 2755-6.2

Page 60

4-4

Communication Setup (Cable Configuration)

Setting RS-232 Synapse Cable Options (Continued) Parity Set the parity of each ASCII coded character that is transmitted. Make sure the parity matches the requirements of the host. The selections are:

• • • • •

Odd Even Mark (parity bit always set to 1) Space (parity bit always set to 0) None (default)

Check Parity When enabled, the scanner checks the parity bit.

Number of Stop Bits The stop bit marks the end of each character transmitted. Set the number of stop bits to match the host device. The selections are:

• 1 Stop Bit (default) • 2 Stop Bits Data Bits Determines the number of data bits for each ASCII character. The selections are:

• 7 data bits • 8 data bits (default)

Publication 2755-6.2

Page 61

Communication Setup (Cable Configuration)

4-5

Hardware Handshaking When enabled, handshaking verifies the readiness of a receiving device before data is transmitted. You can enable or disable the hardware handshaking lines. The DTR (Data Terminal Ready) signal is either active high or low (see below). This is how the scanner handshaking functions: 1. The scanner checks the Clear to Send (CTS) line. If CTS is active, the scanner will wait for up to 2 seconds and check the line again. If the line is still active, the scanner will provide an audible beep and any scanned data will be lost. 2. If the CTS line is not active, the scanner will assert the Request to Send (RTS) line and wait for two seconds for the host to assert the CTS line. When the host asserts the CTS line, the scanner transmits the data. 3. After the transmission is completed, the scanner will negate the RTS. 4. The host device should then negate CTS. The scanner checks the CTS line on the next transmission. RTS State Selects the active state for the Request to Send (RTS) signal. Make sure that this setting matches the requirements of the host device. The selections are:

• RTS State Low (default) • RTS State High

Publication 2755-6.2

Page 62

4-6

Communication Setup (Cable Configuration)

Setting RS-232 Synapse Cable Options (Continued) Software Handshaking Software handshaking controls the transmission of data. Use software handshaking instead of (but not with) hardware handshaking. There are four options:

• • • • •

None (default) ACK/NAK Only ENQ Only ACK/NAK with ENQ XON/XOFF

ACK/NAK Only checks the result of a transmission. The scanner waits for one of two responses from the host: ACK which means a successful transmission or NAK which means there was a problem. Whenever the scanner receives a NAK, it retransmits the data up to three times. If an ACK is still not received after three attempts, the transmission is aborted and the scanner will provide four short beeps. ENQ ONLY requires that the scanner receive an enquire character (ENQ) from the host before sending data. With ENQ enabled, the scanner must receive an ENQ from the host within a two second period after the last scan or a transmission error occurs. The scanner will provide four short beeps to indicate the error. ACK/NAK with ENQ combines both ACK/NAK and ENQ options. With XON/ XOFF enabled, the interface cable assumes an XON for the first transmission. The scanner will transmit data until an XOFF is received from the host device. If an XON is not received within 30 seconds after an XOFF, a transmission error occurs.

Publication 2755-6.2

Page 63

Communication Setup (Cable Configuration)

4-7

Beep on BEL When enabled, the scanner will beep when a <BEL> character is detected on the RS-232 link. <BEL> may be used to indicate an event such as an illegal entry.

Unknown Characters Unknown characters are characters not recognized by the scanner. When SEND BAR CODES WITH UNKNOWN CHARACTERS is enabled, all decoded bar code data is transmitted except for the unknown characters. If this option is disabled, bar codes containing one or more unknown characters are not transmitted.

Response Timeout The response timeout determines the maximum amount of time the scanner will wait before it assumes the end of a transmission. The timeout period may be from 0.0 to 9.9 seconds in 0.1 second increments. The default is 2.0 seconds. To enter a new timeout, scan the timeout label followed by the two digit timeout. The decimal point is fixed between the first and second digits.

Publication 2755-6.2

Page 64

4-8

Communication Setup (Cable Configuration)

Setting RS-232 Synapse Cable Options (Continued) Advanced Features The advanced feature options allow you to store communication parameters for up to two applications. If you have already configured the scanner, all of the communication settings are stored as Parameter 1 settings (default setting). Using the advanced feature options, you can also create Parameter 2 settings. When using the scanner, scan the correct parameter setting bar code to configure the scanner for each application. To set Parameter Set 1 configuration: 1. Configure the scanner communications as described in this chapter. Since Parameter Set 1 is the default you do not have to scan the Parameter Set 1 bar code. To set Parameter Set 2 configuration: 1. Scan the PARAMETER SET 2 bar code. 2. Configure the scanner communication parameters as described in this chapter. To set defaults for a parameter set, scan the appropriate default bar code. The selections are:

• SET CABLE DEFAULTS CURRENT PARAMETER SET • SET CABLE DEFAULTS BOTH PARAMETER SETS

Publication 2755-6.2

Page 65

Communication Setup (Cable Configuration)

4-9

Setting IBM PC Keyboard Wedge Synapse Cable Options The following define the communication options available when the scanner is connected to one of the following IBM AT/XT or PS/2 keyboard wedge Synapse cables:

• Catalog No. 2755-HFC-SP1-01 • Catalog No. 2755-HFC-SP2-01 Defaults Settings Scan the SET PC WEDGE SYNAPSE CABLE DEFAULTS bar code to set the interface cable to default settings. The following table lists the default settings.

Default Setting

Refer to Description on Page:

Programming Guide ➀ Page Reference

Host

IBM PC/AT IBM PS/2-50, 55SX, 60, 70, 80

4-10

4-2

Country

North American

4-10

4-3

Bar Codes with Unknown Characters

Send Bar Codes With Unknown Characters

4-11

4-4

Intercharacter Delay

5 milliseconds

4-11

4-4

Parameter Set

Parameter Set 1

4-12

4-5

Item

➀ Bar Code Programming Guide for Decoded Scanners (Publication 2755-6.5).

Publication 2755-6.2

Page 66

4-10

Communication Setup (Cable Configuration)

Setting IBM PC Keyboard Wedge Interface Synapse Cable Options (Continued) Host Selection Select the type of host the scanner will be communicating with. The selections are:

• • • •

IBM PC/AT , PS/2-50, 55SX, 60, 70, 80 (default) IBM PC/XT IBM PS/2-30 NCR 7052

Country Selection Select the country for the keyboard type the interface cable is connected to. The selections are:

• • • • • • • •

North American (default) German French French International Spanish Italian Swedish British

Publication 2755-6.2