The text of a manual · part 1 of 19
Classic 1785 PLC-5 Programmable Controllers User Manual (1785-LT, -LT2, -LT3, -LT4), pages 1 to 10
Pages 1 to 10 of 186
The original document is the PDF (1.4 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 Allen-Bradley 1785-LT2, Allen-Bradley 1785-LT3, Allen-Bradley 1785-LT4 and Allen-Bradley 1785-LT B
Page 1
wy
Allen-Bradley
Classic 1785 PLC-5 Programmable User
Controllers Man ual
(1785-LT, -LT2, -LT3, -LT4)
Page 2
Important User Information
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 on 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.
Page 3
Summary of Changes
Summary of Changes
This manual has been revised to cover only Classic PLC-5 programmable controllers: PLC-5/10, -5/12, -5/15, and -5/25. It has also been revised to include the accompanying design worksheets that were formerly available as a separate publication: 1785-5.2. This separate publication is no longer available; see Appendix B for these worksheets. For information about Enhanced and Ethernet PLC-5 processors, see the Enhanced and Ethernet PLC-5 Programmable Controllers User Manual, publication 1785-6.5.12.
i
Page 4
Table of Contents
Summary of Changes . . . . . . . . . . . . . . . . . . . . . . . . . . . .
i
Classic PLC-5 Programmable Controllers . . . . . . . . . . . . .
iii
Purpose of this Manual . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Manual Organization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . How to Use this Manual . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
iii iv iv
Understanding Your System . . . . . . . . . . . . . . . . . . . . . . .
1-1
Using this Chapter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Understanding the Terms Used in this Chapter . . . . . . . . . . . . . . . Designing Systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Preparing Your Functional Specification . . . . . . . . . . . . . . . . . . . . Introducing Classic PLC-5 Processor Modules . . . . . . . . . . . . . . . Using the Classic PLC-5 Processor as a Remote I/O Scanner . . . . Using the Classic PLC-5 Processor as a Remote I/O Adapter . . . .
1-1 1-1 1-2 1-3 1-5 1-8 1-9
Choosing Hardware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2-1
Chapter Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Selecting I/O Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Selecting I/O Adapter Modules . . . . . . . . . . . . . . . . . . . . . . . . . . Selecting I/O Chassis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Selecting an Operator Interface . . . . . . . . . . . . . . . . . . . . . . . . . . Choosing a Classic PLC-5 Processor for Your Application . . . . . . . Selecting Power Supplies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Selecting Memory Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Selecting a Replacement Battery . . . . . . . . . . . . . . . . . . . . . . . . . Selecting Complementary I/O . . . . . . . . . . . . . . . . . . . . . . . . . . . Selecting a PLC-5 Processor Backup System . . . . . . . . . . . . . . . Selecting Link Terminators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Connecting a Programming Terminal to a Processor Module . . . . . Choosing Cables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2-1 2-1 2-4 2-6 2-6 2-9 2-9 2-13 2-13 2-13 2-14 2-15 2-15 2-15
Placing System Hardware . . . . . . . . . . . . . . . . . . . . . . . . .
3-1
Chapter Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Determining the Proper Environment . . . . . . . . . . . . . . . . . . . . . . Protecting Your Processor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Avoiding Electrostatic Damage . . . . . . . . . . . . . . . . . . . . . . . . . . Laying Out Your Cable Raceway . . . . . . . . . . . . . . . . . . . . . . . . . Planning Cabling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Laying Out the Backpanel Spacing . . . . . . . . . . . . . . . . . . . . . . . Grounding Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3-1 3-1 3-4 3-4 3-4 3-5 3-6 3-7
Page 5
ii
Table of Contents
Assigning Addressing Modes, Racks, and Groups . . . . . .
4-1
Chapter Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Placing I/O Modules in Chassis . . . . . . . . . . . . . . . . . . . . . . . . . . Understanding the Terms Used in this Chapter . . . . . . . . . . . . . . . Choosing the Addressing Mode . . . . . . . . . . . . . . . . . . . . . . . . . . Assigning Racks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Addressing Complementary I/O . . . . . . . . . . . . . . . . . . . . . . . . . .
4-1 4-1 4-2 4-3 4-9 4-12
Choosing Communication . . . . . . . . . . . . . . . . . . . . . . . . .
5-1
Chapter Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Identifying Classic PLC-5 Processor Channels/Connectors . . . . . . Configuring Communication for Your Processor . . . . . . . . . . . . . . Configuring a DH+ Link . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Connecting a DH+ Link to Data Highway . . . . . . . . . . . . . . . . . . . Choosing Programming Terminal Connection . . . . . . . . . . . . . . . .
5-1 5-1 5-3 5-3 5-10 5-10
Planning Your System Programs . . . . . . . . . . . . . . . . . . . .
6-1
Chapter Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Planning Application Programs . . . . . . . . . . . . . . . . . . . . . . . . . . Using SFCs with PLC-5 Processors . . . . . . . . . . . . . . . . . . . . . . . Preparing the Programs for Your Application . . . . . . . . . . . . . . . . Addressing Data Table Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . Using the Processor Status File . . . . . . . . . . . . . . . . . . . . . . . . . .
6-1 6-1 6-1 6-3 6-7 6-9
Selecting Interrupt Routines . . . . . . . . . . . . . . . . . . . . . . .
7-1
Chapter Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Using Programming Features . . . . . . . . . . . . . . . . . . . . . . . . . . . Writing a Fault Routine . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Understanding Processor-Detected Major Faults . . . . . . . . . . . . .
7-1 7-1 7-3 7-11
Transferring Discrete and Block-Transfer Data . . . . . . . . .
8-1
Chapter Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Transferring Data Using Adapter Mode . . . . . . . . . . . . . . . . . . . . Programming Discrete Transfer in Adapter Mode . . . . . . . . . . . . . Programming Block Transfer in Adapter Mode . . . . . . . . . . . . . . . Transferring Data Using Scanner Mode . . . . . . . . . . . . . . . . . . . . Programming Discrete Transfer in Scanner Mode . . . . . . . . . . . . . Programming Block Transfer in Scanner Mode . . . . . . . . . . . . . . . Programming Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . .
8-1 8-1 8-4 8-7 8-16 8-16 8-17 8-21
Page 6
Table of Contents iii
Calculating Program Timing . . . . . . . . . . . . . . . . . . . . . . . .
9-1
Chapter Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Introduction to Classic PLC-5 Processor Scanning . . . . . . . . . . . . I/O Scanning Discrete and Block Transfer . . . . . . . . . . . . . . . . . Instruction Timing and Memory Requirements . . . . . . . . . . . . . . . Program Constants . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Direct and Indirect Elements . . . . . . . . . . . . . . . . . . . . . . . . . . . .
9-1 9-1 9-5 9-7 9-13 9-13
Maximizing System Performance . . . . . . . . . . . . . . . . . . . .
10-1
Chapter Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Components of Throughput . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Input and Output Modules Delay . . . . . . . . . . . . . . . . . . . . . . . . . I/O Backplane Transfer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Remote I/O Scan Time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Processor Time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Calculating Throughput . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
10-1 10-1 10-1 10-2 10-2 10-6 10-6
Selecting Switch Settings . . . . . . . . . . . . . . . . . . . . . . . . .
A-1
Chassis Backplane with Classic PLC-5 Processor . . . . . . . . . . . . . Chassis Backplane with Adapter Module . . . . . . . . . . . . . . . . . . . Chassis Configuration Plug for Power Supply . . . . . . . . . . . . . . . . Remote I/O Adapter Module 1771-ASB Series C without Complementary I/O . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Remote I/O Adapter Module 1771-ASB Series C with Complementary I/O . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . SW1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Adapter-Mode Processors SW2 in a PLC-5 or Scanner Module . . Adapter-Mode Processors SW2 in a PLC-2/20, -2/30, or Sub I/O Scanner Module System . . . . . . . . . . . . . . . . . . . . Adapter-Mode Processors SW2 in a PLC-3 or PLC-5/250 System with 8-Word Groups . . . . . . . . . . . . . . . . . . . . . . . . . Adapter-Mode Processors SW2 in a PLC-3 or PLC-5/250 System with 4-Word Groups . . . . . . . . . . . . . . . . . . . . . . . . . SW3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
A-1 A-2 A-3 A-4 A-6 A-7 A-8 A-9 A-10 A-11 A-12
Design Worksheets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
B-1
Conventions Used in These Worksheets . . . . . . . . . . . . . . . . . . . Prepare a Functional Specification . . . . . . . . . . . . . . . . . . . . . . . . Determine Control Strategy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Identify Chassis Locations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Select Module Types and List I/O Points . . . . . . . . . . . . . . . . . . . . Total I/O Module Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . Assign I/O Modules to Chassis and Assign Addresses . . . . . . . . . . Select Adapter Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Place System Hardware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
B-1 B-2 B-4 B-6 B-7 B-9 B-10 B-12 B-14
Page 7
iv
Table of Contents
Configure Switch Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Determine Communication Requirements . . . . . . . . . . . . . . . . . . . Select a Classic PLC-5 Processor . . . . . . . . . . . . . . . . . . . . . . . . Select Power Supplies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Choose a Programming Terminal . . . . . . . . . . . . . . . . . . . . . . . . . Select Programming Terminal Configuration . . . . . . . . . . . . . . . . . Select Operator Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Develop Programming Specifications . . . . . . . . . . . . . . . . . . . . . .
B-15 B-17 B-21 B-23 B-24 B-25 B-26 B-28
Page 8
Preface
Classic PLC-5 Programmable Controllers
How to Use Your Documentation
Your Classic PLC-5 Programmable Controllers documentation is organized into manuals according to the tasks you perform. This organization lets you easily find the information you want without reading through information that is not related to your current task. The arrow in Figure 1 points to the book you are currently using. Figure 1 Classic PLC-5 Programmable Controllers Documentation Library
Classic 1785 PLC-5 Programmable Controllers User Manual
Classic 1785 PLC-5 Programmable Controllers Hardware Installation
Explanation of processor functionality, system design, and programming considerations and worksheets
How to install and set switches for chassis, PLC-5 processor, how to wire and ground your system
1785-6.2.1
1785-6.6.1
6200 or AI Series Software
Instruction Set Reference
1785 PLC-5 Programmable Controllers Quick Reference Quick access to switches, status bits, indicators, instructions, SW screens 1785-7.1
Instruction execution, parameters, status bits and examples
1785-6.1
For more information on 1785 PLC-5 programmable controllers or the above publications, contact your local Allen-Bradley sales office, distributor, or system integrator.
Purpose of this Manual
This manual is intended to help you design a Classic PLC-5 programmable controller system. Use this manual to assist you in: selecting the proper hardware components for your system determining the important features of classic PLC-5 processors and how to use those features planning your classic PLC-5 system layout iii
Page 9
Preface
Manual Organization
Chapter / Appendix
This manual has ten chapters and two appendices. The following table lists each chapter or appendix with its corresponding title and a brief overview of the topics covered in it. Title
Topics Covered
1
Understanding Your System
Provides an overview of Classic PLC-5 processors in different system configurations. Provides an introduction to Classic PLC-5 processors and their primary features and configurations. Also provides information on using a Classic PLC-5 processor as a remote I/O scanner or a remote I/O adapter.
2
Choosing Hardware
Provides information on your hardware choices when you design a Classic PLC-5 processor system.
3
Placing System Hardware
Describes proper environment, Classic PLC-5 processor protection, and prevention of electrostatic damage for your Classic PLC-5 programmable controller system. Also covers raceway and cable layout, backpanel spacing, and grounding configurations.
4
Assigning Addressing Mode, Rack, and Groups
Describes the I/O addressing modes that you can choose for your chassis. Explains how you assign group and rack numbers to your I/O chassis. Also covers how you configure complementary I/O by assigning rack and group addresses.
5
Choosing Communication
Identifies each Classic -5 processor channel/connector, and explains how to configure your Classic PLC-5 processor. Provides additional information about the Data Highway Plust (DH+t) link, programming software, and programming-terminal connections.
6
Planning Your System Programs
Explains the use of sequential function charts (SFCs). Provides guidelines and examples for preparing system programs. Provides a map of data table files and methods to address the data table files. Explains how to use the processor status file.
7
Selecting Interrupt Routines
Summarizes the conditions for which you would choose fault routines for your application. Provides a definition of fault routines.
8
Transferring Discrete and Block-Transfer Data
Explains how your CLassic PLC-5 processor transfers discrete and block-transfer data in both scanner and adapter modes.
9
Calculating Program Timing
Provides an overview of processor scan timing. Lists execution times and memory requirements for bit and word instructions as well as file instructions.
10
Maximizing System Performance
Explains how to calculate throughput, and provides methods for optimizing I/O scan time.
A
Selecting Switch Settings
Describes the switch settings for configuring a Classic PLC-5 programmable controller system.
B
Design Worksheets
Provides worksheets to help the designer plan the system and the installer to install the system.
How to Use this Manual
The following flow chart demonstrates a thought process that you can use when you plan your Classic PLC-5 programmable controller system.
iv
Page 10
Preface
System Design Determined
Select I/O modules, terminals
Assign addressing Place hardware
Configure processor communication
Select adapter modules
Configure Data Highway Plus
Select I/O chassis
Select programming software
Select power supply Select PLC-5 processor Select batteries and memory modules Complementary I/O selected? Backup system selected?
Assigning Addressing Mode, Racks, and Groups
Choosing Hardware and Placing System Hardware
Choosing Communication
Design SFCs Data table layout and processor status
Planning Your System Programs
Use fault routines Transfer data in adapter and scanner modes I/O update and ladder program scan times
Transferring Discrete and Block Data Calculating Program Timing and Maximizing System Performance
Since your decisions cannot always be made as a part of a strictly linear process, you can choose to complete tasks in parallel. When you select your I/O modules, for example, you can also begin to lay out and address your modules. Consult chapter 3, “Placing System Hardware,” to determine environmental requirements, enclosures needed, cable layout, and grounding requirements for your chassis and I/O links. Also, you can choose to assess block-transfer timing when you determine where you will place your block-transfer modules (in the processor-resident local I/O chassis, extended-local I/O chassis, or remote I/O chassis).
v