Because of the variety of uses for the products described in this
publication, those responsible for the application and use of this
control equipment must satisfy themselves that all necessary steps
have been taken to assure that each application and use meets all
performance and safety requirements, including any applicable laws,
regulations, codes and standards.
The illustrations, charts, sample programs and layout examples
shown in this guide are intended solely for purposes of example.
Since there are many variables and requirements associated with any
particular installation, Allen-Bradley does not assume responsibility
or liability (to include intellectual property liability) for actual use
based upon the examples shown in this publication.
Allen-Bradley publication SGI-1.1, Safety Guidelines for the
Application, Installation, and Maintenance of Solid-State Control
(available from your local Allen-Bradley office), describes some
important differences between solid-state equipment and
electromechanical devices that should be taken into consideration
when applying products such as those described in this publication.
Reproduction of the contents of this copyrighted publication, in
whole or in part, without written permission of Allen-Bradley
Company, Inc., is prohibited.
Throughout this manual we use notes to make you aware of safety
considerations:
ATTENTION: Identifies information about practices
or circumstances that can lead to personal injury or
!
death, property damage or economic loss.
Attention statements help you to:
• identify a hazard
• avoid the hazard
• recognize the consequences
Important:Identifies information that is critical for successful
application and understanding of the product.
PLC, PLC-5, and PHOTOSWITCH are registered trademarks of Allen-Bradley, Inc.
PanelView, PanelView 900, PanelBuilder, AdaptaScan, Data Highway Plus, SLC, SLC 500, SLC 5/03, and SLC 5/04 are
trademarks of Allen-Bradley Company, Inc.
APS is a trademark of Rockwell Software, Inc.
DeviceNet is a trademark of the Open DeviceNet Vendor Association
Windows is a trademark of Microsoft
This guide describes a variety of applications in which the
AdaptaScan Bar Code Reader is used. Each chapter covers a
separate application and provides:
• overview of the application
• hardware requirements
• software requirements
Each application shows how to:
• connect the AdaptaScan Reader to a network or host device
• configure the AdaptaScan Bar Code Reader
• configure the controller, providing the necessary ladder logic (if
required)
Because of the variety of uses for the information, the user of and
those responsible for applying this information must satisfy
themselves as to the acceptability of each application and use of the
program. In no event will Allen-Bradley Company be responsible or
liable for indirect or consequential damages resulting from the use of
application of this information.
The examples shown in this document are intended solely to
illustrate the principles of the bar code reader and some of the
methods used to apply them. Particularly because of the many
requirements associated with any particular installation,
Allen-Bradley Company cannot assume responsibility or liability for
actual use based upon the illustrative uses and applications.
Publication 2755-6.8
PrefaceP–2
Contents of this Guide
The following table describes the contents of this manual.
ChapterTitleContents
Describes the purpose, background, and scope of
Preface
1
2
3
4
5
Using the Auto-Load
Function
Using ASCII Command
Input
Downloading Match
Codes from a Host Device
Downloading Match
Codes via DH485
Protocol with an
SLC 5/03
SLC 5/04
Communicating with a
1746-BAS BASIC Module
t or
t Controller
this guide. Also specifies the audience for whom
this guide is intended.
Describes how to configure the reader to autoload
data into the match code table.
Shows how to configure the reader to start/stop
scanning when receiving ASCII commands from a
terminal emulator and then display the bar code
data on the emulator.
Shows how to download match codes (and other
host commands) from a terminal emulator to the
reader.
Shows how to download match codes from an
SLC 5/03 or SLC 5/04 controller to the reader.
Describes how to configure the reader to
communicate with a 1746-BAS BASIC module.
Communicating with an
6
7
8
9
10
11
SLC
t over an RS-232
Link
Communicating with an
SLC on a DH-485
Network
Communicating with an
R
PLC-5
or RS-422 Link
Communicating with an
SLC 5/03 Processor on a
DeviceNet
Communicating with an
SLC 5/03 Processor on a
DeviceNet Network using
Explicit Messaging
Communicating with a
PLC-5 Processor on a
DeviceNet Network
Table continued on the next page.
over an RS-232
t Network
Describes how to configure the reader to
communicate with an SLC controller over an
RS-232 serial connection.
Tells how to configure two readers to communicate
with an SLC controller over a DH-485 network
using master mode.
Describes how to configure the reader to
communicate with an PLC controller using either
RS-232 or RS-422 communication.
Shows how to configure a reader to communicate
with an SLC controller over a DeviceNet network in
master/slave mode.
Shows how to configure a reader to communicate
with an SLC controller over a DeviceNet network in
master/slave mode using explicit messaging.
Shows how to configure a reader to communicate
with a PLC-5 controller over a DeviceNet network in
master/slave mode.
Publication 2755-6.8
PrefaceP–3
ChapterTitleContents
12
Communicating with a
PLC-5 Processor on a
DeviceNet Network using
Explicit Messaging
Shows how to configure a reader to communicate
with a PLC-5 controller over a DeviceNet network in
master/slave mode using explicit messaging.
13
14
15
16
17
Communicating with a
2760-RB Module over an
RS-232 Link
Communicating with a
2760-RB Module on a
DH-485 Network
Downloading Match
Codes via DH485 using a
PLC-5 Processor and a
2760-RB Module
Communicating with
AdaptaScan Bar Code
Readers via DeviceNet
Peer-to-Peer Protocol
Communicating with
PanelView 900
Terminals on a DeviceNet
Network
Describes how to configure the reader to
communicate with a 2760-RB module using
RS-232 communication.
Describes how to configure the reader to
communicate with a 2760-RB module using
DH-485 communication.
Describes how to configure the reader to
communicate with a PLC-5 processor via DH485
protocol, using a 2760-RB module.
Describes how to configure three readers to
communicate with each other over a DeviceNet
network via peer-to-peer protocol.
Describes how to configure the reader to
communicate with the DeviceNet versions of the
PanelView 900 terminals.
Publication 2755-6.8
PrefaceP–4
chnical
pport
Intended Audience
Related Publications
This application guide assumes that you understand how to:
• configure and operate the AdaptaScan Bar Code Reader using the
AdaptaScan Software.
• program and operate the logic controller that will communicate
with the reader
• configure the appropriate network communications
Publications that relate to the AdaptaScan Bar Code Readers and
other Allen-Bradley products used with the readers are:
Publication
Number
2755-837AdaptaScan Bar Code Reader User Manual
2755-838AdaptaScan Software User Manual
1485-6.7.1DeviceNet Cable System Planning and Installation Manual
1770-6.2.2
1787-6.5.3
1749-6.5.5DeviceNet Adapter Module (Catalog No. 1749-ADN) User Manual
Data Highway / Data Highway Plus / Data Highway-485 Cable
Installation Manual
DeviceNet Manager Software (Catalog No. 1787-MGR) User
Manual
Description
Te
Su
Services
Each chapter refers to additional publications that relate to a specific
application.
If you have any questions about the AdaptaScan Bar Code Reader,
please consult this application guide first. If you can’t find the
answer, contact Rockwell Automation International Support:
Rockwell Automation
Technical Support
6680 Beta Drive
Mayfield Village, Ohio 36849
Inside USA and Canada, call 1–800–289–2279.
Outside USA and Canada, contact your Allen-Bradley office or call
USA (216) 646–6800.
Publication 2755-6.8
Using the AutoĆLoad Function
Overview
Hardware Requirements
Software Requirements
This application describes how to set up the AdaptaScan Bar Code
Reader to use the Auto-Load function. The application uses a
PHOTOSWITCH
detector to trigger the decoder and a discrete input to activate the
Auto-Load.
The hardware items required for this application are:
R
(Catalog No. 42SRU-6203) as a package
• 2755-SN3, -SN5 or -SN8 AdaptaScan Bar Code Reader
• 2755-NB40 or -NB41 Wiring Base
• 2755-PW46 or -PW47 Power Supply
• 2755-NC43 or -NC48 Configuration Cable
• PHOTOSWITCH 42SRU-6203
• 2755-IB5S DC Input Module
• Computer running Windowst 3.1 (or later) or Windows 95
• 9-to-25 Pin Adapter (for computers with a 25-pin COM port)
The software requirements for this application is the 2755-ASN
AdaptaScan Offline Programming Software.
Related Publications
Publications you may want to refer to include:
PublicationDescription
2755-837AdaptaScan Bar Code Readers User Manual
2755-838AdaptaScan Software User Manual
Publication 2755-6.8
1–2Using the Auto-Load Function
Internal Power Source
The following illustration shows the wiring base connections. The
2755-IB5S DC input module and the 42SRU-6203 PHOTOSWITCH
receive power from the Package Detect +12V internal power source
in this application. You could also use an external AC or DC power
source. Refer to the AdaptaScan Bar Code Readers User Manual
(Publication No. 2755-837) for more information regarding using an
external power source.
2755-IB5S
To +
To -
To +12V
To
GND
External
Input Contacts
Connecting a Power
Supply to the Reader
The circuit must not draw more than 50mA from the Package Detect
terminal block.
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
24V+
V-
Reader
Ground Screw
on Wiring Base
Publication 2755-6.8
1–3Using the Auto-Load Function
Configuring the Reader
This section shows how to configure the AdaptaScan Reader using
the AdaptaScan software (Catalog No. 2755-ASN).
The procedures in this section show how to:
• configure a bar code label and symbol
• define a DeviceNet address
• configure the scanner
• configure the decoder trigger
• configure the discrete input module
• configure the match table, package and autoload trigger source
Create a New Project
1. Select 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
AutoLoad.
4. Click Save to save the project under the new name and then click
Close to return to the Project dialog.
Publication 2755-6.8
1–4Using the Auto-Load Function
Define a Bar Code Label
1. Click the Labels button to open the Bar Code Labels dialog.
2. Click the New button to add a label.
3. Click the New button to add a symbol.
4. Select the symbology and define attributes such as Identifier and
Lengths.
5. Click OK until you return to the Bar Code Labels dialog.
6. Click Save to save the new label setup.
7. Click Close to return to the main Project dialog.
Publication 2755-6.8
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 to send the DeviceNet address to the
reader.
1–5Using the Auto-Load Function
5. Click Save and Close to return to the main 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 to return to the main Project dialog.
Publication 2755-6.8
1–6Using the Auto-Load Function
Configure the Decoder
1. Click the Decoder button from the main Project dialog.
2. Under Triggered By, select Package Detect from the Input list.
3. Click the Save button.
4. Click the Close button and return to the main Project dialog.
Configure the Discrete Input Module
The application uses a discrete input module to trigger the
Auto-Load function. The following procedure defines one of the
two input/output modules available in the AdaptaScan Bar Code
Reader as an input.
1. Click the Input/Output button on the main Project dialog.
2. Under Inputs & Outputs, select Discrete Input/Output 2. This is
the location of the 2755-IB5S DC Input Module in the reader’s
wiring base.
3. Under Use As, select Input.
Publication 2755-6.8
4. Click the Save button.
5. Click the Close button to return to the main Project dialog.
1–7Using the Auto-Load Function
Configure the Match Table
The following procedure defines the contents of the match table and
the source of the symbol to be matched.
1. Click the Match Table button on the main Project dialog.
2. Click the New button to open the Match Function dialog.
3. Select the following parameters for the Match Function:
• Under Function, select Auto-Load
• Under Symbol Source, select Bar Code Reader 1
• Under Bar Code Labels & Symbols, select Symbol 1 under
Label 1
• Check (enable) the Match Exactly check box
4. Click the OK button to return to the Match Table dialog.
Publication 2755-6.8
1–8Using the Auto-Load Function
Configure a Package
When the application is running, the I/O 1 LED energizes (no output
module is actually installed in wiring base) when a No-Match or
No-Read occurs. The following procedure defines this package
function.
1. From the Match Table dialog, click the Package button to open
the Packages dialog.
2. Click the New button to create a package.
3. Under Mode, select No-Read or No-Match.
4. Select Match 1 under Match Functions.
5. Click OK to return to the Packages dialog.
Publication 2755-6.8
6. Click the Output To button to open the Package Outputs dialog.
7. Under Available Outputs, select Discrete Input/Output 1.
8. Click the Add>> button to add this selection under Output To:
Note: Discrete Input/Output 2 does not appear as an Available
Output because it was previously defined as an input.
1–9Using the Auto-Load Function
9. Click OK until you return to the Match Table dialog.
Configure the Auto-Load Trigger Source
The application uses a discrete input module (Discrete Input/Output
2) to activate the Auto-Load function. The following procedure
shows how to configure the input which will activate Auto-Load.
1. Click the AutoLoad button from the Match Table dialog.
2. Under Auto-Load Trigger:
• check the Enable check box.
• select Bar Code Reader 1 from the Device list.
• select Discrete Input/Output 2 from the Input list.
3. Click OK to return to the Match Table dialog.
4. Click Save and then Close to return to the Project dialog.
Publication 2755-6.8
1–10Using the Auto-Load Function
Sending the Configuration
to the Reader
Running the Application
From the main Project dialog, click the Send Device button to
download the configuration to the bar code reader.
Use the Monitor dialog to verify bar code labels as they are decoded.
When the application is running, bar code data is autoloaded by
triggering the decoder (with Package Detect) when the desired
symbol is scanned and decoded. If the bar code data is unreadable or
does not match the autoloaded match string, I/O LED 1 turns on.
The following illustration shows the auto-load sequence using a
Package Detect as a decoder trigger.
Package Detect
Auto-Load Trigger remains on until
Package Detect is turned off
Auto-Load Trigger
Auto-Load trigger prior to
Package Detect
For more information on using Auto-Load, refer to chapter 10 in the
AdaptaScan Software User Manual (Publication No. 2755-838).
Publication 2755-6.8
Using ASCII Command Input
Overview
Hardware Requirements
This application describes how to configure an AdaptaScan Bar
Code Reader to receive ASCII commands from a terminal emulator
over an RS-232 link:
• Terminal Emulator in Windows 3.1
• HyperTerminal in Windows 95
One character ASCII commands trigger the reader to start/stop
scanning. For each trigger command the reader receives, it echoes a
bar code string on the emulator.
The application includes the necessary cable diagrams and
configuration information for the AdaptaScan Bar Code Reader.
The hardware items required for this application are:
• 2755-SN3, -SN5 or -SN8 AdaptaScan Bar Code Reader
• 2755-NB40 or -NB41 Wiring Base
• 2755-NC43 or -NC48 Configuration Cable
• 2755-PW46 or -PW47 Power Supply
• Computer running Windows 3.1 (or later) or Windows 95
• 9-to-25 Pin Adapter (for computers with a 25-pin COM port)
Software Requirements
Related Publications
The software requirements for this application are:
• Terminal Emulator in Windows 3.1 or HyperTerminal in
Windows 95
Publications you may want to refer to include:
PublicationDescription
2755-837AdaptaScan Bar Code Readers User Manual
2755-838AdaptaScan Software User Manual
Publication 2755-6.8
2–2Using ASCII Command Input
Connecting a Computer to
the Reader
with Your Computer RS-232 Port
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 ASCII
commands to the reader and to display bar code messages on the
terminal emulator.
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
To Connector Compatible
RX
GND
TX
Wiring Base of Reader
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
24V+
V-
Reader
Ground Screw
on Wiring Base
Publication 2755-6.8
2–3Using ASCII Command Input
Configuring the Reader
This section shows how to configure the AdaptaScan Reader using
the AdaptaScan Software (Catalog No. 2755-ASN).
The procedures in this section show how to:
• configure a bar code label and symbol
• define a DeviceNet address
• configure the scanner
• configure the decoder trigger for ASCII Command Input
• configure one character ASCII commands to start/stop scanning
• configure the serial port for terminal emulation
• define the format and content of messages
Create a New Project
Create a new project named ASCII Command Input for one
AdaptaScan Bar Code Reader (Bar Code Reader 1).
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 ASCII
Command Input.
4. Click Save to save the project under the new name and then Close
to return to the Project dialog.
Publication 2755-6.8
Loading...
+ 324 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.