Development of Code Interpreter for EDM CNC System Based on Lex and Yacc
- Author
- XuZuoYun
- Advisor
- ZhaoWanSheng
- School
- Shanghai Jiaotong University
- Major
- Aviation Aerospace Manufacturing Engineering
- Classification
- TG659 Program control machine tools, CNC machine tools and machining
- Degree
- Master's thesis
- Year
- 2009
- Downloads
- 153
- Citations
- 3
Abstract
This article describes the EDM CNC machining CNC system code interpreter Research , pointed out that the major manufacturers code interpreter by a high-level language development , there is a long development cycle , heavy workload, easy to produce omissions, improvement and maintenance is difficult . study Lex and Yacc tools CNC code interpreter processing program code interpreter is more complete , efficient, safe and stable , and easy to extend and maintain . This paper studies the application of the tool in the development of code interpreter implementation of methods and processes , combined with the EDM CNC code specific examples were achieved of 3B and ISO code NC code interpreter . On this basis , focusing on and to achieve a coexistence of CNC multi- code interpreter . The object code generated by the interpreter after the interpolation calculation pulse signal transmitted through the serial port to the MCU from the code to explain to the processing of the complete process . The NC code interpreter based on the Linux platform , the Qt Designer EDM CNC system man-machine interface, which in addition to NC code interpreter interface layout module code input editing module , graphics, simulation and interpolation simulation module and interpolation signal data communication module. The man-machine interface system compiled by Qtopia ported to embedded development board , the actual use of Wire EDM CNC machine tools and cutting out the parts to verify the accuracy and efficiency of NC code interpreter , as the subject of the scenario is verified , NC code interpreter has developed successfully applied based on the embedded Linux system reciprocating wire EDM wire cutting machining CNC machining CNC system .
Table of contents
Abstract 4-5
ABSTRACT 5-9
1 Introduction 9-17
1.1 Introduction 9
1.2 Power EDM CNC code interpreter research background 9-11
1.2.1 EDM CNC machining Research 9-10
1.2.2 NC code interpreter status and trends 10-11
1.3 existing CNC system development platform overview 11-14
1.4 of this thesis purpose and significance 14-15 < br /> 1.5 In this thesis, the main research directions 15-17
2 modular EDM CNC system and method 17-24
2.1 system platform architecture 17-18
2.2 software module design 18-23
2.2.1 CNC code entry and editing module 18-21
2.2.2 EDM CNC code interpreter module 21-22
2.2.3 Parameter Setting Display Module 22
2.2.4 graphical modeling and interpolation simulation module 22
2.2.5 Data communication module 22-23
2.3 hardware module design 23
2.4 This chapter summarizes 23-24
3 EDM CNC code interpreter Design 24-46
3.1 NC code interpreter role 24-25
3.2 Lex and Yacc 25-30
3.2.1 Lex and Yacc Introduction 25
3.2.2 Lex and Yacc application 25-26
3.2.3 Lex lexical analyzer 26-28
3.2 .4 Yacc parser 28-30
3.2.5 running Lex and Yacc 30
3.3 EDM CNC code interpreter overall design 30-31
3.4 wire cutting CNC code interpreter Lex lexical checking 31-34
3.4.1 3B code lexical analysis 31-34
3.4.2 ISO code lexical analysis 34
3.5 wire cutting CNC code interpreter Yacc grammar check 34-43
3.5.1 3B code parsing 34-38 <br / > 3.5.2 ISO code parsing 38-43
3.6 majority control code interpreter coexistence 43-44
3.6.2 coexistence of multiple lexical analyzer design 43-44
3.6.3 coexistence of multiple parsers design 44
3.7 object code output 44
3.8 This chapter summarizes 44-46
4 EDM CNC system man-machine interface and graphical simulation 46-69
4.1 HMI NC system 46-47
4.1.1 people machine interface and design criteria 46
4.1.2 CNC machine interface features 46-47
4.2 Qt-based human-computer interface design 47 < br /> 4.3 EDM CNC machine interface systems modular design 47-58
4.3.1 interface layout module 48-52
4.3.2 code interpreter module 52-54
4.3.3 graphical modeling and interpolation simulation module 54-58
4.4 EDM CNC code interpreter HMI 58-62
4.5 Wire EDM CNC system HMI 62-63
4.6 serial communication design 63-68
4.7 This chapter summarizes 68-69
5 system testing and process validation 69-71
6 Summary and Outlook 71-73
6.1 This article summarizes 71-72 <br / > 6.2 Prospects 72-73
References 73-76
Thanks 76-77
During the master's degree has been published or accepted papers 77
Related dissertations
- Study of Servo Control System on Electric Discharge Machining Based on Visual C++
- Study on Numerical Control System for EDM
- Study on Motion Control of Numerical Control for Die-Sinking Micro Electrical Discharge Machining Based on PMAC
- Design of Task Controller in Rtlinux-based Cnc System
- Research and Realization of Video Surveillance and Play Based on ARM9Hardware Platform
- Research and Design of Embedded Building Security System
- The Softeware Design and Implement on Integrated Intelligent Camera Platform Based on Davinci DM6446
- The Research of Household Remote Monitoring Based on Embedded Web Server
- Research and Design of Intelligent Video Surveillance System Based on ARM
- Design of Video Monitoring System Based on the Embedded
- The Design of Embedded Network Video Surveillance System Based on ARM9
- Design and Application of the Distributed Monitoring System Based on Embedded Web
- Study on Embedded Data Acquisition System Application
- Embedded Software Design of AC Field Detection Instrument Based on ARM
- Research and Realization on the Key Technology of Monitoring System about Granary Environment Based on ARM9
- Based on the Samsung2440Embedded Home Furnishing Design and Implementation of Intelligent Control System
- Design of Industrial Ethernet Motion Controller Based on ARM
- Research on Pulsating Vacuum Pressure Steam Sterilization Control System Based on ARM
- The software design of intelligent control Home Furnishing gateway based on ARM11
- The System Design and Implementation of Smart Home Control Terminal Based on Linux