Research of SoftPLC and Developing System Based on PC
- Author
- YeShengHong
- Advisor
- LiPing
- School
- Shantou University
- Major
- Mechanical and Electronic Engineering
- Classification
- TP273.5 Computer control, computer control system
- Degree
- Master's thesis
- Year
- 2010
- Downloads
- 173
- Citations
- 2
Abstract
With the development of industrial control technology, the disadvantages oftraditional PLC have gradually emerged. PLC of different manufacturers are mutuallyexclusive. Though most of them have the same programming language, the company’sconfiguration, address, grammar are inconsistent. Most PLC manufacturers have theirown software, which is expensive and has poor universality. Much software even hasto run in DOS environment. All the disadvantages make users feel inconvenient; theconflict between users and PLC is becoming more and more serious.SoftPLC is a new control technology which has developed rapidly after theestablishment of IEC61131-3 programming standard. SoftPLC is based on PC, has alot of advantages such as good openness and low cost. SoftPLC works like traditionalPLC, which can be divided into two parts: developing system and running system.The running system downloads the program which is developed in the developingsystem. From this way, the softPLC realized control function.Because softPLC is based on PC and PLC, this paper firstly gives a briefintroduction of PLC and PC, then descripts the 5 programming language defined bythe IEC61131-3 international standard. After explained how the PLC work, weanalyze the composition of PLC developing system. Further, according to therelationship between function and softPLC, we divide the developing system into twosections: generic section and special section. Generic section is mainly responsible forthe programming, while the special section’s work is to compile the PLC program andcommunicated with the running system..This paper’s aim is to propose a softPLC solution whose running system can becomposed of different hardware platforms. The key to achieve this target is to developa developing system which can be suitable for variety of hardware platform.Therefore, users can use it to program for different hardware platform, they no need tolearn new programming languages. Even, they can directly use programmed codes, which could save the programming time. Due to so many advantages, the developingsystem is of great practical significance. Naturally, the research of developing systemis the most important..The test proves that the developing system of soft PLC realizes theladder-diagram programming function and instruction list programming. At the sametime, the code of communication with running system has been given as well as amethod to compile the program has been found.
Table of contents
Abstract 3-4
ABSTRACT 4-8
first chapter 8-14
1.1 soft PLC background and concepts 8-9
1.2 soft PLC technology at home and abroad research status and development trend 9-12
1.2.1 foreign development status 9-10
1.2.2 domestic development status 10-11
1.2.3 soft PLC technology trends 11-12
the 1.3 topics main purpose and research contents
1.3.1 of this article research purposes 12
1.3.2 research content
organizational structure
1.4 papers 12-14
soft PLC technology foundation 14-22
2.1 PLC system structure and principle 14-16
2.1.1 PLC structure 14-15
2.1.2 PLC works 15-16
2.2 PC-based control system 16-18
2.2.1 PC-based control system principle 16-17
2.2.2 based on the superiority of the PC control system 17-18
2.3 Soft PLC with international standards 18-22
2.3.1 IEC61131-3 standard profiles 18
The main features of the
2.3.2 IEC61131-3 international standard 18-19
2.3.3 IEC61131-3 international standard necessity 19
2.3.4 IEC61131-3 standard programming language 19-22
Chapter III works with the development of soft PLC system design 22-34
3.1 soft PLC works 22-23
3.1.1 Soft PLC composition 22-23
the 3.1.2 soft PLC's work process 23
3.2 soft PLC control program designed 23-29
3.2.1 embedded controller-based control program designed 24-26
3.2.2 IPC or PC-based control scheme 26-28
3.2.3 traditional PLC-based control scheme 28-29
3.2.4 three control schemes 29
3.3 soft PLC development system principles and design 29-34
the 3.3.1 Soft PLC development system structure and principle 29-31
3.3.2 Soft PLC system for the design 31-34
Chapter universal programming module design and implementation 34-57
4.1 Ladder basic knowledge 34-36
4.1.1 ladder language elements 34-35
4.1.2 ladder instructions 35-36
4.1.3 Ladder programming rules 36
4.2 the ladder editing module development 36-42
the
ladder editor 4.2.1 module functional requirements 36-37
4.2.2 ladder components designed 37-39
4.2.3 Ladder draw the design 39-40
4.2.4 ladder file storage 40-42
4.3 instruction the table language editing module to achieve 42-43
4.3.1 instruction sheet language features and structure 42
4.3.2 Directive table editor realization 42-43
4.4 Ladder and table language conversion module 43-49
4.4.1 ladder to nbsp the realization of the conversion table to the instructions; 43-49
4.4.2 instruction table to the conversion of the ladder program 49
4.5 PLC program error handling module 49-52
4.5.1 Ladder error handling 50-51
4.5.2 instruction table error processing 51-52
4.6 soft PLC development system interface design 52-55
4.6.1 menu bar introduced 52-53
4.6.2 Toolbar introduce 53-54
4.6.3 PLC program editing area interface design 54
4.6.4 Other interface design 54-55
4.7 editing function test 55-57
Chapter dedicated module 57-66
5.1 compiler module method to explore 57-61
5.1.1 compiler module principle 57-60
5.1.2 object code generated 60
5.1.3 compiler module ideas 60-61
5.2 development system and operation system communication 61-62
5.2.1 PLC with PC Connection 61-62
5.2.2 communication processes 62
5.3 Communications Programming Research 62-66
5.3.1 computer serial communication Profile 62-63
5.3.2 MSComm Introduction 63-64
5.3.3 communication programming 64-66
Chapter 6 Conclusions and Prospects 66-68
6.1 summarizes 66
6.2 Looking 66-68
reference papers 68-70
Acknowledgements 70
Related dissertations
- Research of Soft PLC Platform in MW Class Wind Power Generator
- The Study and Realization on Running System of SoftPLC Based on PC
- SoftPLC Technology Based on PC-Design and Realization of Editor System
- Embedded control system development platform to achieve soft PLC
- Construction Machinery Intelligent Controller Based on Soft-PLC
- Embedded PLC of CNC System
- Design and Research of Intelligent Controller for Construction Machinery
- The Design and Implementation of the Small Integrative PLC System
- Research on Control System for Pillow-style Packing Machine Based on Embedded Soft PLC
- The Research of Soft Plc Technology Based on Cortex-M3
- A Study on Parallel Dependence Relations Decomposition of Programmable Logic Controller
- An Algorithm about Translating from Sequential Function Chart to Ladder Diagram
- Research and Design of PAC Control System Based on Virtual Machine
- The Control System Design of Dialysate Concentrated Supplying System
- Design and research of control system of drip irrigation management and control integration technology based on
- Research&Development of Soft PLC Based on Windows
- Software Design and Development of Optimization Control Platform System Process Station
- Machine vision automatic alignment of parallel light exposure machine based on the research of key technology
- Design of Graphic System Configuration Tool for Digital Substation Based on IEC61850
- Design and implementation of PLC simulation system based on IEC61131-3 and Java