INDUSTRIAL AUTOMATION PRACTICES

3y ago
256 Views
43 Downloads
1.51 MB
73 Pages
Last View : 10d ago
Last Download : 10d ago
Upload by : Baylee Stein
Transcription

INDUSTRIAL AUTOMATION PRACTICES:SPECIFICATION AND PROGRAMMING OF LOGIC CONTROLAPPLICATIONS IN THE “ITS PLC” TRAINING ENVIRONMENT

Copyright 2012ISBN 978-989-96460-1-8D.L. 313843/10No part of this book may be reproduced, translated into a machine language, stored in a retrievalsystem, or transmitted in any form or by any means (electronic, mechanical, photocopying,recording or otherwise) without the prior written permission from the publisher.Copyright 2012 byREAL GAMES LDA.Rua Elísio de Melo nº 39, Piso 34000-196 Porto, PORTUGALEmail: info@realgames.ptInternet: http://www.realgames.ptTranslated from the Portuguese edition by António Pessoa de MagalhãesRevised by Carlos DuarteCover designed by Bruno Vigário and Nuno Silva, REAL GAMES LDA.

INDUSTRIAL AUTOMATION PRACTICES:SPECIFICATION AND PROGRAMMING OF LOGIC CONTROLAPPLICATIONS IN THE “ITS PLC” TRAINING ENVIRONMENTAntónio Pessoa de Magalhães1st edition, 2012

DISCLAIMERThe purpose of the problems and respective solutions presented in this book is solely didactical– specifically, Programmable Logic Controllers (PLCs) programming training using the “ITSPLC” platform. Hence, despite both the author’s and editor’s belief that the information presentedthroughout this book is correct, under no circumstances will they be held responsible for the use ofthe exact or any derived program presented in this book in any application whatsoever which mayresult in any damage to property or people.

ToJoão Rodrigo and José Diogowho do so love playing around “crazy machines”.

ÍndicePREFACE 15PART 1 - PRESENTATION  17The Game  19The Players  20The Equipment  21PART 2 - THE PROBLEMS  23Mission 1: Automated conveying and sorting of cases on pallets  25About this Mission  26Task 1: Automated movement of single pallets on the entry conveyer  27Task 2: Automated feeding and movement of single pallets on the entry conveyer  28Task 3: Automated feeding and movement of multiple pallets on the entry conveyer  29Task 4: Automated control of the turntable  30Task 5: Automated conveying of pallets from the entry bay to right exit elevator  31Task 6: Automated feeding and conveying of pallets alternating the exit elevator  32Task 7: Automated feeding and conveying of pallets alternating the exit elevators with limited stockingin the exit conveyers and support upon unavailability of the elevators  33Task 8: Automated feeding and conveying of cases on pallets, sorting them by height  34Task 9: Optimised feeding, conveying and sorting of cases on pallets  35Task 10: Shutdown and restart of the plant using the start end stop buttons  36Task 11: Start-up, shutdown and restart of the plant using the start end stop buttons  37Task 12: Batch conveying  38And now that the first mission has been accomplished  39ITS SUPER – Integration with supervisory systems and human-machine interface consoles  39ITS DEEP – Detection and handling of error conditions  41Mission 2: Automating a paint production plant  43About this Mission  44Task 1: Producing a tank of red paint  46Task 2: Producing a dose of red paint  47Task 3: Batch production of red paint with configurable parameters  48Task 4: Batch production of red paint with configurable dosage and bad configuration signalling  49

