Programmable Logic Controller Source: Programmable Logic Controller, Book edited by: Luiz Affonso Guedes, ISBN 978-953-7619-63-3, pp. 170, January 2010, INTECH, Croatia, downloaded from SCIYO.COM Programmable Logic Controller Edited by Luiz Affonso Guedes Intech Published by Intech Intech Olajnica 19/2, 32000 Vukovar, Croatia Abstracting and non-profit use of the material is permitted with credit to the source. Statements and opinions expressed in the chapters are these of the individual contributors and not necessarily those of the editors or publisher. No responsibility is accepted for the accuracy of information contained in the published articles. Publisher assumes no responsibility liability for any damage or injury to persons or property arising out of the use of any materials, instructions, methods or ideas contained inside. After this work has been published by the Intech, authors have the right to republish it, in whole or part, in any publication of which they are an author or editor, and the make other personal use of the work. © 2010 Intech Free online edition of this book you can find under www.sciyo.com Additional copies can be obtained from: publication@sciyo.com First published January 2010 Printed in India Technical Editor: Teodora Smiljanic Cover designed by Dino Smrekar Programmable Logic Controller, Edited by Luiz Affonso Guedes p. cm. ISBN 978-953-7619-63-3 Preface Despite the great technological advancement experienced in recent years, Programmable Logic Controllers (PLC) are still used in many applications from the real world and still play a central role in infrastructure of industrial automation. PLC operate in the factory-floor level and are responsible typically for implementing logical control, regulatory control strategies, such as PID and fuzzy-based algorithms, and safety logics. Usually PLC are interconnected with the supervision level through communication network, such as Ethernet networks, in order to work in an integrated form. The first PLC were computers designed to specific proposal that worked with simple digital inputs and outputs, and their programming language were based on relay logic. Currently there is a wide range of PLC manufacturers that offers products to automate from domestic activities up to large scale industrial processes. Thus, there is a PLC for each type and class of application. The most powerful PLC are equipped with sophisticated hardware and software infrastructure. But the small PLC have configuration software with good features too. Due to modern integrated automation concept, all components of the automation system must work interconnected through communication network and must be dotted of agile reconfiguration capability. Because PLC are the main equipments in several current automation solutions, there are a strong demand for standardized methodologies, technologies and software-based solutions to aid the various activities of the PLC programs development, such as modeling, validation, verification, test and automatic code generation. Other current demand is related with the difficulty in obtaining examples from the real world in order to explain how hard it is to develop application to PLC. In this context, this book was written by professionals that work and research in automation area and it has two major objectives. The first objective is present some advances in methodologies and techniques for development of industrial programs based on PLC. The second objective is present some PLC-based real applications from various areas such as manufacturing system, robotics, power system, communication system, and education. The book is organized in 10 chapters, where the first four are concerned with methodologies and techniques to develop PLC programs and the last six are PLC-based applications from the real world. We expect that the readers have basic knowledge of VI industrial automation and PLC programming. On the one hand, since this book presents some recent advances in methodologies and techniques to help the development of PLC programs, we believe that it is useful for engineers, practitioners, graduate students and researchers who are related in the automation area. On the other hand, the chapters of applications can be especially useful for undergraduate student and engineers from several areas, such as computer, communication, electrical and mechanic engineering. Editor Luiz Affonso Guedes Federal University of Rio Grande do Norte, Brazil Contents Preface 1. Object-Oriented Modeling, Simulation and Automatic Generation of PLC Ladder Logic V 001 Kwan Hee Han 2. Practice of Industrial Control Logic Programming using Library Components 017 Oscar Ljungkrantz, Knut Åkesson and Martin Fabian 3. Control and Plant Modeling for Manufacturing Systems using Basic Statecharts 033 Raimundo Moura and Luiz Affonso Guedes 4. The Java based Programmable Logic Controller. New Techniques in Control and Supervision of a Flexible Manufacturing Cell. 051 Ramón Piedrafita and José Luis Villarroel 5. Holonic Robot Control for Job Shop Assembly by Dynamic Simulation 071 Theodor Borangiu, Silviu Raileanu, Andrei Rosu and Mihai Parlea 6. Centralized/Decentralized Fault Diagnosis of Event-Driven Systems based on Probabilistic Inference 099 Shinkichi Inagaki and Tatsuya Suzuki 7. New Applications Using PLCs in Access Networks Lamartine V. de Souza, João C. W. A. Costa and Carlos R. L. Francês 121 VIII 8. Development of Customized Distribution Automation System (DAS) for Secure Fault Isolation in Low Voltage Distribution System 131 M. M. Ahmed, W.L. Soo, M. A. M. Hanafiah and M. R. A. Ghani 9. Computer Emulations to Support Training in Automation 151 Manuel E. Macías and Ernesto D. Guridi 10. PLC based Structure for Management and Control of Distributed Energy Production Units Joao M. G. Figueiredo 161