Programmable Logic Controllers Basic Level

2y ago
120 Views
11 Downloads
445.30 KB
28 Pages
Last View : 30d ago
Last Download : 3m ago
Upload by : Konnor Frawley
Transcription

Programmable Logic ControllersBasic LevelWorkbook TP 301Festo Didactic093314 en

2Authorised applications and liabilityThe Learning System for Automation and Technology has been developed and prepared exclusively for training in the field of automation. Thetraining organization and / or trainee shall ensure that the safety precautions described in the accompanying Technical documentation are fullyobserved.Festo Didactic hereby excludes any liability for injury to trainees, to thetraining organization and / or to third parties occurring as a result of theuse or application of the station outside of a pure training situation,unless caused by premeditation or gross negligence on the part of FestoDidactic.Order eatrice HuberDoris SchwarzenbergerEkhard v. Terzi, Christine Löffler, Frank Ebel Copyright by Festo Didactic GmbH & Co., D-73770 Denkendorf 2013The purchaser shall receive a single right of use which is non-exclusive,non-time-limited and limited geographically to use at the purchaser'ssite/location as follows.The purchaser shall be entitled to use the work to train his/her staff atthe purchaser's site/location and shall also be entitled to use parts of thecopyright material as the basis for the production of his/her own trainingdocumentation for the training of his/her staff at the purchaser'ssite/location with acknowledgement of source and to make copies forthis purpose. In the case of schools/technical colleges and training centres, the right of use shall also include use by school and college students and trainees at the purchaser's site/location for teaching purposes.The right of use shall in all cases exclude the right to publish the copyright material or to make this available for use on intranet, Internet andLMS platforms and databases such as Moodle, which allow access by awide variety of users, including those outside of the purchaser'ssite/location.Entitlement to other rights relating to reproductions, copies, adaptations,translations, microfilming and transfer to and storage and processing inelectronic systems, no matter whether in whole or in part, shall requirethe prior consent of Festo Didactic GmbH & Co. KG.TP301 Festo Didactic

3PrefaceThe Festo Didactic Learning System for Automation and Technology isdesigned to meet a number of different training and vocational requirements, and the training packages are structured accordingly: Basic packages convey basic knowledge spanning a wide range oftechnologies Technology packages deal with important areas of open and closedloop control technology Function packages explain the basic functions of automated systems Application packages provide basic and further training closely oriented to everyday industrial practiceThe technology packages encompass pneumatics, electro-pneumatics,control pneumatics, programmable logic controllers, hydraulics, electrohydraulics, proportional hydraulics and control hydraulics.Fig. 1:Pneumatik 2000 –i.e. mobile workstationMounting FrameProfile PlateU 230 V p 6 MPaStorage trayFesto Didactic TP301

4The modular design of the learning system permits applications beyondthe limits of the individual packages. PLC actuation, for example, istherefore possible of pneumatic, hydraulic and electrical actuators.All learning packages have an identical structure: Hardware Teachware Software CoursesThe hardware consists of industrial components and installationsadapted for didactic purposes.The courseware is matched methodologically and didactically to thetraining hardware. The courseware comprises: Textbooks (with exercises and examples) Workbooks (with practical exercises, worksheets, supplementarynotes, solutions and data sheets) Overhead transparencies and videos (as a visual means of teachingsupport)The teaching and learning media are available in several languages.They have been designed for use in classroom teaching, but can also beused for self-study purposes.In the software field, computer-based training programs, computer simulating programs, CAD programs and programming software for programmable logic controllers are available.Festo’s Didactic range of products for basic and further training is completed by a comprehensive selection of courses matched to the contentsof the technology packages.TP301 Festo Didactic

5Table of contentsTechnology package TP30113Layout of this workbook14Component/exercise table15Equipment set TP30116Notes on safety17Operating notes18Section A – CourseComponents of a programmable logic controllerExercise 1:Design and commissioning of a programmablelogic controllerComponents of a PLCA-3Programming to EN 61131 (IEC 61131)Exercise 2:From problem to solution –taking into consideration EN 61131 (IEC 61131)Practical steps for PLC programmingA-11Basic logic operationsExercise 3:Exercise 4:Exercise 5:Exercise 6:Lamp circuitThe assignment functionA-19Burglar alarmThe NOT functionA-29Press with protective guardThe AND functionA-39Bell systemThe OR functionA-49Festo Didactic TP301