Task 5: Optimised production of red paint  50Task 6: Supporting early stop orders and alarm procedures  51Task 7: Flexible and optimised production of red paint  52Task 8: Flexible and optimised production of primary colour paints  53Task 9: Production by mixing primary colours  54Task 10: Producing paint from a catalogue of colours  55Task 11: Recipe based paint production  56Task 12: Recipe-based paint production with previous error detection  57And now that the second mission has been accomplished  58ITS SUPER – Integration with supervisory systems and human-machine interface consoles  58ITS DEEP – Detection and handling of error conditions  59Mission 3: Automating a high-level palletiser  61About this Mission  62Task 1: Machine start-up  63Task 2: Cyclical movement of pallets  64Task 3: Software filtering of sensor 10  65Task 4: Moving pallets in continuous and single cycle mode  66Task 5: Controlling case feeding devices  67Task 6: Controlling case feeding and packing devices  68Task 7: Single layering palletising  69Task 8: Double layering palletising  70Task 9: Triple layering palletising  71Task 10: Flexible palletising by configuring the number of layers  72Task 11: Flexible palletising by configuring the number of cases in a pallet  73Task 12: Demo mode for flexible palletising  74And now that the third mission has been accomplished  75ITS SUPER – Integration with supervisory systems and human-machine interface consoles  75ITS DEEP – Detection and handling of error conditions  76Mission 4: Automated control of a pick and place station  77About this Mission  78Task 1: Parts identification  80Task 2: Elementary manipulator control  81Task 3: Dual axis manipulator moving control  82Task 4: Moving manipulator by reference position  83Task 5: Station start-up  84Task 6: Elementary pick and place  85Task 7: Handling start and stop orders in automatic mode  86Task 8: Elementary pattern based disposal of parts in the container  87

Task 9: Handling emergency and early stop conditions  88Task 10: Selective parts picking and disposal in alternate patterns  89Task 11: Type based parts disposal  90Task 12: Selective picking and parts disposal based on configurable patterns  91And now that the fourth mission has been accomplished  92ITS SUPER – Integration with supervisory systems and human-machine interface consoles  92ITS DEEP – Detection and handling of error conditions  93Mission 5: Automated storage and retrieval system  95About this Mission  96Task 1: Transelevator start-up positioning  98Task 2: Transferring items from the transelevator to compartment 1 and vice-versa  99Task 3: Retrieving an item stored in compartment 10  100Task 4: Transferring items from the entry to the exit bay  101Task 5: Positioning the transelevator by reference value  102Task 6: Storing items by reference value  103Task 7: Storing and retrieving items by reference values  104Task 8: Storing and retrieving items by reference value while handling error and alarm scenarios  105Task 9: Storing and retrieving items by reference value with diversified coding  106Task 10: Storing and retrieving items by classes  107Task 11: Storing by classes and retrieving by chronological order  108Task 12: Storing and retrieving items randomly  109And now that the fifth mission has been accomplished  110ITS SUPER – Integration with supervisory systems and human-machine interface consoles  110ITS DEEP – Detection and handling of error conditions  111PART 3 - THE SOLUTIONS  113The Structured Text and the IEC 61131-3 Standard  113Literature and Supporting Materials  114About the Solutions  115Declaring I/O variables  117Mission 1: Automated conveying and sorting of cases on pallets  119Resolution of Task 1  123Resolution of Task 2  124Resolution of Task 3  126Resolution of Task 4  129Resolution of Task 5  132Resolution of Task 6  134Resolution of Task 7  139

Resolution of Task 8  142Resolution of Task 9  147Resolution of Task 10  151Resolution of Task 11  158Resolution of Task 12  165Mission 2: Automating a paint production plant  173Resolution of Task 1  178Resolution of Task 2  181Resolution of Task 3  182Resolution of Task 4  187Resolution of Task 5  190Resolution of Task 6  196Resolution of Task 7  200Resolution of Task 8  204Resolution of Task 9  208Resolution of Task 10  217Resolution of Task 11  225Resolution of Task 12  233Mission 3: Automating a high-level palletiser  243Resolution of Task 1  246Resolution of Task 2  248Resolution of Task 3  251Resolution of Task 4  255Resolution of Task 5  258Resolution of Task 6  261Resolution of Task 7  266Resolution of Task 8  271Resolution of Task 9  278Resolution of Task 10  282Resolution of Task 11  287Resolution of Task 12  293Mission 4: Automated control of a pick and place station  299Resolution of Task 1  303Resolution of Task 2  305Resolution of Task 3  306Resolution of Task 4  308Resolution of Task 5  310

