AdaptaScan Reader to a PLC-5 Using RS-232/ASCII Protocol with the 2760 RB Module and the 2760-SFC1 and -SFC2 Protocol Cartridge

Similar documents
AdaptaScan Reader to a PLC-5 Using DH-485 Protocol with the 2760 RB Module and the 2760-SFC2 Protocol Cartridge

Application Note. Overview. Hardware Requirements. Software Requirements

Dataliner Message Displays Using DL50 Slaves with a DL40 Master

Instructions. (For 6180 Industrial Computers) Applications. Overview & Safety

Instructions. (For 6180 Industrial Computers) Installing a Processor Upgrade

AC/DC (120V) Input Module Cat. No IAD Series C

8510 AC Spindle Drive Hardware/Firmware Replacement

Updates to Plastic Molding and Co-injection Modules (Catalog Numbers 1771-QDC and 1771-QI)

Reference Guide. (Catalog Number 1785 series) Introduction

A B A B. (Catalog Number 2707-MVH232, -MVP232) Product Data

Access Code and Phone Number

Setting Up a DH485 Network of (Bulletin 2750) intelligent Antennas Using a 27601RB Module and 2760=SFC2 Protocol Cartridge

FLEX I/O: Flexible Solutions for Distributed Systems. FLEX I/O System

EventBuilder.com. International Audio Conferencing Access Guide. This guide contains: :: International Toll-Free Access Dialing Instructions

Spoka Meet Audio Calls Rates Dial-In UK

Artisan Scientific is You~ Source for: Quality New and Certified-Used/Pre:-awned ECJuiflment

Allen-Bradley 1397 Enhanced Field Supply Card Cat. Nos FS FS1020

Cisco Aironet In-Building Wireless Solutions International Power Compliance Chart

Installation Instructions

iclass SE multiclass SE 125kHz, 13.56MHz 125kHz, 13.56MHz

Dashboard. Feb 18, Feb 18, 2008 Comparing to: Site. 13,318 Visits 28,414 Pageviews 2.13 Pages/Visit

EE Pay Monthly Add-Ons & Commitment Packs. Version

No Purchase needed

Industrial Computers. (Bulletin Number 6155) Product Data and Installation Instructions. Allen-Bradley Drives

Expanding ArmorBlock I/O Family Increases Packaging Choices and Interface Options for a Variety of Applications.

ALLEN-BRADLEY. Allen-Bradley. User Manual. Dataliner DL5 Series Off-line Programming Software. (Cat. No NP5)

END-OF-SALE AND END-OF-LIFE ANNOUNCEMENT FOR THE CISCO MEDIA CONVERGENCE SERVER 7845H-2400

Allen-Bradley. Smart Self-powered Serial Converter. User Manual. Cat. No SSS Firmware 1.xx

GW-WN150M 11b/g/n USB Wireless User Manual

Cisco CallManager 4.0-PBX Interoperability: Lucent/Avaya Definity G3 MV1.3 PBX using 6608-T1 PRI NI2 with MGCP

Cisco Voice Services Provisioning Tool 2.6(1)

ThinkPad carrying cases offer protection and convenience for your mobile requirements

Carrier Services. Intelligent telephony. for over COUNTRIES DID NUMBERS. All IP

MANUAL VOICE/DATA SIMCARD CANADA

Traffic Offload. Cisco 7200/Cisco 7500 APPLICATION NOTE

Cisco Extensible Provisioning and Operations Manager 4.5

VOICE/DATA SIMCARD USA UNLIMITED

ThinkPad carrying cases offer protection and convenience for your mobile requirements

PLEASE NOTE: firms may submit one set of research questionnaires covering both China and Hong Kong or separate sets for each jurisdiction

Power Performance Flexibility Integrated Servo and Control Solutions. ULTRA Plus Positioning Servo Drives. AB Drives

CISCO 7304 SERIES ROUTER PORT ADAPTER CARRIER CARD

Global entertainment and media outlook Explore the content and tools

CISCO IP PHONE 7970G NEW! CISCO IP PHONE 7905G AND 7912G XML

Vodafone Usage Manager R2.0

Out of Bundle Vodafone