6Logic control systems without latching propertiesExercise 7:Exercise 8:Stamping deviceCombination of AND/OR/NOTA-59Silo control system for two bulk materialsCombination circuit with branchingA-69Logic control systems with latching propertiesExercise 9:Exercise 10:Exercise 11:Fire alarmSetting an outputA-77Drill breakage monitoringSetting and resetting an outputA-85Activating a cylinderSignal edgesA-95Logic control systems with time responseExercise 12:Exercise 13:Exercise 14:Bonding of componentsPulseA-107Embossing deviceSwitch-on signal delayA-117Clamping deviceSwitch-off signal delayA-127Sequence control systemsExercise 15:Exercise 16:Exercise 17:Lifting device for packagesLinear sequenceA-137Lifting and sorting device for packagesAlternative branchingA-155Stamping device with counterCounting cyclesA-167TP301 Festo Didactic

7Section B – FundamentalsChapter 1 Automating with a PLCB-11.1IntroductionB-11.2Areas of application of a PLCB-21.3Basic design of a PLCB-51.4The new PLC standard EN 61131 (IEC 61131)B-8Chapter 2 FundamentalsB-112.1The decimal number systemB-112.2The binary number systemB-112.3The BCD codeB-132.4The hexadecimal number systemB-132.5Signed binary numbersB-142.6Real numbersB-142.7Generation of binary and digital signalsB-15Chapter 3 Boolean operationsB-193.1Basic logic functionsB-193.2Further logic operationsB-233.3Establishing switching functionsB-253.4Simplification of logic functionsB-283.5Karnaugh-Veitch diagramB-30Festo Didactic TP301

8Chapter 4 Design and mode of operation of a PLCB-334.1Structure of a PLCB-334.2Central control unit of a PLCB-354.3Function mode of a PLCB-374.4Application program memoryB-394.5Input moduleB-414.6Output moduleB-434.7Programming device/Personal computerB-45Chapter 5 Programming of a PLCB-475.1Systematic solution findingB-475.2EN 61131-3 (IEC 61131-3) structuring resourcesB-505.3Programming languagesB-54Chapter 6 Common elements of programming languagesB-576.1Resources of a PLCB-576.2Variables and data typesB-606.3ProgramB-70Chapter 7 Function block diagramB-857.1Elements of function block diagramB-857.2Evaluation of networksB-857.3Loop structuresB-87Chapter 8 Ladder diagramB-898.1Elements of ladder diagramB-898.2Functions and function blocksB-928.3Evaluation of current rungsB-93TP301 Festo Didactic

9Chapter 9 Instruction tions and function blocksB-97Chapter 10 Structured Selection statementsB-10310.4Iteration statementsB-106Chapter 11 Sequential function chartB-11111.1IntroductionB-11111.2Elements of sequential function ampleB-135Chapter 12 Logic control systemsB-13912.1What is a logic control systemB-13912.2Logic control systems without latching propertiesB-13912.3Logic control systems with memory functionB-14512.4Edge evaluationB-148Chapter 13 TimersB-15313.1IntroductionB-15313.2Pulse timerB-15413.3Switch-on signal delayB-15613.4Switch-off signal delayB-158Festo Didactic TP301

10Chapter 14 CounterB-16114.1Counter functionsB-16114.2Incremental counterB-16114.3Decremental counterB-16514.4Incremental/decremental counterB-167Chapter 15 Sequence control systemsB-16915.1What is a sequence control systemB-16915.2Function chart to IEC 60848B-169Chapter 16 Commissioning andoperational safety of a PLCB-17516.1CommissioningB-17516.2Operational safety of a PLCB-177Chapter 17 CommunicationB-18317.1The need for communicationB-18317.2Data ion in the field areaB-185ABibliography of illustrationsB-187BBibliography of literatureB-189CGuidelines and 01 Festo Didactic

