The Research of Coding and Resolving of PLC LD Based on Standard IEC61131-3

Author
WangJun
Advisor
ZhangYongDe
School
Beijing University of Chemical Technology
Major
Control Theory and Control Engineering
Classification
TP273.5 Computer control, computer control system
Degree
Master's thesis
Year
2008
Downloads
430
Citations
7

Request the full text

Abstract

IEC61131-3 is the first international standard which provides standardized program language for industrial automatic control system. This standard plays an important role on the development of the software technique of programmable controller, even on the development of the software technique of whole industrial control. There will be no solid base of today’s opening system of PLC without the standardization of program language. As LD is often used as program language of PLC, this paper uses LD as the main program language to develop PLC according with the standard IEC61131-3.The paper begins by introducing the proposal, the development and the actuality of PLC and the origin of the standard IEC61131-3. Subsequently, the software model, communication model and common elements are presented, for shadowing the in-depth research to follow.Next, on the basis of research of the standard IEC61131-3, a software structure of PLC software system is proposed and to be explained by the running result of program. Then the paper discusses the configuration elements of PLC software system, especially focusing on the related setting of configuration and resource and on task system and access path of PLC. This establishes the basis for the design of PLC. Last, based on the combination of the functions of traditional PLC and the standard IEC61131-3, the paper proposes all designed functions and function blocks.Thereafter, this paper designs the first-class code and the second-class code of LD language of PLC software system, and elaborates their definitions and structures. As the second-class code needs to be downloaded to PLC, the downloading format of the second-class code is designed. The paper also designs the resolving arithmetic of LD language of PLC software system which is used to transform the first-class code to the second-class code, and an example is presented to explain and validate the arithmetic of coding and resolving.Finally, the whole designed PLC software system is described detailedly to give readers a more clear understanding of this paper. Then upon summarizing the research results and deficiencies, the prospect of PLC based on the standard IEC61131-3 is elaborated.The innovations of this paper are the designings of first-class code and second-class code and the designing of the resolving arithmetic which is used to transform the first-class code to the second-class code. The designing of first-class code mainly bases on the display of LD and the confirmation of correlation of elements of LD. The designing of second-class code accordings to the IL of PLC traditional program languages. And the paper proposes a new form of instructions. The desinging of the resolving arithmetic bases on method of ratiocination, and it proves that the arithmetic is accurate. First, the arithmetic resolves some simple LD networks. Then a complex LD network which is composed of the simple instances can be resolved by the arithmetic accurately.The research of PLC software of this paper is very important to the designing of PLC based on The Standard IEC61131-3.

Table of contents