NEW METHOD FOR ORDERING CISCO 1700 SERIES MODULAR ACCESS ROUTERS AND CISCO 1800 SERIES INTEGRATED SERVICES ROUTERS SOFTWARE SPARE IMAGES

DATA APPENDIX. Real Exchange Rate Movements and the Relative Price of Nontraded Goods Caroline M. Betts and Timothy J. Kehoe

Beckhoff short profile

ENHANCED INTERIOR GATEWAY ROUTING PROTOCOL STUB ROUTER FUNCTIONALITY

Field Terminal Assembly (FTA)

Griffin Training Manual Address Maintenance

Shell Global Helpline - Telephone Numbers

ANNOUNCING NEW PRODUCT OFFERINGS FOR THE CISCO CATALYST 6500 SERIES

Cisco 3745 Gateway - PBX Interoperability: Avaya Definity G3 PBX using Q.931 PRI Network Side Interfaces to an H.323 Gateway

END-OF-SALE AND END-OF-LIFE ANNOUNCEMENT FOR THE CISCO FLEXWAN MODULE FOR USE WITH THE CISCO 7600 SERIES ROUTERS AND CATALYST 6500 SERIES SWITCHES

NEW CISCO IOS SOFTWARE RELEASE 12.2(25)EY FOR CISCO CATALYST 3750 METRO SERIES SWITCHES

THE POWER OF A STRONG PARTNERSHIP.

CISCO 7304 SERIES ROUTER PORT ADAPTER CARRIER CARD

Alternative phone number: Credit card/debit card number Expiry date: / / DD MM YYYY

7. Parts catalog. How to use this parts catalog xx. Abbreviations used in the parts catalog include the following:

CONFIGURING EPOLICY ORCHESTRATOR 3.0 AND MCAFEE 8.0i WITH CISCO CALLMANAGER

(catalog no KTCT)

Cisco ONS SDH 12-Port STM-1 Electrical Interface Card

E-Seminar. Voice over IP. Internet Technical Solution Seminar

Cisco 2651XM Gateway - PBX Interoperability: Avaya Definity G3 PBX using Analog FXO Interfaces to an H.323 Gateway

Quintiles vdesk Welcome Guide

Digital EAGLEs. Outlook and perspectives

Turquoise Terminal Returns User Guide for Creating & Uploading a Turquoise Terminal Return

2755-LHR-5B, -3C, -5C,

Installation Instructions

Cisco Catalyst 2950 Series Software Feature Comparison Standard Image (SI) and Enhanced Image (EI) Feature Comparison

A Guide to our Tariffs

IS-13 TOPS Special Solicitation Volume Report

Step 1: New Portal User User ID Created Using IdentityIQ (IIQ)

USING TREND SERVERPROTECT5 WITH CISCO CALLMANAGER

Cisco Unified CallManager 4.0-PBX Interoperability: Mitel 3300 ICP Release 4.1 PBX to a Cisco 6608 Gateway using T1 QSIG with MGCP

CISCO SFP OPTICS FOR PACKET-OVER-SONET/SDH AND ATM APPLICATIONS

Payphone Origination Service Charge Rate Per Min. Mobile Origination Service Charge. MLB Switched Rate Per Min. MLB Dedicated Rate Per Min

3M Volition Network Solutions

Cisco AS5300 Gateway - PBX Interoperability: NEC NEAX 2400 PBX using T1 PRI Interfaces to an H.323 Gateway

Using TAPS with +E.164 Directory Numbers

USING MCAFEE VIRUSSCAN ENTERPRISE 8.0I WITH CISCO CALLMANAGER

Cisco AVVID The Architecture for E-Business

The Traveller plans include a monthly Mobile Broadband allowance to be used within all Table 1: Go Europe + USA Destinations.

A Guide to our Tariffs

NEW JERSEY S HIGHER EDUCATION NETWORK (NJEDGE.NET), AN IP-VPN CASE STUDY

COCAINE (unless otherwise noted) amongst young people (ordered alphabetically by regions)

For: Ministry of Education From Date: 19 November 18-2 December 18 Venue: M1 Shops

CISCO NETWORK CONNECTIVITY CENTER BUSINESS DASHBOARD

Power Analyzer Firmware Update Utility Version Software Release Notes

Appendix G. Percentiles and Standard Deviations of Science Achievement TIMSS 2011 INTERNATIONAL RESULTS IN SCIENCE APPENDIX G 495