Resolution of Task 6  313Resolution of Task 7  320Resolution of Task 8  327Resolution of Task 9  333Resolution of Task 10  340Resolution of Task 11  345Resolution of Task 12  352Mission 5: Automated storage and retrieval system  361Resolution of Task 1  364Resolution of Task 2  366Resolution of Task 3  369Resolution of Task 4  372Resolution of Task 5  375Resolution of Task 6  379Resolution of Task 8  390Resolution of Task 9  397Resolution of Task 10  402Resolution of Task 11  407Resolution of Task 12  413PART 4 - EPILOGUE  419

PREFACEIhave been using virtual systems in my Programmable Logic Controllers (PLCs) programmingclasses for a number of years now. Without meaning to demean the role and importance of realtarget systems, virtual training plants are a low cost, risk and hazard free solution for both trainersand trainees. Moreover, virtual systems can easily be installed and multiplied, whilst assuring thattrainees are kept in contact with the right control equipment throughout the entire process, as if theywere training in real plants.However, when a further motivational element is added to the above-mentioned benefits, namelyan extremely realistic and interactive system capable of transmitting the environment and motivationof modern day computer games to the classroom, involving trainers and trainees alike, then someextremely positive, almost unique conditions, have been found to create a simplified, fascinating,natural and efficient learning environment.I thus strongly believe and defend that the training software ITS PLC is a privileged means ofcreating an extremely motivating learning environment, capable of motivating students in such amanner as to reveal their natural desire to achieve, think critically and persist as they so often dowhen playing computer games. Consequently, I eagerly accepted the proposal presented by RealGames Lda. inviting me to come up with an “exercise manual” which would accompany their ITSPLC product.This has been a complex, stimulating and extremely interesting and enriching task, which hasmade me feel as if I were playing a computer game on a number of occasions. Thus, I have chosento follow a typical computer game methodology. I decided on creating several game scenarios inwhich each mission begins with a number of small challenges, fundamental but easily attainable,moving on to a sequence of graded tasks in which each training exercise adds something to theprevious one, and thereby allowing the trainee to acquire ever-increasing knowledge and confidence.However, each game is nothing more than a work proposal that each trainer can and should adapt tohis own objectives and target trainees.The presentation of the solutions in Structured Text (ST) may come somewhat as a surpriseto some, seeing that it is not the most common PLC programming language. Two fundamentalreasons lie behind this choice: on the one hand, ST is an advanced textual programming languagethat significantly facilitates the presentation and explanation of PLC programs to a heterogeneouspublic; on the other hand, the selection of this language contributes very naturally but strongly tothe dissemination and spreading of the IEC 61131-3 standard. PLC programmers who don t usuallyuse ST programming language nor have adhered to this standard yet, will surely have experiencedlittle and reflected even less on their virtues. Consequently, they are the precise type of reader thatthis initiative is aimed at.Considering that Structured Text is not the most common programming language of manyprogrammers, it is highly likely that the solutions hereby presented will come up translated in avariety and diversity of PLCs programming languages and dialects. The interest and pertinence15

16Prefaceof such translations is understandable, as is their subsequent public release. However, it is clearthat the potential of the ITS PLC is not limited to such translations and much less to the proposalsenclosed in this book. There will always be room for both the pleasure and desire of elaboratingnew problems and presenting novel solutions which represent new games and forms of playing ITSPLC. One can only hope that trainers and trainees will both come to share such pleasures!Porto, Portugal, September 2011António J. Pessoa de Magalhães