11Section C – SolutionsSolution 1:Design and commissioning of a programmablelogic controllerC-3Solution 2:Practical steps for PLC programmingC-5Solution 3:Lamp circuitC-7Solution 4:Burglar alarmC-11Solution 5:Press with protective guardC-15Solution 6:Bell systemC-21Solution 7:Stamping deviceC-25Solution 8:Silo control system for two bulk materialsC-31Solution 9:Fire alarmC-35Solution 10:Drill breakage monitoringC-39Solution 11:Activating a cylinderC-43Solution 12:Bonding of componentsC-47Solution 13:Embossing deviceC-53Solution 14:Clamping deviceC-57Solution 15:Lifting device for packagesC-63Solution 16:Lifting and sorting device for packagesC-69Solution 17:Stamping device with counterC-75Section D – Data sheetsFesto Didactic TP301

12TP301 Festo Didactic

13Technology package TP301“ Programmable logic controllers“The technology package TP301 "Programmable logic controllers" is acomponent part of the Festo Didactic Learning System for Automationand Technology and forms the basic level of TP300.The training aims of TP301 are to learn how to program programmablelogic controllers and to teach the fundamentals for creating programs inthe programming languages ’ladder diagram’ (LD), ’function block diagram’ (FBD), ’instruction list’ (IL), ’structured text’ (ST) and ’sequentialfunction chart’ (SFC). Programming is effected in accordance with EN61131-3 (IEC 61131-3).You have the option of using this workbook in conjunction with alternative programmable logic controllers by different manufacturers.A basic knowledge of electro-pneumatics and sensor technology is recommended to work through technology package TP301.The exercises in TP301 deal with the following main topics: Components of a programmable logic controller PLC programming to EN 61131 (IEC 61131) Basic logic operations Logic control systems Sequence control systemsThe allocation of components and exercises can be seen from the component/exercise table.Festo Didactic TP301

14Layout of this workbookThe workbook is structured as follows:Section A – CourseSection B – FundamentalsSection C – SolutionsSection D – AppendixSection A – Course teaches the programming of programmable logiccontrollers with the help of a series of progressive exercises.Any necessary technical knowledge required for the implementation ofan exercise is provided at the beginning. Functions are limited to themost elementary requirements. More detailed knowledge may be gainedin section B.Section C – Solutions provides the solutions to the exercises with briefexplanations.Section B – Fundamentals contains generally applicable technicalknowledge to supplement the training contents of the exercises in Section A. Theoretical links are established and the necessary technicalterminology explained with the help of examples. An index provides aneasy means of locating terminology.Section D – Appendix which contains data sheets of the used components.TP301 Festo Didactic

15Allocation of component and exerciseDescription123456Signal input, electrical1111Signalling device and distributor, electrical118910111213141111111111Proximity sensor, opticalProximity sensor, inductive711Proximity sensor, capacitive11111111Proximity sensor with cylindermounting5/2-way single solenoid valve11121115/2-way double solenoidvalveDouble-acting cylinder1512Single-acting cylinder171111111444412221122111116111112On/off valve with filter regulator valve1111111111Manifold1111111111Festo Didactic TP301

16Equipment set TP301Equipment set TP301Order No.:167101DescriptionOrder No.QuantityPlastic tubing151496Manifold1528691Single-acting cylinder1528871Double-acting cylinder1528882On/off valve with filter regulator valve1528941Quick push-pull distributor1531281Signal input, electrical1622421Signalling device and distributor, electrical1622441Proximity sensor with cylinder mounting16706045/2-way single solenoid valve16707425/2-way double solenoid valve1670761Proximity sensor, inductive1785741Proximity sensor, capacitive1785751Proximity sensor, optical1785771Order No.Quantityoptional, not included in scope of delivery of equipment setI/O data cable, digital034031Plug-in adapter035651Universal connection unit162231Power supply unit162416Set of cables167091TP301 Festo Didactic

17Notes on safetyThe following notes should be followed in the interest of safety: Mount all components securely on the board. Do not switch on compressed air until all line connections have beenestablished and secured. Proceed with care when switching on the compressed air.Cylinders may advance or retract as soon as the compressed air isswitched on. Switch off air supply immediately if air lines become detached. Thisprevents accidents. Do not disconnect air lines under pressure. Do not exceed the permitted working pressure of 8 bar (800kPa). Observe general safety regulations in accordance with EN 60204-1(IEC 60204-1). Use only extra-low voltages of up to 24 V DC. Observe the data sheets referring to the individual components, inparticular all notes regarding safety.Festo Didactic TP301

