Design and Implementation of SoftPLC Development System Based on IEC61131-3
- Author
- TianWenZuo
- Advisor
- YuDong
- School
- Graduate School of Chinese Academy of Sciences (Shenyang Institute of Computing Technology)
- Major
- Computer System Architecture
- Classification
- TP273 Automatic control,automatic control system
- Degree
- Master's thesis
- Year
- 2009
- Downloads
- 31
- Citations
- 0
Abstract
Programmable Logic Controller(PLC) is the most important electric control device in open CNC system. The traditional structure of PLC system is sealed, and unable to meet the demand for the openness.With the establishment of IEC61131-3 standard,a new technology which called softPLC has became a hot trend in automatic control area. SoftPLC implements control function using software method bases on open architecture and general operating system.Compared with traditional PLC, softPLC has open architecture, friendliness of Human-Machine Interaction (HMI), strong throughout and internet communication. It has great advantage to develop soft PLC.This thesis focuses on the following three aspects:Firstly the Unified Modeling Language(UML) modual of softPLC develpment system is designed, the graphical editing interface and conversion module of ladder diagram to instruction list are implemented in this thesis.Secondly, the design of IL compiler which is the key of soft PLC is detailed in this thesis, and a design method based on flex and bison is also introduced. This method conquers the disadvantage that former softPLC complier has to change every phase once the program language modified and expanded because of its compact structure.It benefits that less programming code, more compatible and more convenient maintenances.Finally, the quality assurance testing of softPLC development system was performed in our open CNC platform.The results shows that the system can efficiently control the I/O device of our openCNC platform,and also shows the correctness of the every module.To sum up, the softPLC development system based on IEC61131-3 was presented in this thesis.This system can implement the edit and compiling of IL and ladderdiagram efficiently, which presents openness, practicable and flexible.
Table of contents
Abstract 3-4
ABSTRACT 4-8
Introduction 8-10
first chapter 10-17
1.1 soft PLC technology generates background 10-12
1.2 open CNC system PLC 12-14
1.3 soft PLC research status 14-15
1.4 the significance of the research and the main content 15-16
1.5 thesis organization and structure 16-17
IEC61131-3 standard 17-26
2.1 programming language 17-19
2.2 The basic model 19-25
2.2.1 software model 19-23
2.2.2 communication model 23-25
2.3 This chapter Summary 25-26
the Chapter a soft PLC development system software and hardware platforms 26-34
3.1 soft PLC development system software platform 26-31
3.1.1 Linux operating system 26
3.1.2 MatPLC operating environment 26-30
3.1.3 flex and bison analysis tools 30-31
3.2 soft PLC hardware platform development system 31-33
3.2.1 numerical control system based on fieldbus 31-32
3.2.2 MECHATROLINK-Ⅱ fieldbus 32-33
3.3 This chapter Summary 33-34
Chapter soft PLC editing systems design and implementation 34-45
4.1 soft PLC development system UML design model 34-40
4.1.1 Unified Modeling Language UML 34-35
4.1.2 system use case diagram 35-36
4.1.3 system class diagram 36-37
4.1.4 System Configuration Figure 37-38
4.1.5 system interaction diagram 38-39
4.1.6 system state diagram 39-40
4.2 conversion algorithm 40-42
4.3 Ladder editing interface 42-44
4.4 This chapter Summary 44-45
Chapter instruction list language compiler implementation 45-56
5.1 compiler structure 45
5.2 lexical analysis 45-48
5.3 parsing 48-51
5.4 analysis program to generate 51-52
5.5 semantic analysis 52-53
5.6 object code generated 53-55
5.7 This chapter Summary 55-56
Chapter VI field application experiment 56-63
6.1 experimental platform 56
6.2 experiment 56-60
6.3 Experimental results 60-62
6.4 This chapter Summary 62-63
Summary and Outlook The 63-65
the
References 65-67
wrote 67-68
Acknowledgements 68-69
Appendix 69-72
Related dissertations
- The Design of Developing Platform of PLC Programming Language
- Design and Implementation of PLC software integrated development platform
- The Research of Softplc System Based on PC/104 and ARM7 Controllers
- A Compiler Supporting Multi-Language of Control Engineering Based on IEC61131-3
- The Research and Design of PLC Programming Software Based on IEC61131-3
- The Design and Implementation of the Small Integrative PLC System
- The Operating System Transplant Based on the Xenomai and its Applications in the Soft PLC
- Research and Implementation of Key Technologies for YHFT-Matrix Compiler Based on GCC
- The Design and Implementation of a Complier for SCADA Based on C
- Backend Porting for CSKY Based on LLVM Compiler Infrastructure
- Establishment and Verification of the Timing and Power Consumption Model for the Embedded SRAM Compiler
- The Embedded SRAM Compiler Design and IP Verification
- Research of Soft PLC Platform in MW Class Wind Power Generator
- Research on the Key Technology of Middle-convex and Varying Ellipse Piston Machining
- A Study on Parallel Dependence Relations Decomposition of Programmable Logic Controller
- An Algorithm about Translating from Sequential Function Chart to Ladder Diagram
- Research and Development of the SoftPLC System Based on Windows
- Design and Implementation of SQL Compiler on Column-Oriented Database
- Design and Implementation of Configurable Compiling Tools
- The Optimized Frontend Compiling System Design for Remus Ⅱ Reconfigurable Processor