The text of a manual · part 2 of 19
Classic 1785 PLC-5 Programmable Controllers User Manual (1785-LT, -LT2, -LT3, -LT4), pages 11 to 20
Pages 11 to 20 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 11
Chapter
1
Understanding Your System
Using this Chapter
Understanding the Terms Used in this Chapter
If you want to read about:
Go to page:
Terms used in this chapter
1-1
Designing systems
1-2
Preparing your functional specification
1-3
Identifying Classic PLC-5 processor features
1-5
Using the Classic PLC-5 processor as a remote I/O scanner
1-8
Using the Classic PLC-5 processor as a remote I/O adapter
1-9
Become familiar with the following terms and their definitions. Term
Definition
Processor-resident local I/O chassis the I/O chassis in which the PLC-5 processor is installed
Processor-resident local I/O
I/O modules located in the same chassis as the PLC-5 processor
Remote I/O link a serial communication link between a PLC-5 processor port in scanner mode and an adapter as well as I/O modules that are located remotely from the PLC-5 processor
Remote I/O chassis the hardware enclosure that contains an adapter and I/O modules that are located remotely on a serial communication link to a PLC-5 processor in scanner mode
Discrete-transfer data data (words) transferred to/from a discrete I/O module
Block-transfer data data transferred, in blocks of data up to 64 words, to/from a blocktransfer I/O module (for example, an analog module)
1-1
Page 12
Chapter 1 Understanding Your System
Designing Systems
You can use Classic PLC-5 processors in a system that is designed for centralized control or in a system that is designed for distributed control. HP 9000 or VAX Host
Centralized control is a hierarchical system where control over an entire process is concentrated in one processor.
Programming Terminal DH+ Link
Programming Terminal with ControlView Software
Classic PLC-5 Processor Remote I/O Link
Chassis with 1771-ASB Remote I/O Adapter
Chassis with 1771-ASB Remote I/O Adapter To DECnet r
Distributed control is a system in which control and management functions are spread throughout a plant. Multiple processors handle the control and management functions and use a Data Highway or a bus system for communication.
Pyramid Integrator
Programming Terminal 6200 VMS INTERCHANGE Software
ControlView INTERCHANGE Software
DH+ Link PanelView Operator Terminal Remote I/O Link
Series 8600 CNC with Remote I/O SLC 5/01 Processor 7-slot Modular System with 1747-DCM Module
Consider the following items as general guidelines when designing your system. Will your processor(s) be used in a centralized or distributed system? What type of process(es) will be controlled by the PLC-5 system? What processes will be controlled together? What are the environmental and safety concerns? What is the flow and functionality of your system?
1-2
18084
Page 13
Chapter 1 Understanding Your System
Determine the general criteria for your system. Use the chapters that follow to guide you through the criteria and choices for selecting the major Classic PLC-5 programmable controller system elements, as shown in Figure 1.1. Figure 1.1 PLC-5 Processor System Design Flow 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 Classic PLC-5 processor Select batteries and memory modules Complementary I/O selected? Backup system selected?
Preparing Your Functional Specification
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
We recommend that you first develop a specification that defines your hardware selection and your programming application. The specification is a conceptual view of your system. Use it to determine your: control strategy hardware selection, layout, and addressing sequential function chart (SFC) special programming features ladder-logic requirements
1-3
Page 14
Chapter 1 Understanding Your System
Figure 1.2 illustrates a program-development model that you can use. Figure 1.2 Program-Development Model Functional Specification (General Conception)
Acceptance Sign-off
Detailed Anaylsis
Testing
Program Development
This model allows for the interaction of activities at the different levels. Each section represents an activity that you perform. Prepare a functional specification to start; then, prepare the detailed analysis. Based on the detailed analysis, you can also develop your programs, enter your programs, and test them. When testing is complete, you are ready to implement the programs in your application. The detailed analysis can be used as the basis for developing your testing procedures and requirements. Because the functional specification is well thought out, it can be used as the program sign-off document.
Functional Specification Content The functional specification represents a very general view of your process or a description of operation. Identify the events and the overall order in which they must occur. Identify the equipment that you will need for your process/operation. Generally indicate the layout of your system. If your application requires a distributed control system, for example, indicate where you will need remote I/O links. Also, you can have a process that is located close to your processor. The process can require faster update time than that provided by a remote I/O link, so you can select an extendedlocal I/O link for that process. Important: Choose a communication rate for your remote I/O link at which every device on the link can communicate.
1-4
Page 15
Chapter 1 Understanding Your System
The program-development portion of your functional specification can be in any form: written statement; flowchart; or rough-draft MCPs, SFCs, and subroutines. Use the form that is most familiar to you. We recommend, however, that you generate rough-draft SFCs and subroutines so that you have a better correspondence between your beginning diagrams and your finished program.
Detailed Analysis In this phase, you identify the logic needed to plan your programs. This includes inputs, outputs, specific actions, and transitions between actions (i.e., the bit-level details needed to write your program).
Program Development You enter the programs either offline into your computer or online into a processor. In the next phase, you test the programs that you have entered. Once testing is complete, your resulting programs should match your functional specification.
Checking for Completeness When you complete the functional specification and the detailed analysis, review them and check for missing or incomplete information such as: input conditions safety conditions startup or emergency shutdown routines alarms and alarm handling fault detection and fault handling message display of fault conditions abnormal operating conditions
Introducing Classic PLC-5 Processor Modules
The following is a list of the PLC-5 processors and their catalog numbers. Processor
Catalog Number
PLC-5/10t
1785-LT4
PLC-5/12t
1785-LT3
PLC-5/15t
1785-LT
PLC-5/25t
1785-LT2
For information on other PLC-5 processors (Enhanced, Ethernet, or ControlNet), see your Allen-Bradley representative.
1-5
Page 16
Chapter 1 Understanding Your System
Classic PLC-5 Family Processor Features From the family of PLC-5 processors, you can choose the processor(s) that you need for your application. Features common to all Classic PLC-5 processors are: same physical dimensions use of the left-most slot in the 1771 I/O chassis can use any 1771 I/O module in the processor-resident local I/O chassis with up to 32 points per module same programming software and programming terminals same base set of instructions ladder programs and SFCs can be used by any of the PLC-5 processors Check with your Allen-Bradley sales office or distributor if you have questions regarding any of the features of your PLC-5 processor. Subprogram Calls Use a subroutine to store recurring sections of program logic that can be accessed from multiple program files. A subroutine saves memory because you program repetitive logic only once. The JSR instruction directs the processor to go to a separate subroutine file within the logic processor, scan that subroutine file once, and return to the point of departure. For detailed information about how you generate and use subroutines, see your programming software documentation set. Sequential Function Charts Use SFCs as a sequence-control language to control and display the state of a control process. Instead of one long ladder program for your application, divide the logic into steps and transitions. A step corresponds to a control task; a transition corresponds to a condition that must occur before the programmable controller can perform the next control task. The display of these steps and transitions lets you see what state the machine process is in at a given time. For detailed information about how you generate and use SFCs, see you programming software. Ladder Logic Programs A main program file can be an SFC file numbered 1-999; it can also be a ladder-logic file program numbered 2-999 in any program file.
1-6
Page 17
Chapter 1 Understanding Your System
Consider using this technique:
If you are:
SFC
• defining the order of events in a sequential process
Ladder Logic
• more familiar with ladder logic than with programming languages such as BASIC • performing diagnostics • programming discrete control
For detailed information about how you use ladder logic, see your programming software documentation. Backup System The following diagram shows a typical PLC-5 backup system: Local I/O Chassis 1785-BCM Module PLC-5 Processor
Local I/O Chassis 1785-BCM Module PLC-5 Processor
1771-P4S Power Supply
1771-P4S Power Supply
HSSL DH+ Link Remote I/O Link
DH+ LInk Remote I/O Chassis
Remote I/O Chassis
Remote I/O Link 18691
In a PLC-5 backup system configuration, one system controls the operation of remote I/O and DH+ communications. This system is referred to as the “primary system.” The other system is ready to take control of the remote I/O and DH+ communications in the event of a fault in the primary system. This is referred to as the “secondary system.” See chapter 2, “Choosing Hardware,” to select backup system hardware. See the PLC-5 Backup Communication Module User Manual, publication 1785-6.5.4, for more information on configuring a PLC-5 backup system.
1-7
Page 18
Chapter 1 Understanding Your System
Using the Classic PLC-5 Processor as a Remote I/O Scanner
Use scanner mode whenever you want a Classic PLC-5 processor to scan and control remote I/O link(s). The scanner-mode processor also acts as a supervisory processor for other processors that are in adapter mode. The scanner-mode processor scans the processor memory file to read inputs and control outputs. The scanner-mode processor transfers discrete-transfer data and block-transfer data to/from the processor-resident local rack as well as to/from modules in remote I/O racks. A PLC-5 processor scans processor-resident local I/O synchronously to the program scan. A PLC-5 processor scans remote I/O asynchronously to the program scan, but the processor updates the input/output image data table from the remote I/O buffer(s) synchronously to the program scan. This occurs at the end of each program scan.
Processor-Resident Local I/O Scan Synchronous to Program Scan
Input Output
Processor- Resident I/O
Output Input
Scanner-Mode PLC-5 Processor
Remote I/O Buffer Remote I/O Scan Asynchronous to Program Scan
Input
Output
Remote I/O Link
The scanner-mode PLC-5 processor can also: gather data from node adapter devices in remote I/O racks process I/O data from 8-, 16-, or 32-point I/O modules address I/O in 2-, 1-, or 1/2-slot I/O groups support a complementary I/O configuration support block transfer in any I/O chassis Configure the PLC-5/15 or -5/25 processor for scanner mode by setting switch assembly SW1.
1-8
Page 19
Chapter 1 Understanding Your System
Using the Classic PLC-5 Processor as a Remote I/O Adapter
Use a Classic PLC-5 processor (except the PLC-5/10 processor) in adapter mode when you need predictable, real-time exchange of data between a distributed control PLC-5 processor and a supervisory processor. You connect the processors via the remote I/O link (see Figure 1.3). You can monitor status between the supervisory processor and the adapter-mode PLC-5 processor at a consistent rate (i.e., the transmission rate of the remote I/O link is unaffected by programming terminals and other non-control-related communications).
Figure 1.3 Adapter-Mode Communication PLC-5 Processor in Adapter Mode 2
Supervisory Processor1 Remote I/O Link
1771 I/O
DL40 Message Display
Remote I/O Link
1 The following programmable controllers can operate as supervisory processors:
PLC-2/20t and PLC-2/30t processors PLC-3t and PLC-3/10t processors PLC-5/11, -5/15, -5/20, -5/25, and -5/30 processors as well as PLC-5/VMEt processors PLC-5/40, -5/40L, -5/60, -5/60L, and -5/80 processors as well as PLC-5/40BVt and PLC-5/40LVt processors PLC-5/20Et, -5/40Et PLC-5/250t 2
All PLC-5 family processors, except the PLC-5/10, can operate as remote I/O adapter modules.
The PLC-5 processor in adapter mode acts as a remote station to the supervisory processor. The adapter-mode PLC-5 processor can monitor and control its processor-resident local I/O while communicating with the supervisory processor via a remote I/O link. The supervisory processor communicates with the PLC-5/12, -5/15, or -5/25 adapter with either eight or four I/O image table words. A PLC-5 processor transfers I/O data and status data using discrete transfers and block transfers. You can also use block-transfer instructions to communicate information between a supervisory processor and an adapter-mode processor. The maximum capacity per block transfer is 64 words.
1-9
Page 20
Chapter
2
Choosing Hardware
Chapter Objectives
Selecting I/O Modules
Use this chapter to guide you in the selection of system hardware for your application. To select:
Go to page:
I/O modules
2-1
I/O adapters
2-4
Chassis
2-6
Operator interface
2-6
PLC-5 processor
2-9
Power supplies
2-9
Memory modules
2-13
Batteries
2-13
Complementary I/O
2-13
Backup system
2-14
Termination resistor
2-15
Cables
2-15
System Design Determined
Choosing Hardware Placing System Hardware Assigning Addressing Mode, Racks, and Groups Choosing Communication
Selecting Interrupt Routines Transferring Discrete and Block Data Calculating Program Timing
Planning Your System Programs
You select I/O modules to interface your PLC-5 processor with machines or processes that you have previously determined. Use the following list and Table 2.A as guidelines for selecting I/O modules and/or operator control interface(s). How much I/O is required to control the process(es)? Where will you concentrate I/O points for portions of an entire process (when an entire process is distributed over a large physical area)? What type of I/O is required to control the process(es)? What is the required voltage range for each I/O module? What is the backplane current required for each I/O module? What are the noise and distance limitations for each I/O module? What isolation is required for each I/O module?
2-1