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 16 of 19

Hand-Held Cordless Bar Code Scanners (Cat. Nos. 2755-HCG-4 and 2755-HCG-7) Programming Guide: A - Application Examples, pages 138 to 147

Pages 138 to 147 of 176, from Hand-Held Cordless Bar Code Scanners (Cat. Nos. 2755-HCG-4 and 2755-HCG-7) Programming Guide

The original document is the PDF (617 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.

Filed in the catalog under the Allen-Bradley 2755-DS

Page 138

Application Examples

A–21

Hardware Connections for the PLC-5 Controllers The base/charger unit connects to the PLC-5 controllers with an RS-232 cable (Catalog No. 2755-HCC-BR2-06). Base/Charger Unit

RS-232C Cable Power Supply

To Power Receptacle

PLC-5

To Channel 0 Port

Publication 2755-6.6

Page 139

A–22

Application Examples

Configuration Codes for the PLC-5 Controllers After making the necessary connections, scan bar codes starting below to set up the scanner for use with the PLC-5 controllers. 1. Scan the Set Defaults bar code.

Set Defaults

2. Scan the Single Port RS-232 bar code.

Single Port RS-232

Publication 2755-6.6

Page 140

Application Examples

A–23

3. Scan the following bar codes.

Scan Suffix (Value 1)

7

0

1

3

4. Scan the Data Transmission Format bar code.

<Data><Suffix>

Publication 2755-6.6

Page 141

A–24

Application Examples

5. Scan the Parity bar code.

Even

The cable defaults work with the PLC-5 controllers. Your application may have specific requirements. If you change a communication setting, make sure the PLC-5 controllers are configured to accept the change.

Publication 2755-6.6

Page 142

Application Examples

A–25

PLC-5 Controllers Setup You need to configure the Channel 0 port of the PLC-5 controllers. Follow the steps below or refer to the following publications:

• Classic PLC-5 Family Programmable Controllers Hardware Installation Manual (Publication No. 1785-6.6.1)

• PLC-5 Programming Software Instruction Set Reference Manual (Publication No. 6200-6.4.11) • PLC-5 Programming Software Configuration and Maintenance Manual (Publication No. 6200-6.4.6) 1. Set the PLC-5 Channel 0 to User in the Channel 0 Configuration screen.

Publication 2755-6.6

Page 143

A–26

Application Examples

2. Configure Channel 0 in the User Mode Channel 0 Configuration screen.

Note that Termination 1 is set for \0xa or Line Feed [LF], and Termination 2 is set for \0xd or Carriage Return [CR]. These terminators, along with the ARL instruction in the PLC-5 controllers, allow you to read one message at a time with [CR] [LF] terminators.

Publication 2755-6.6

Page 144

Application Examples

A–27

PLC Program The sample ladder logic listing below instructs the PLC-5 controllers to: Rung 2:0 – Read one string of ASCII data terminated with a [CR] [LF].

Publication 2755-6.6

Page 145

A–28

Application Examples

AdaptaScan Pass-Through This application example describes how to configure and operate the scanners when using an RS-232 cable connected to the AdaptaScan bar code reader (Catalog Nos. 2755-SN3, 2755-SN5, and 2755-SN8).

!

ATTENTION: Do not install the RS-232 cable with power applied to either the base/charger unit or AdaptaScan. Failure to follow this caution may result in damage to the scanner, base/charger unit, or AdaptaScan.

Refer to the following publications for additional information.

• AdaptaScan Bar Code Readers User Manual (Publication No. 2755-837) • AdaptaScan Software User Manual (Publication No. 2755-838)

Publication 2755-6.6

Page 146

Application Examples

A–29

Hardware Connections for the AdaptaScan Bar Code Reader The scanner connects to the AdaptaScan wiring base with a custom cable connected to the RS-232 cable (Catalog No. 2755-HCC-BR1-06). Base/Charger Unit

RS-232C Cable Power Supply

To Power Receptacle

Custom Cable (see next page)

AdaptaScan Wiring Base

Publication 2755-6.6

Page 147

A–30

Application Examples

The custom cable for the AdaptaScan Pass-Through Cable connects to the RS-232 and package detect terminals in the AdaptaScan wiring base. 25-Pin Female DB Connector

Custom Cable Maximum length of 18 inches (.46 meter) Transmit (Tx) No Connection Receive (Rx) Clear to Send (CTS) Ready to Send (RTS) Shield (SHD)

AdaptaScan Wiring Base

The following table provides the pinout connections for the cable (DB 25-pin female connector). Pass-Through Cable Pin Number

Function

AdaptaScan Terminal Connection

2

Receive Data Input

Tx (RS-232 Terminal Block)

3

Transmit Data Output

Rx (RS-232 Terminal Block)

4

CTS Input

RTS (RS–232 Terminal Block)

5

RTS Output

CTS (RS-232 Terminal Block)

Shield

Shield Ground

SHD (RS-232 Terminal Block)

Publication 2755-6.6