PART 1PRESENTATIONThis book presents a number of exercises for the ITS PLC educational software produced byReal Games Lda. Its prime objective is to maximise the usage of this training environment bypresenting work plans capable of promoting a progressive, coherent and solid learning experience,leading to the specification and development of logical control techniques and the correspondingprogramming Programmable Logic Controllers – PLCs.Despite the fact that the proposals set forth have been inspired in virtual environments, the ultimateaim of this training is that the results and applications hereby produced transcend this virtual realmas far as possible. Thus, if on a comprehensive picture, the ITS PLC plants represent relativelyinclusive and advanced logical problems and concerns in the Industrial Automation field, on a morepractical view they are a pretext to introduce and discuss elementary issues related to the mostcommon errors, doubts and difficulties presented by those initiating or deepening their knowledgeon PLC programming. The definition, presentation, treatment and logical ordering of these problemshas been based on the author’s vast experience in the field of teaching PLC programming which hasincluded both real and virtual systems.The prime objective of the exercises presented throughout this book is thus to program a PLC tocorrectly and efficiently control the ITS PLC plants. Yet, in order to attain superior results, this shouldrepresent a starting point for the development of further applications. For example, applicationswhich combine human-machine interface consoles supervisory systems, distributed control or eveninformation management. Additionally, it is extremely useful to seek robust solutions capable ofdealing with situations of failure and uncertainty. Work proposals related to both of these cases arepresented throughout this book. They are aimed at an advanced level of education and training and,as such, trainers should adapt these orientations to their specific course objectives, the equipmentavailable to them and to the level of their trainees.The exercises presented throughout this book are based on the PLC control of the five ITS PLCplants and comprise a total of sixty exercises: twelve per plant. For each problem proposed, anadequate solution is set forth in the form of a PLC program which is duly commentated. In thecase of the simpler programs, these are preceded by a relatively simple and informal commentary.Alternatively, more complex problems are accompanied by an explanation provided in theGRAFCET1 language in accordance with the second edition of the IEC 60484 standard. Despitenot being the sole possible solution, the specifications and solutions presented are aimed at beingmodular and generic, in addition to leading to a process of thought and reflection for trainers andtrainees alike.It is increasingly common to begin the project of a sequential system with its GRAFCET1Following the trend of specialised literature, the text uses the term “GRAFCET” to denote the French specificationlanguage “GRAphe Fonctionnel de Commande Étape Transition” and the term “grafcet” to denote a graphical schemadeveloped according to the GRAFCET language.17

18Part 1: Presentationspecification. The fact that GRAFCET, which is often wrongly referred to as “Sequential FunctionChart”, is a standardised graphic methodology, which is far more succinct, objective andencompassing than state or timing diagrams, has largely contributed to it being a widely used andwell-known tool by the majority of PLCs programmers. This is further enhanced by the fact that thetranslation of a grafcet in a generic PLC program is a relatively simple process, a topic which willbe further explored in this book. Due to the above-mentioned reasons, the selection of GRAFCETas the descriptive language of the behaviour of a system throughout this book has been very natural.On the other hand, the choice of a programming language to present the solutions found, wassubjected to great ponderation and thought terminating in the adoption of the “Structured Text” inaccordance with the second edition of the IEC 61131-3 standard. Apart from serving the objectivesof this study quite well, this decision promotes an increasingly important language and standard inthe PLCs domain thereby broadening the didactic interest of this book.Seeing that the Structured Text programming language and the IEC 61131-3 standard may not bewell mastered by those initiating the programming of PLCS, information relating to both has beenincluded in this book. This information is presented prior to solutions. Additionally, the IEC 61499standard has been promoted in a number of exercises. Although this is not directly related to theprime objectives of this book, trainers who are more familiarised with this topic will surely be ableto identify the correct means to achieve this end.Thus, one believes that there are a number of reasons that justify the interest of this book, whichhas been organised in the following manner:Part 1 – Presentation – presents all the necessary issues for a correct and complete introduction ofthe reader to the learning environment awaiting him. More specifically, it begins by contextualisingthe sequence, objectives and public targets of the challenges presented throughout this text. Next, anumber of considerations relating to the manner the reader should view the challenges he is facedwith, as well as his expected learning progress in light of his previous knowledge, are presented.Lastly, a list of the resources required for the resolution of the exercises which have been proposedis put forth.Part 2 – The Problems – presents the five main challenges or missions in the form of a computergame that the reader will have to progressively master. Each challenge corresponds to the controlof a virtual ITS PLC plant which has been translated into twelve programming exercises. Thesehave been sequenced in a number of small tasks, in order to promote a simple, natural and efficientlearning process. Each mission is preceded by an explanation relating to its environment inorder to familiarise the reader with the typical control problems introduced by the plant and thepractical interest of the proposed exercises. At the end of each mission, work proposals aimed ata more advanced level are presented. These proposals have been organised in accordance withtwo perspectives: On the one hand, the integration of the applications with supervisory systemsand human-machine interface consoles; on the other hand, the improvement of the performanceof the programs developed, through the inclusion of procedures to support failures in sensors andactuators and other fault based scenarios.

