PC-PLC Control System Design
- Author
- DaiLiang
- Advisor
- ZhouYong
- School
- East China Normal University
- Major
- Software Engineering
- Classification
- TP273 Automatic control,automatic control system
- Degree
- Master's thesis
- Year
- 2011
- Downloads
- 799
- Citations
- 1
Abstract
PLC Programmable logic Controller programmable logic controller , it is a kind of digital electronic computers operating system , specifically designed for applications in industrial environments . PLC uses a programmable memory for internal storage program , the implementation of logical , sequential control, timing, counting and arithmetic operations , and through digital or analog input / output , and control of all types of machinery or production processes . PLC is a core part of the industrial control . With the wide application of PLC in the industrial , occasions that require a PC and PLC work together more and more. This control system is often referred to as PC - PLC control system . PC - PLC control system has not yet formed a mature development standards or frameworks , the development of such a system , there is often a low compatibility , high complexity, development costs are difficult to control and run unstable , and many other issues . In order to solve these problems exist in the development of PC - PLC control system , the paper first studies and summarized the PLC hardware components of the structure , work processes , existing programming languages ??as well as with the PC to communicate using the protocol , analyzed using ladder programming language the advantages and disadvantages of the PLC program development . In this paper, the the PLC working process and process-oriented , object-oriented programming method compares prove to object-oriented approach to the development of PC - PLC control system is feasible , based on object-oriented design PC-PLC common framework for the control system , and illustrate how the framework works . Generic framework proposed multi-threaded implementation of this framework call control , control and error control methods described . Paper laser engraving machine PC-PLC the stepper control part of the control system to achieve completion of the last two steps , for example , opposite to verify the validity of the common framework . Introduced including conversion formula , the important part of the class design and code implementation on the hardware configuration , stepper control principle , moving distance and pulse current number . Finally , this work is summarized and future direction .
Table of contents
Abstract 6-7
Abstract 7-11
Chapter 1 Introduction 11-15
1.1 This article topics and background significance 11-12
1.2 research status The 12-13
1.3 The research objectives and main content 13-14
1.3.1 Research objectives
1.3.2 13-14
1.4 The paper is organized
1.5 This chapter Summary 14-15
Chapter 2 PLC hardware architecture 15-21
2.1 PLC structure 15-16
2.2 PLC basic components 16-19
2.2.1 central processing unit (CPU) 16-17
In 2.2.2 memory
2.2.3 I / O unit 17-18
2.2.4 intelligent unit 18
2.2.5 Programming 18-19
2.3 PLC process 19-20
2.4 This chapter Summary 20-21
Chapter 3 PLC programming language 21-27
3.1 PLC programming language 21-22
3.2 order The menu 22
3.3 structured text language 22
3.4 Function Block Diagram language 22
3.5 Ladder programming language 22-24
In 3.6 instruction sheet language 24-26
3.7 PLC programming language analysis of the advantages and disadvantages 26
3.8 This chapter Summary 26-27
Chapter 4 PC-PLC communication protocol Introduction 27-32
4.1 RS-232C serial, TCP / IP network communication 27
4.2 Host-link communication protocol 27-28
4.3 host-link protocol to achieve PC-PLC serial communication 28-31
4.3.1 the SerialPort Introduction 28-29
the
4.3.2 SerialPort class The processing serial communication 29-30
4.3.3 to read and write from the PLC host-link protocol data 30-31
4.4 This chapter Summary 31-32
Chapter 5 PLC programming 32-36
5.1 process-oriented program design 32-33
5.2 PLC course of their work and process-oriented The Programming 33-34
5.3 object-oriented programming design 34-35
5.4 object-oriented PC-PLC control system feasibility 35
5.5 This chapter Summary 35-36
Chapter 6 object-oriented PC-PLC control system framework 36-49
the
framework 6.1 overall introduction 36-38
6.2 PLC The type of structure 38
6.3 PC-PLC General runtime 38-44
6.4 PLC state pool, pool instruction and results pool introduced 44-45
6.5 PLC internal instruction execution principle 45-48
6.6 This chapter Summary 48-49
Chapter 7, concurrency control and error handling 49-53
7.1 multi-thread call control 49-50
7.2 lock control 50-52
7.3 error control 52
7.4 This chapter Summary 52-53
Chapter 8 object-oriented laser engraving PC-PLC control system; nbsp 53-61
8.1 laser engraving PC-PLC control system for 53-54
8.2 PLC stepper control principle The 54-57
8.2.1 relative term 54-55
In 8.2.2 Working principle 55-56
8.2.3 Control parameters 56-57
8.3 object-oriented laser engraving PC-PLC control system design 57-60
of
classes 8.3.1 Design 57-58
The
code of 8.3.2 main function 58-60
8.4 This chapter Summary 60-61
Chapter 9 Summary and Outlook 61-63
9.1 summarizes 61-62
In 9.2 Looking 62-63
the
References 63-65
the
Acknowledgements 65
Related dissertations
- 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
- The Design and Application of Monitoring System for Wet Resin Ingredients Based on DCS
- Design of Monitoring Control System for Three-dimensional Steel Samples Warehouse on KingView
- Research on Tunnel Monitoring System Key Technology
- Automatic Monitoring System for Preparation and Pumping of the Filling Paste
- The Design of Pressure Station Constant Pressure Water Supply Device Remote Unmanned Monitoring System
- Design and Implementation of Remote Monitoring System for Laminating Equipment
- Research and Design of Ward Intelligent Call System Based on PLC
- Foam Concrete Board Insulation Mortar Equipment Automatic Monitoring System Design
- The Research of Online Testing Method for Uniformity of Insulation Layer on Communication Cable