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
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
- Design and Realization of Distributed Control System Based on Industrial Ethernet
- Development of the Data Acquisition System for the Equipment Operation in Engine Room
- A Gas Flowmeter Automatic Measurement System Based on PLC and Configuration Software
- Design of Central Air-conditioning Automatic Control System
- The Research of Hybrid Power System about Wind and Electricity for Air Compression in Coal Mine
- The Design of Gas Monitoring System Based on ZigBee
- A Study on Parallel Dependence Relations Decomposition of Programmable Logic Controller
- Research on the Economic Capital Management of A Commercial Bank
- The transformation and upgrading of enterprises in the human resources allocation of -YT twelve. Analysis of five human resource planning
- Reseach and Design of Automated Production Line of the New Prefabricated Exhaust for Residential Ketchen
- Development of Automated Production Line Teaching Experiment Platform Based on Profibus
- Development and Application about Data Management System of PVC Glove Production Line
- Based on PLC Street-lamps Romote Monitoring System Research and Implementation
- The Development and Research of an Intelligent Sewage Trestment System Based on Cast Craft
- Monitoring System of Motion Position Platform Design Based on Wincc
- Design of Monitoring System in Oilfield Metering Station Based on PLC
- The Sewage Treatment Plant of Langfang Development Zone Control System Analysis
- Mine Drainage Automation Monitoring System Design and Implementation
- Design and implementation of computer monitoring and control system of pumping station based on PLC
- Research and Development of Variable Frequency Speed Regulation Monitoring System for Coal Main Fan