User Guide. Introduction

DATA SHEET. Catalyst Inline Power Patch Panel

CISCO FAX SERVER. Figure 1. Example Deployment Scenario. The Cisco Fax Server solution consists of the following components:

Beckhoff short profi le

Enterprise price plan guide Vodafone One Net Business

Installation Guide. An easy guide to installing and upgrading WorldShip software.

Cisco CallManager Server Upgrade Program

Overcoming the Compliance Challenges of VAT Remittance. 12 April :55 to 16:30 (CEST)

Cisco Unified CallConnector for Microsoft Office Quick Reference Guide 1

Transcription:

Application Note AdaptaScan Reader to a PLC-5 Using RS-232/ASCII Protocol with the 2760 RB Module and the 2760-SFC1 and -SFC2 Protocol Cartridge Overview The AdaptaScan-SN3, -SN5 or -SN8 bar code reader may be configured to communicate with the 2760-RB interface module via dumb terminal protocol RS-232, using the 2760-SFC1 or -SFC2 protocol cartridge. This document includes cable diagrams and configuration information for the AdaptaScan readers. It also includes an example PLC-5 program which is needed to establish communication from the PLC to the 2760-RB. Hardware Requirements The following Allen-Bradley hardware is needed to use the procedure described in this application note: 2755-SN3, -SN5, or -SN8 AdaptaScan reader and related manuals. 2760-RB interface module in a 1771 rack with a PLC-5 processor 2760-SFC1 or SFC2 protocol cartridge Personal computer or VT 100 type terminal to configure the 2760-RB Appropriate cables to program the PLC-5 and to configure the 2760-RB interface module and the AdaptaScan reader. Refer to hardware manuals for cable requirements. Catalog Number 1784-KT or equivalent card installed in the computer to enable you to program the PLC-5.

2 Software Requirements The following Allen-Bradley software is needed to use the procedure described in this application note: Bulletin 6200 development software for the PLC-5, to run in the personal computer Terminal Emulation software for a personal computer, to configure the 2760-RB 2755-ASN Windows-Based Offline Program Software to configure the AdaptaScan reader Related Publications This document refers to the following publications, which should be available for reference while working through this application note: Publication Number Title 1785-XXX User Manual for your PLC-5 6200-XXX Programming Manual for your PLC-5 2755-837 AdaptaScan Bar Code Readers Installation Manual 2755-838 AdaptaScan Configuration Software User Manual 2760 ND001 2760 RB User Manual 2760-2.16 2760-SFC1 Protocol Cartridge Manual 2760-2.19 2760-SFC2 Protocol Cartridge Manual PLC 5 Compatibility Use the following table as a configuration guideline when using the examples shown in this document. 2760-RB In Use Series A, Rev. G or below Series A, Rev H or Above PLC-5, -15, -25, etc. Follow example PLC program as shown on page 9. New Generation PLC-5 (Series A, Rev. C or above only) Set BT Compatibility Bit S26/4 while in program mode. Use example PLC program shown on page 9. Add ladder logic using IIN update of RB. BTR must be before BTW. Refer to page 10.

3 Configuration The 2760-RB configuration example includes sample configuration screens and DIP switch settings needed to establish communication with the AdaptaScan reader via RS-232. Other 2760-RB configuration features not used here are also available. See Publication 2760-ND001. PLC-5 processor DIP switches Switch # 1 2 3 4 5 6 7 8 SW-1 on on on on on on on off SW-2 off on on on on on on off SW-3 on on off off I/O chassis backplane DIP switches 1 2 3 4 5 6 7 8 off off off off off on off off 2760-RB module DIP switches Switch # 1 2 3 4 5 6 7 8 SW-1 off off off off off off off off SW-2 off off off off off off off off SW-3 off off off off SW-4 off off on off The 2760-RB module is placed in the 1771 chassis in slot 0 next to the PLC. For this application, note that the AdaptaScan reader communicates through port 1 on the 2760-RB. A 1771-ASB module can also be used to communicate with the 2760-RB module over the chassis back plane to Remote I/O. Protocol Cartridge (Catalog No. 2760-SFC1 or -SFC2) ASCII (Dumb) Terminal RS-232 Flexible Interface Module (Catalog No. 2760-RB) AdaptaScan Bar Code Reader

