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 6 of 41

AdaptaScan Bar Code Readers (Cat. Nos. 2755-SN3, -SN5, and -SN8) Application Guide: 3 - Downloading Match Codes from a Host Device, pages 40 to 48

Pages 40 to 48 of 354, from AdaptaScan Bar Code Readers (Cat. Nos. 2755-SN3, -SN5, and -SN8) Application Guide

The original document is the PDF (3.2 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 Accu-Sort 2755-SN3, Accu-Sort 2755-SN5, Allen-Bradley 2755-SN5, Accu-Sort 2755-SN8 and Allen-Bradley 2755-SN8

Page 40

Downloading Match Codes from a Host Device Overview

This application describes how to download match codes to the bar code reader from a terminal emulator using an RS-232 connection. It also describes how to download other host commands using the same procedures.

Hardware Requirements

The hardware items required for this application are: • 2755-SN3, -SN5, -SN8 AdaptaScan Bar Code Reader • 2755-NB40 or -NB41 Wiring Base • 2755-PW46 or -PW47 Power Supply • 2755-NC43 or -NC48 Configuration Cable • Communication Cable with Connector for PC (Belden 8303 or equivalent) • Computer running Windows 3.1 (or later) or Windows 95 • 9-to-25 Pin Adapter (for Computer with 25-pin COM port)

Software Requirements

The software requirements for this application are: • 2755-ASN AdaptaScan Offline Programming Software • Terminal Emulator in Windows 3.1 or HyperTerminal in Windows 95

Related Publications

Related publications include: Publication

Description

2755-837

AdaptaScan Bar Code Readers User Manual

2755-838

AdaptaScan Software User Manual

Publication 2755-6.8

Page 41

3–2

Downloading Match Codes from a Host Device

Connecting a Computer to the Reader

The following illustration shows the wiring base connections between the AdaptaScan Bar Code Reader and the personal computer. This RS-232 serial connection is used to download match codes to the reader from a terminal emulator. Do not connect the cable to the computer until after the application is downloaded to the reader (see page 3–10). Create a cable using Belden 8303 (or equivalent) and a connector (to match your computer’s RS-232 port). The other end of the cable is wired to the RS-232 port in the reader wiring base. Use Belden 8303 (or equivalent) To Computer

RX GND Tx

Wiring Base of Reader

To Connector Compatible with Your Computer RS-232 Port

Connecting a Power Supply to the Reader

The following illustration shows how to connect a 2755-PW46 or -PW47 power supply to a single bar code reader. Use a shielded cable (Belden 9316 recommended) to make the connections. Connect the shield to the ground screw on the reader’s wiring base. 2755-PW46 Power Supply

Reader 24V+

V-

DeviceNet Connector Ground Screw on Wiring Base

Verify the connection by applying power to the wiring base and observing the polarity LED. The LED should be green. If the LED is red, the polarity needs to be reversed. Disconnect power from wiring base until the reader is installed.

Publication 2755-6.8

Page 42

Downloading Match Codes from a Host Device

Configuring the Reader

3–3

This section shows how to configure one the AdaptaScan Bar Code Readers using the AdaptaScan Software (Catalog No. 2755-ASN). The procedures in this section show how to: • define the DeviceNet node address of the AdaptaScan Reader • configure a bar code label and symbol • configure the scanner • configure the decoder trigger • configure the serial port • configure the format of messages and the message destination The steps may vary for some procedures because of the different requirements of applications. For example, the bar code labels may vary from one application to the next.

Create a New Project This section adds a bar code reader to a new project and then renames the project Download Match Codes. 1. Choose New from the Project menu to create a new project. 2. Click the New button to add a bar code reader (Bar Code Reader 1) to the project.

3. Choose Edit from the Project menu to rename the project Download Match Codes.

4. Click Save to save the project under the new name and then Close to return to the Project dialog.

Publication 2755-6.8

Page 43

3–4

Downloading Match Codes from a Host Device

Define the Bar Code Label This section configures the reader to scan/decode Interleaved 2 of 5 symbols. 1. Click the Labels button to open the Bar Code Labels dialog. 2. Click the New button to define a label.

3. Click the New button to define Symbol 1.

4. From the Symbology list box, select I 2 of 5. To edit parameters of the selected symbology, click the Symbologies button. 5. Click OK until you return to the Bar Code Labels dialog. 6. Click Save and then Close to return to the main Project dialog.

Publication 2755-6.8

Page 44

Downloading Match Codes from a Host Device

3–5

Define the DeviceNet Address 1. Click the Device button on the Project dialog.

2. Select a DeviceNet address. 3. Connect the 2755-NC43 or -NC48 Configuration Cable to the Reader. 4. Click the Apply button. 5. Click the Close button and return to the Project dialog.

Configure the Scanner 1. Click the Scanner button on the Project dialog to open the Scanner dialog.

2. Configure the scan pattern and use the Focus procedure for optimum scanner focus. 3. Click the Close button and return to the Project dialog.

Publication 2755-6.8

Page 45

3–6

Downloading Match Codes from a Host Device

Configure the Decoder Trigger Bar Code Reader 1 is triggered by a Timer. The Timer is typically used during initial setup to simulate a package detector. The Timer is set for a specified On Time (1 second) and Off Time (1 second). 1. Click the Decoder button from the main Project dialog.

2. Under Triggered By, select Timer from the Input list. 3. Click the Save button and the Close to return to the main Project dialog.

Publication 2755-6.8

Page 46

Downloading Match Codes from a Host Device

3–7

Configure the Serial Port Configure the parameters of the serial port to match the host device. 1. Click the Serial Port button from the main Project dialog.

2. Under Protocol, select:

• select Terminal • check (enable) the Scanner Protocol check box Scanner Protocol is used when a host (e.g., PLC or computer) is connected to a serial port in the reader’s wiring base. 3. From the Connection list box, select RS232. 4. Click the Edit button to configure the parameters for Terminal protocol.

5. In the Trailer text box, type \r\n (inserts carriage return and line feed). 6. Check (enable) the Hex Conversion check box. 7. Click OK to return to the Serial Port dialog. 8. Click Save and then the Close button to return to the Project dialog.

Publication 2755-6.8

Page 47

3–8

Downloading Match Codes from a Host Device

Configuring a Match Entry and I/O Indicator LED The application turns on output 1 when a symbol is read. This provides a convenient method of determining whether or not the reader is decoding a label. The discrete output is turned on by the match table. 1. Click the Match Table button on the main Project dialog.

2. Click the New button to open the Match Function dialog.

3. Under Function, select Match Entry from the list box. Match Entry specifies that a match occurs whenever decoded bar code data matches the Rule: entry. 4. Under Symbol Source, select Bar Code Reader 1. 5. Under Bar Code Labels & Symbols, select Symbol 1. 6. Check (enable) the Match Exactly check box. Match Exactly specifies that ASCII characters are matched instead of a metacharacter rule (metacharacters are not used in this example).

Publication 2755-6.8

Page 48

Downloading Match Codes from a Host Device

3–9

7. Click the Outputs button to specify which output activates when a match occurs.

8. Under Available Outputs, select Discrete Input/Output 1. 9. Click the Add>> button to add this selection to the Output To: area.

10. Click OK until you return to the Match Table dialog. 11. Click Save and then Close to return to the Project dialog.

Sending the Configuration to the Reader

From the main Project dialog, click the Send Device button to download the configuration to the bar code reader.

Publication 2755-6.8