Part 1: Presentation19Part 3 – The Solutions – This section begins with various considerations relating to programmingin Structured Text and the IEC 61131-3 standard. This section is aimed at readers who are not veryfamiliar with these topics. As such, appropriate literature, websites and software is suggested. Next,the solutions to the challenges presented in Part two are put forth. Each solution is presented alongwith the respective justification of the programming procedures, which are often based on a grafcet,followed by the duly commentated corresponding program.Part 4 – Epilogue – Provides a summary of the main conclusions presented throughout the text.The GameWelcome to the game ITS PLC! If you didn’t happen to c

industrial automation practices: specification and programming of logic control applications in the “its plc” training environment antónio pessoa de magalhães

Related Documents:

programmable logic controller, is important for industrial engineer. Factory automation mainly covers; Machine level automation, Production line or work cell automation, Shop floor automation, and Plant level automation. The present manual focus on the 1st level of factory automation e.g. machine automation level. It provides an introduction .

CA Workload Automation Agent for Windows (CA WA Agent for Windows) CA Workload Automation Agent for z/OS (CA WA Agent for z/OS) CA Workload Automation CA 7 Edition (formerly named CA Workload Automation SE) CA Workload Automation ESP Edition (formerly named CA Workload Automation EE) CA Workload Control Center (CA WCC) Contact CA Technologies

There are no physical automation capabilities in RPA, like those that we normally associate with robots. As Figure 3 shows, RPA is wholly a software tool that complements, rather than replaces, other automation disciplines, like business process automation (BPA), IT process automation (ITPA) or test automation. There are even opportunities to .

Industrial Automation. Three ongoing and accelerating trends. Automation and Industrial Software on Windows/Linus Automation on Standard unmodified Ethernet Devices on Internet Also refers to enterprise organization – hybrid IT and automation groups.

ABB Automation Products GmbH Industrial Automation Schillerstr. 72 32425 Minden Germany Tel: 49 551 905 534 Fax: 49 551 905 555 ABB S.p.A. Industrial Automation Via Luigi Vaccani 4 22016 Tremezzina (CO) Italy Tel: 39 0344 58111 ABB Engineering (Shanghai) Ltd. Industrial Automation No. 5, Lane 369, Chuangye Road 201319, Shanghai, P.R. China

CATIA V5 Automation & Scripting: Presentation 8 Knowledgeware, VB Automation, and CAA 9 Skills Required for CATIA V5 Automation 10 CATIA V5 Automation: Presentation (Windows only) 11 Language Used for Automation 12 VB Script 13 VBA 15 Visual Basic 16 Communication Chart on Windows 17 Documentations 18 Interface Documentation 19

Low Code Automation Simply put, Low-Code Automation is a visual development of automation use-cases. Traditional methods of designing automation use-cases involve heavy scripting. Low code automation simplifies the entire process by providing an easy and intuitive drag-and-drop interface. Programmable networks are essential for a comprehensive

_SIMATIC Automation Tool _ SIMATIC S7/HMI SIMATIC Automation Tool V3.1 SP1 User Guide Manual V3.1 SP1, 05/2018 A5E43616265-AA Preface Downloading, licensing, and installing the SIMATIC Automation Tool 1 SIMATIC Automation Tool overview 2 Prerequisites and communication setup 3 Getting started with the SIMATIC Automation Tool 4