18Operating notesThe following rules should be observed when constructing a circuit: Block output 2 of the valve, if a single-acting cylinder is actuated by a5/2-way single solenoid valve in a circuit.Fig. 2:Plug for output 2of a 5/2-way valve42531 Input signals, which would result from an actual production processsequence, are reproduced in part by signals via push buttons orswitches.TP301 Festo Didactic

A-1Section A – CourseComponents of a programmable logic controllerExercise 1:Design and commissioning of a programmablelogic controllerComponents of a PLCA-3Programming to EN 61131 (IEC 61131)Exercise 2:From problem to solution –taking into consideration EN 61131 (IEC 61131)Practical steps for PLC programmingA-11Basic logic operationsExercise 3:Exercise 4:Exercise 5:Exercise 6:Lamp circuitThe assignment functionA-19Burglar alarmThe NOT functionA-29Press with protective guardThe AND functionA-39Bell systemThe OR functionA-49Logic control systems without latching propertiesExercise 7:Exercise 8:Stamping deviceCombination of AND/OR/NOTA-59Silo control system for two bulk materialsCombination circuit with branchingA-69TP301 Festo Didactic

A-2Logic control systems with latching propertiesExercise 9:Exercise 10:Exercise 11:Fire alarmSetting an outputA-77Drill breakage monitoringSetting and resetting an outputA-85Activating a cylinderSignal edgesA-95Logic control systems with time responseExercise 12:Exercise 13:Exercise 14:Bonding of componentsPulseA-107Embossing deviceSwitch-on signal delayA-117Clamping deviceSwitch-off signal delayA-127Sequence control systemsExercise 15:Exercise 16:Exercise 17:Lifting device for packagesLinear sequenceA-137Lifting and sorting device for packagesAlternative branchingA-155Stamping device with counterCounting cyclesA-167TP301 Festo Didactic

A-3Exercise 1Programmable logic controllersSubjectDesign and commissioning of a programmable logic controllerTitleComponents of a PLC To be able to explain the basic design and mode of operationof a PLC To be able to configure and commission a PLCNowadays, programmable logic controllers form part of any automationprocess. Fig. A1.1 illustrates the typical configuration of an automationsolution realised by means of a PLC. The control system shown represents the simpler, non-networked group of PLC applications.PC /Programming deviceDisplay/Control unitPLCSensorsActuatorsTP301 Festo DidacticTraining aimTechnical knowledgeFig. A1.1:Automation via PLC

A-4Exercise 1The basic components of the control system are: Programmable logic controller (PLC)By this, we understand the electronic modules through which all ofthe system or machine functions to be controlled are addressed andactivated in a logic sequence. SensorsThese components are located directly on the system or machinerybe controlled, through to which the PLC is communicated actualstatuses. ActuatorsThese components are located directly on the system or machinery tobe controlled, through which the PLC is able to change or influencestatuses and as such the technical process. PC or programming deviceThis is used to create the program containing the logic of the systemor machinery to be controlled and to transfer this to the memory of thePLC. At the same time, these programming tools also provide supporting functions for the testing of the PLC program and commissioning of the controller. Display and control unitsThese enables you to monitor and influence the operation of the system or machinery.Programmable logic controllerThe most important component of a control system is the PLC and itsprogram. Fig. A1.2 illustrates the system components of a PLC.Fig. A1.2:System componentsof a PLCPLC-programInput moduleSensorsCentral control unitOutput moduleActuatorsTP301 Festo Didactic

A-5Exercise 1A PLC is connected to the system to be controlled via input and outputmodules. The system to be controlled supplies input signals (mostly binary) via sensors to the input modules. These signals are processedwithin the main processing unit, the main component of the PLC. Prior.to formulation of IEC standards, known as "central control unit" (CCU).The "specification" for the processing of signals is defined in the PLCprogram. The result of the processing is output to the actuators of thesystem to be controlled via the output module. Thus, the design of aPLC corresponds to that of a computer.PLC programPLC programs consist of a logic sequence of instructions. The controlprogram is stored in a special, electronic readable memory, the so-calledprogram memory of the PLC. Special RAMs with back-up battery areused during the program development, since its contents can always bechanged again very quickly.After commissioning and error-free function of the controller it is a goodidea to transfer the PLC program unerasably to a read-only memory,e.g. an EPROM. If the program is executed, it will be processed incontinuous cycles.SignalsInput signals reach the PLC via sensors. These signals contain information about the status of the system to be controlled. It is possible to inputbinary, digital and analogue signals.A PLC can only recognise and output electrical signals. For this reason,non-electrical signals are converted into electrical signals by the sensors. Sensor examples are: Push buttons, switches, limit switches, proximity sensorsOutput signals influence the system to be controlled. The signals can beoutput in the form of binary, digital or analogue signals. Output signalsare amplified into switching signals via the actuators or converted intosignals of other energy forms. Actuators examples are: Lamps, buzzers, bells, contactors, cylinders with solenoid valves,stepper motorsTP301 Festo Didactic