Abstract 4-6 ABSTRACT 6-15 The first chapter 15-19 1.1 PLC Introduction 15-17 1.1.1 PLC generation 15-16 1.1.2 PLC development 16-17 1.1.3 PLC status 17 1.2 thesis is organized 17-19 Chapter IEC 61131-3 research 19-33 2.1 IEC61131-3 standard origin 19-20 2.2 IEC61131 standards introduced 20-22 2.3 IEC 61131-3 content 22-29 2.3.1 IEC 61131-3 software model 22-24 2.3.2 IEC61131-3 communication model 24-25 2.3.3 Common elements 25-29 2.4 IEC61131-3 compliant status and trends in the PLC 29-31 2.4.1 IEC 61131-3 status 29-30 2.4.2 PLC according to IEC 61131-3 trend 30-31 2.5 Chapter Summary 31-33 The third chapter is based on the IEC 61131-3 standard configuration of the PLC and the PLC function selection 33-47 3.1 PLC configuration software architecture 33-34 3.2 configuration element 34-42 3.2.1 configurations 34-36 3.2.2 Resource 36-38 3.2.3 Tasks and procedures 38-40 3.2.4 access path 40-41 3.2.5 a simple configuration example 41-42 3.3 configuration and POUs communication between 42-43 3.4 based on the IEC 61131-3 standard PLC function selection 43-46 3.4.1 Basic contacts, coils and around the power cord 43-44 3.4.2 Function 44-45 3.4.3 Function Block 45 3.3.4 standard string functions 45 3.3.5 type conversion functions 45-46 3.3.6 Time data type functionality 46 3.5 Summary 46-47 The fourth chapter is based on the IEC 61131-3 standard PLC ladder coding 47-65 4.1 based on IEC 61131-3 standard PLC a code 47-50 4.1.1 PLC a code definition and description 47 4.1.2 PLC a code defines 47-48 4.1.3 PLC a code specifying 48-50 4.2 based on IEC 61131-3 standard PLC two code 50-60 4.2.1 two code definitions and explanations 50-52 4.2.2 two codes to download the instruction format 52-53 4.2.3 some special function block two code 53-56 4.2.4 Directive supplement 56-60 4.2.5 subroutine two code 60 4.3 encoding an example 60-62 4.4 Summary 62-65 Chapter IEC 61131-3 standard PLC -based solvers research 65-77 5.1 Solution algorithm outlined 65-66 5.2 specific solver algorithm 66-73 5.2.1 main flow algorithm 66-67 5.2.2 Left Parallel Algorithms 1 67-69 5.2.3 Right of parallel algorithm 69-70 5.2.4 Left parallel algorithm 2 70-72 5.2.5 from the element PLC [i] [j] to the element PLC [m] [L] algorithm 72-73 5.2.6 traversal algorithm 73 5.3 solver an example 73-74 5.4 Summary 74-77 Chapter Summary 77-81 6.1 PLC software system overview 77-78 6.2 Work Summary 78-79 6.3 Further work needs to be done 79-81 References 81-84 Thanks 84-85 research and published papers 85-86 Author 86-87 Annex 87-88

Related dissertations

  1. Design and Realization of Distributed Control System Based on Industrial Ethernet
    WuQiong ·Nanchang University of Aeronautics and ·2013 ·Master's thesis
  2. Development of the Data Acquisition System for the Equipment Operation in Engine Room
    ZhaoYan ·Jimei University ·2013 ·Master's thesis
  3. A Gas Flowmeter Automatic Measurement System Based on PLC and Configuration Software
  4. Design of Central Air-conditioning Automatic Control System
  5. The Research of Hybrid Power System about Wind and Electricity for Air Compression in Coal Mine
    HuangGuan ·Liaoning Technical University ·2013 ·Master's thesis
  6. The Design of Gas Monitoring System Based on ZigBee
    GaoBinBin ·Taiyuan University of Technology ·2012 ·Master's thesis
  7. A Study on Parallel Dependence Relations Decomposition of Programmable Logic Controller
  8. Research on the Economic Capital Management of A Commercial Bank
    WangJingHua ·Jilin University ·2013 ·Master's thesis
  9. The transformation and upgrading of enterprises in the human resources allocation of -YT twelve. Analysis of five human resource planning
    LiGuangMin ·Yunnan University of Finance ·2013 ·Master's thesis
  10. Reseach and Design of Automated Production Line of the New Prefabricated Exhaust for Residential Ketchen
  11. Development of Automated Production Line Teaching Experiment Platform Based on Profibus
    HuYa ·Dalian University of Technology ·2013 ·Master's thesis
  12. Development and Application about Data Management System of PVC Glove Production Line
  13. Based on PLC Street-lamps Romote Monitoring System Research and Implementation
    JiangYang ·Dalian Polytechnic University ·2011 ·Master's thesis
  14. The Development and Research of an Intelligent Sewage Trestment System Based on Cast Craft
  15. Monitoring System of Motion Position Platform Design Based on Wincc
  16. Design of Monitoring System in Oilfield Metering Station Based on PLC
  17. The Sewage Treatment Plant of Langfang Development Zone Control System Analysis
    SunChenZuo ·Yanshan University ·2012 ·Master's thesis
  18. Mine Drainage Automation Monitoring System Design and Implementation
  19. Design and implementation of computer monitoring and control system of pumping station based on PLC
    XieZhengHua ·Jiangxi University of Technology ·2013 ·Master's thesis
  20. Research and Development of Variable Frequency Speed Regulation Monitoring System for Coal Main Fan