Designation of the PLC Interpreter
- Author
- LiuXiaoGang
- Advisor
- LiZhengPing
- School
- Anhui University
- Major
- Circuits and Systems
- Classification
- TP273 Automatic control,automatic control system
- Degree
- Master's thesis
- Year
- 2013
- Downloads
- 32
- Citations
- 0
Abstract
PLC, has been used widely in Industrial Control、Environmental Monitoring、 Petrochemical Industry、Medical Treatment and Public Health、Consumer Electronics. PLC has rich instruction set,strong efficiency,outstanding performance,it take over huge market share from China to the whole world.We can anticipate that,in the present and future for a long time,PLC will still continue to spread,continue to serve us to improve our living quality.The S08series MCU is a excellent8-bit MCU,which is produced by Freescale Corporation.It can compare MCS-51single chip microcomputer, exceed in stability than MCS-51. Predecessor of Freescale Corporation is Semiconductors department of Motorola Corporation.From2004,Freescale Corporation independent from Motorola Corporation. Now, Freescale Corporation has its own develop department、 manufacturing department%market departments all over the world. The S08series single chip microcomputer has been applied in all kinds of control field taking advantage of higher cost performance.Although PLC application fields is very extensive, but it has a fatal disadvantage:exorbitant prices.In order to lower the price, at the same time,keep the high stability. We can use single chip microcomputer to replace PLC.Because of the complexity of transition, few people complete it. So, a kind of software to coordinate PLC and single chip microcomputer need be produced, we can make use of it to develop application program on The S08series MCU, to fulfill needs of users.This interpreter mainly contains three parts:1) By using FXGPWIN programming software of Mitsubishi Corporation, we can analysis intermediate code produced by adder diagram or instruction list, then resolve it.2) Dealing with intermediate code after analysising, we translate intermediate code into C language format file, in order to control S08MCU. 3) By Using CodeWarrior software of Freescale Corporation, we can compile、 link C language format file, to produce s08format hex file, then use PE writing flash to write file into S08MCU, to control S08MCU.At last, we need to test it, and offer some examples to test and verify PLC interpreter.This paper design a PLC interpreter, which has some advantages,such as small volume、a very fast speed、simple operation、free and open source. It can be used in most industrial control occasions、real-time products.It has huge allure to these products, because it can meet their actual demand.
Table of contents
Summary 3-5
Abstract 5-7
directory 7-9
first chapter 9-13 <br / > 1.1 subject background and significance 9-10
1.2 research status analysis 10-12
1.3 content and achievement 12-13
Chapter II PLC interpreter overall design 13-19
2.1 PLC Introduction 13-14
2.2 MCU Introduction 14-15
2.3 Requirements Analysis 15-16
2.4 PLC commands and microcontroller selection 16-17
2.5 overall design 17-18
2.6 Summary 18-19
nbsp Chapter III PLC interpreter supporting environment ; 19-30
3.1 support environment 19
3.2 driver programming environment Introduction 19 - 20
3.3 driver 20-29
3.4 Summary 29-30
Chapter IV PLC command interpreter and achieve 30-48
4.1 PLC programming tool interpreter 30-31
4.2 PLC input and output interface circuit work process 31-32
4.3 PLC 's 32-33
4.4 PLC various components 33-34
4.5 PLC instruction 34-42
4.5.1 basic Instructions 35-41 <br / > 4.5.2 application instructions 41-42
4.6 PLC command parsing 42-46
4.7 CodeWarrior compiler links 46-47
4.8 chapter Summary 47-48
Chapter V system testing 48-54
5.1 PLC interpreter main interface 48-49
5.2 RTC and serial test instructions table 49-50
5.3 PLC interpreter conversion process 50-52
5.4 test results 52-53
5.5 analysis of experimental results 53
5.6 summary 53-54
Chapter VI summary and Outlook 54-55
Chapter VII Acknowledgements 55-56 <br / > chart catalog 56-58
References 58-59
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