A-6Exercise 1Problem descriptionA control task is to be solved via a programmable logic controller (PLC).Familiarise yourself with the basic design of a PLC.Positional sketchExercise definition1. Components of a PLC2. Design and commissioning of the PLC you have selectedImplementationTo carry out the exercise using the worksheets, refer to Section B of theworkbook and your PLC data sheet or manual.TP301 Festo Didactic

A-7Exercise 1WORKSHEET1.1 Components of a PLCQuestion 1:What are the basic components of a programmable logic controller?Question 2:What are the basic modules making up the central control unit of a programmable logic controller?TP301 Festo Didactic

A-8Exercise 1Question 3:How is electrical isolation achieved between sensor/actuator signals andthe PLC?TP301 Festo Didactic

A-9Exercise 1WORKSHEET1.2 Design and commissioning of the PLC you have selectedEnter the technical data of the selected programmable logic controller inthe table below.CriteriaTechnical dataOperating voltageNominal voltagePermissible voltage rangeCurrent consumptionInputsNumberInput currentInput levelOutputsNumberSwitching logicOutput voltageOutput currentConfigure the PLC in accordance with the notes in the relevant datasheet or manual.TP301 Festo DidacticTechnical data

A-10Exercise 1TP301 Festo Didactic

Chapter 12 Logic control systems B-139 12.1 What is a logic control system B-139 12.2 Logic control systems without latching properties B-139 12.3 Logic control systems with memory function B-145 12.4 Edge evaluation B-148 Chapter 13 Timers B-153 13.1 Introduction B-153

Related Documents:

a modern revolution, the Programmable Logic Controller (PLC). The PLC has its origins around the 1970’s in the automation and motor manufacturing industries. 2. DESCRIPTION Programmable Logic Controllers (PLCs), also referred to as programmable controllers, are a classification in computers

The Logic of Programmable Logic Controllers (PLCs) A programmable logic controller (PLC) is a modern device that can be used to control the work process in a machine or . pneumatic actuators, hydraulic actuators, etc., which are in turn controlled by final control elements such as contactors, solenoid valves, etc. Pushbutton switches are .

4.2 Introduction 4.2.1 Background of Programmable Logic Devices A programmable Logic device refers to any type of integrated circuit that a logic design can be implemented and reconfigured in the field by the end user. Since these logic devices can be programmed in the field they are also called Field Programmable Logic Devices (FPLDs).

Programmable Logic Controllers J-10 www.idec.com USA: (800) 262-IDEC or (408) 747-0550, Canada: (888) 317-IDEC J Programmable Logic Controllers Part Number FC4A-M08BR1 FC4A-M24BR2 Item I/O Points 8 (4 in/ 4 out) 24 (16 in/ 8 out) Output Type Relay Output, 240V AC/30V DC, 2A

Programmable Logic Controllers IDEC SmartRelay Performance & Features When you need a product you can rely on, is easy to use, and . Programmable Logic Controllers WindLGC Programming Software WindLGC is the exclusive programming software for the IDEC SmartRelay using Windows . Edit, save, and print out your programs.

RAM Random access memory Write/read operations ROM Read only memory Programmable logic device (PLD), programmable logic array (PLA), programmable array logic (PAL), field- programmable gate array (FPGA) FIG

Programmable Logic Controllers MicroSmart Pentra Micro-controllers play an increasingly central role in today's indus-trial applications. You have many controllers to choose from, but the one you turn to most often is the one that fi ts best, physically and practically. You'll fi nd IDEC PLCs in various applications from water

The PLC logic programmable logic relay system consists of PLC-V8C logic modules, elec-tromechanical relays, solid-state relays or analog terminal blocks from the PLC-INTER-FACE series, and the LOGIC programming software. The PLC-V8C logic modul