4 PLC-5 Program The sample ladder logic listing below instructs the PLC-5 to: Rung 2:0 Read AdaptaScan data from the RB module. Refer to your PLC-5 user manual for detailed information on using the PLC-5 programming software. The configuration screens for the 2760-RB should be entered exactly as shown. These parameters then need to be saved. Both the AdaptaScan reader and the 2760-RB are configured to send and recognize the Carriage Return (Cr), Line Feed (Lf) characters to identify a message. When the 2760 RB senses information entering Port 1, it will look for the Cr, Lf. When it sees these trailers, it will Block transfer read (BTR) the preceding bar code data into the PLC program.

5 Configuring the 2760-RB 1. Set all 2760-RB module DIP switches to Off. 2. Connect the smart cable to the Configuration port of the 2760-RB and the serial port of the computer. 3. Use the Terminal Emulator to send a break sequence to the 2760-RB: A. Set the baud rate to 9600, 8 data bits, 1 stop bit, no parity, no flow control, and either COM1 or COM2 depending on the smart cable connection. B. Program a function key to send the break sequence by using the ^$B command. C. Send the break sequence to call up the 2760-RB configuration menu. 4. Select menu item 3: Device port protocol names. Set to: PORT1=COPYRIGHT 1989 ALLEN-BRADLEY COMPANY INC. 2760-SFC2 DT SERIES A REVISION A (YES/NO)=YES 5. Select menu item 21: Identification numbers. Select: DUMB TERM. UNSPECIFIED PROTOCOL, 13FH (YES/NO)=YES 6. Select option 11: Configuration parameters. Set to: MODEM CONTROL (ENABLE/DISABLE)=DISABLE 9600 BITS PER SECOND (YES/NO)=YES 8 BITS NO PARITY (YES/NO)=YES XON/XOFF (ENABLE/DISABLE)=DISABLE RS232 (YES/NO)=YES RECEIVE MATRIXING (ENABLE/DISABLE)=ENABLE BYTE SWAPPING (ENABLE/DISABLE)=DISABLE BINARY DATA NO CONVERSIONS (YES/NO)=YES HDR/TLR ON OUTPUT (ENABLE/DISABLE)=ENABLE HEADER BYTE LENGTH (DEC 0...4)= 0 HEADER DATA[0](HEX 0...FF)=0 HEADER DATA[1](HEX 0...FF)=0 HEADER DATA[2](HEX 0...FF)=0 HEADER DATA[3](HEX 0...FF)=0 TRAILER BYTE LENGTH (DEC 0...4)=2 TRAILER DATA[0](HEX 0...FF)=0a TRAILER DATA[1](HEX 0...FF)=0d TRAILER DATA[2](HEX 0...FF)=0 TRAILER DATA[3](HEX 0...FF)=0 7. Verify that the 2760-RB is in rack 0, group 0 module 0. 8. Save the above configuration.

6 2755-SN3, -SN5, -SN8 AdaptaScan Reader Configuration The AdaptaScan Offline Programmer configuration shows only the screens needed to establish communication to the 2760-RB module. Other AdaptaScan configuration parameters (selecting a bar code symbology, trigger methods, etc.) are beyond the scope of this document. See the AdaptaScan Configuration Software user manual. An example configuration for the 2755-SNx AdaptaScan Reader is illustrated below. Important: The settings illustrated below represent only part of the configuration required for the AdaptaScan reader to work in a given application. Refer to the AdaptaScan Configuration Software user s manual for complete details on how to configure the reader for your application. The Project dialog contains all the basic configuration options.

7 The Serial Port dialog defines communication parameters (RS-232/ RS-485/ RS-422) and protocols (ASCII, DH-485, DF1) for the reader s communication ports. Access it by selecting Serial Port in the Project dialog. In the Serial Port dialog, choose Terminal in the Protocol box, and select Edit to get this dialog:

8 The Message dialogs define the format and content of message data sent to the host by the reader when bar codes are decoded. This dialog is accessed by selecting Message in the Project dialog. When Edit is selected in the New Message screen, the Message Field dialog appears:

