Research and Realization of the Ladder Diagram Programming Software in CNC System
- Author
- PanYong
- Advisor
- ZhouTingMei
- School
- Wuhan University of Technology
- Major
- Mechanical and Electronic Engineering
- Classification
- TG659 Program control machine tools, CNC machine tools and machining
- Degree
- Master's thesis
- Year
- 2005
- Downloads
- 612
- Citations
- 11
Abstract
At present, Low and middle lever numerically controlled(NC) machines mostly choose economical NC system as well as motor-driven tool carrier etc, and its internal logic control is realized by Programmable Logic Controller (PLC). How to make the action of each part of machine effective and reliable depends on procedure, so the PLC programming tool has become indispensable in the numerical control system.The PLC programming tool mainly contains the specialized editor and the tool software based on personal computer. Now because of the quick regeneration speed of PLC, the service life of specialized editor is limited, and its price is much higher, so the current development trend is that using the programming system which based on the personal computer for program.The main task of my research is to develop an IDE (Interged developing Environment) for the NC system of Hust Corporation to provide users with an intuitionistic, convenient and high-efficient programming environment based on personal computer.According to the methods of the software engineering and object-oriented design, the system analysis and requirement analysis on this platform are made, and the detailed function requirements of the software are drew. And then, through the modularization design, the software is decomposed to four modules which are item management, intelligently compilation, translation and edition and simulation and emulation. Simultaneously, data direction between the modules of this platform is designed, which deals with good news transmission and drive between them.After modularizing, the function of each module has been carried out. In order to build a hiberarchy and a component storeroom model object based on the object-orientation and write PLC program by plotting in the system, the editor chooses the ladder diagram language. Through tree structure, the editor links the ladder diagram and PLC instruction to realize the compiler conversion between them. The compiler conversion uses the rundle as unit, according to the direct deep prior scanning algorithm, a logic tree structure is established, and then the PLC instruction is gained by going through the tree. Through the analysis and research of PLCworking principle, the system emluator can emulate the arithmetic of the PLC instruction interpret, and simulate the PLC function course, so as to realize offline simulation.In a word, the system realizes the video and standard design of ladder diagram and the auto creating formation of PLC instruction. It also provides users with a convenient programming environment and raises the efficiency of PLC program, which takes on an intuitionistic edit environment and flexible edit methods.
Table of contents
The first chapter 9-16
1.1 subject background 9-12
1.1.1 topics sources 9
1.1.2 CNC System Overview 9-10
1.1.3 CNC system programmable controller 10-12
1.2 research status 12-14
the purpose and significance of the research
1.3 14-15
The main research content
1.4 of 15-16
nbsp overall design of the second chapter of NC Ladder programming system ; 16-24
2.1 Edraw CNC system's basic features 16-17
2.2 CNC programming system for the overall design of the ladder program 17-20
2.3 development tool selection 20-21
Application
2.4 object-oriented technology 21
thinking
2.5 software engineering 21-22
design nbsp 2.6 data structure ; 22-24
The third chapter editor designed 24-39
3.1 Introduction 24
3.2 Programmer design principles 24
3.3 system class hierarchy 24-26
3.4 object library design 26-31
3.4.1 Component base class design 27-29
3.4.2 various design elements like 29-31
3.5 editor implementation 31-39
3.5.1 Ladder drawing 33-34
Select
3.5.2 components 34-36
3.5.3 Response pull the scroll bar events 36-37
3.5.4 ladder storage 37-39
Chapter IV compiler module system development 39-51
4.1 Introduction 39
4.2 compiler module modeling 39-42
4.2.1 tree -centric conversion method 39-40
4.2.2 logic tree object model 40-42
4.3 compiler implementation 42-51
4.3.1 syntax checking 43-44
4.3.2 ladder into the tree 44-47
4.3.2.1 scanning function 44-45
4.3.2.2 tree construction process of scanning and 45-46
4.3.2.3 Application examples 46-47
4.3.3 tree into instruction table 47-49
4.3.4 compile results 49-51
Chapter V PLC simulation
realization 51-65
5.1 Introduction 51
5.2 PLC works 51-52
5.3 PLC command interpreter algorithm 52-56
implementation
5.4 emulator 56-63
5.4.1 Virtual I / O mapped registers established 57
5.4.2 instruction analysis 57-61
5.4.3 PLC command interpreter achieve 61-63
5.5 Simulation results 63-65
Chapter VI Summary and Outlook 65-67
6.1 study concluded 65
6.2 Prospect 65-67
References 67-70
Thanks 70-71
Post graduate during
Appendix I of the paper 71-72
Appendix II of completion and graduate students involved in research projects during 72
Related dissertations
- The Electrical Development on TH6513Milling and Boring Machine Centre
- Research and Design of Soft PLC for CNC System
- The Research of the PLC Function in CNC Machine Tools
- A Marketing Strategy Research on HLJ Company
- The Research on Customer Satisfaction Index in YGsoft Company
- 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