9 And when Edit is selected in the Message Field screen, this dialog appears: Sample PLC Program A sample PLC program appropriate for using a PLC 5/15/25 with a 2760 -RB module appears below. I:000 N7:0 N7:5 + + + ] [ ]/[ ]/[ +Block Transfer Read + O + 13 15 15 Rack 0 Group 1 Module 0 Control Block N7:100+ O + Length 0 Continuous N + + Write Data N7:0 N7:5 + + + ] [ ]/[ ]/[ +Block Transfer Write 15 15 Rack 0 Group 1+ O + Module 0 Control Block N7:5 Data File N7:200+ O Length 0 Continuous N + + Refer to your PLC-5 Instruction Reference Manual for detailed information on using the PLC-5 programming software.

10 Using the 2760-RB, Revision H or Above, with the New Generation PLC5 When the 2760-RB, Revision H or above, is used with the New Generation PLC5 processors in a local rack, there is a possibility that the PLC will not see the BRR bit from the 2760-RB. For the PLC5 to see the BTR bit, an odd number of image scans must occur. To ensure that the BTR instruction sees the BRR bit (bit 13) you must place an Immediate Input Instruction addressed to the BRR bit in another rung just before the Block Transfer Read (BTR) rung. This ensures that the BRR bit is seen by the NP-5 processor. BRR BT7:5 BT7:25 001 + ]/[ ]/[ ]/[ ( IIN ) + BTR BRR BT7:5 BT7:25 + + + ] [ ]/[ ]/[ +Rack 0 EN EN Group 1 Module 0+ O + Control Block BT7:5 Data File N7:200 Length 0+ O + Continuous N + + Write BTW Data BT7:5 BT7:25 + + + ] [ ]/[ ]/[ +Rack 0 EN EN Group 1 Module 0+ O + Control Block BT7:25 Data File N7:400 Length 0+ O + Continuous N + + Note: BTR must come before BTW.

11 Cabling Cable 1 must be constructed to connect a configuration terminal to the 2760-RB Module Configuration port. Cable 2 must be constructed to connect the RS232/422 port of the Bulletin 2755 SN3, -SN5, or -SN8 AdaptaScan reader wiring base to Port 1 on the 2760-RB. Refer to these cabling diagrams. Cable 1 2760-RB (config. port) 25-pin D male Tx 2 Rx 3 GND 7 Dumb Terminal (VT-1000) 25-pin D female 3 Rx 2 Tx 7 GND Cable 2 2760-RB Port 1 25-pin D male Tx 2 Rx 3 AdaptaScan Terminal Strip, Nema 4 RS-232 Rx Tx GND 7 GND

PLC-5 is a registered trademark of Allen-Bradley Co., Inc., a Rockwell International Company AdaptaScan, PLC-5/30, PLC-5/40 and PLC-5/60 are trademarks of Allen-Bradley Co., Inc., a Rockwell International Company Microsoft Windows is a trademark of Microsoft Corporation Allen-Bradley has been helping its customers improve productivity and quality for 90 years. A-B designs, manufactures and supports a broad range of control and automation products worldwide. They include logic processors, power and motion control devices, man-machine interfaces and sensors. Allen-Bradley is a subsidiary of Rockwell International, one of the world s leading technology companies. With major offices worldwide. Algeria Argentina Australia Austria Bahrain Belgium Brazil Bulgaria Canada Chile China, PRC Colombia Costa Rica Croatia Cyprus Czech Republic Denmark Ecuador Egypt El Salvador Finland France Germany Greece Guatemala Honduras Hong Kong Hungary Iceland India Indonesia Israel Italy Jamaica Japan Jordan Korea Kuwait Lebanon Malaysia Mexico New Zealand Norway Oman Pakistan Peru Philippines Poland Portugal Puerto Rico Qatar Romania Russia CIS Saudi Arabia Singapore Slovakia Slovenia South Africa, Republic Spain Switzerland Taiwan Thailand The Netherlands Turkey United Arab Emirates United Kingdom United States Uruguay Venezuela Yugoslavia World Headquarters, Allen-Bradley, 1201 South Second Street, Milwaukee, WI 53204 USA, Tel: (1) 414 382-2000 Fax: (1) 414 382-4444 April 1996 Supersedes Dated January 1996 40062-321-01(B) Copyright 1996 Allen-Bradley Company, Inc. Printed in USA