Research and Development of the Code Compiler of the Numerical Control Virtual Simulation System

Author
XiaoZhongYue
Advisor
LuoLiangLing
School
Nanchang University
Major
Mechanical Manufacturing and Automation
Classification
TG659 Program control machine tools, CNC machine tools and machining
Degree
Master's thesis
Year
2006
Downloads
238
Citations
5

Request the full text

Abstract

With the development of Numerical Control (NC) virtual emulation system, nowadays it is developing towards the direction of flexible, open and general increasingly. As a pre-positive processing unit of the NC virtual emulation system, it is a bridge of communication between NC virtual emulation system and the other part of CAD/CAM system, also must have the same qualities as NC virtual emulation system. And these qualities embody that NC-code compiler is able to deal with the NC procedure of different NC system. So how to realize a certain general NC-code compiler is a problem which must be considered by many producers of NC virtual emulation system.This thesis is opened up on the foundation of the research and realization of the NC-code compiler technology of NC machining virtual emulation system. In order to make NC-code compiler increase its generality and applicability and identify the characters and functions of many NC systems, in this thesis, the author studied the NC-codes of three kinds of popular NC Lathe System, such as Fanuc Oi—TA, Sinumerik 802D, HNC-21/22T in the world, and summarized the similarities of them, and discussed the coding theory of the NC procedure in detail and the characteristic of the NC software’s structure and on the basis of these brought forward the method of coding which is adopted.In Visual C++ environment, with the theories of compiler and the 0-0 technology the thesis, the author studied the exploitation of NC-code compiler of the NC virtual emulation system and elaborated the method of checking the correctness of the NC-code’s morphology and phrasing in the NC-code compiler, and discussed the method of drawing the main machining information from NC procedure and the process of designing the emulation block.

Table of contents

Abstract 3-4 ABSTRACT 4-7 first chapter 7-12 1.1 Introduction 7 1.2 NC code compiler development status 7-9 1.3 issues raised in the background 9-10 1.4 research significance 10-11 1.5 research Methods 11 1.6 the main contents 11-12 chapter introduction and analysis of NC code 12-26 2.1 Overview 12-13 2.2 summarizes the general structure of NC code 13-17 2.2.1 NC code structure outlined 13-14 2.2.2 block , block format and classification 14-15 2.2.3 word address block format 15-17 2.3 several NC code system introduced and compared 17-20 2.4 function code corresponds to the profile database and the rule base 20-25 2.4.1 function words made ?? 21-22 2.4.2 rules made ?? 22-25 2. 5 Summary 25-26 Chapter NC program decoding principle 26-38 3.1 Introduction 26 3. 2 general structure of high-level language compiler 26-28 3.2 NC program decoding 28-30 3.3 CNC machining program decoding process 30-32 3.4 decoding interpretation NC system type 32-35 3.5 CNC system software structure is characterized 35-36 <br / > 3.6 compiler system uses decoding method 36-37 3.7 Chapter Summary 37-38 Chapter morphology, syntax recognition algorithm 38-53 4.1 explain - compiled decoding method 38-46 4.1.1 part program input 39 4 .1.2 NC code lexical checking 39-42 4.1.3 NC code syntax checking 42-46 4.2 NC code compiler for cutter location information algorithm 46-52 4.2.1 G90 and G91 on two programming rules are processed 46 4.2.2 on G50 or G92 workpiece coordinate system set given processing 46-47 4.2.3 G00, G01, G02/G03 code handles 47-52 4.2.3.1 for G00, G01 processing 47-50 4.2.3.2 for G02/G03 processing 50-52 4.3 chapter Summary 52-53 < br /> Chapter NC code compiler software implementation and application examples 53-67 5.1 Introduction 53 5.2 CNC virtual simulation system structure 53-54 5.3 NC code compiler design 54-56 5.4 software start-up screen to achieve 56 5.5 software's main interface 56-59 5.5.1 emulation window to achieve 57-58 5.5.2 morphology, syntax recognition results display window 58-59 5.6 NC code compiler main data member 59-61 5.6.1 lexical , grammatical analysis of the data member 59 -60 5.6.2 the main machining simulation data member 60-61 5.7 application Examples 61-66 5.7.1 NC program morphology, syntax recognition example 61-62 5.7.2 NC code compiler emulation application examples 62-66 5.8 chapter Summary 66-67 Chapter Summary and Outlook 67-70 6.1 Full Summary 67-68 6.2 future prospects 68 -70 Thanks 70-71 master's degree papers published during 71-72 References 72-76 Appendix 76-79 Appendix 1 76-79 Appendix 2 79

Related dissertations

  1. The Research of Embedded Video Monitoring System Based on Power Line Carrier Technology
  2. The Design and Implementation on Network-based Remote Control System of XY Table
    LinJianPing ·Anhui University of Engineering ·2013 ·Master's thesis
  3. Design of Agricultural Product Trace Coding Based on PDF417Two-dimensional Bar Code
    HeJuan ·Henan Agricultural University ·2013 ·Master's thesis
  4. Arcengine with OA Integrated Urban Planning Information Platform
  5. Design and Implementation of Bank Archives Management System
    ZhangLing ·Dalian University of Technology ·2013 ·Master's thesis
  6. Design for Link Analysis System of Radio/TV Signal
    JinYongXing ·Harbin Engineering University ·2013 ·Master's thesis
  7. Research and Implementation of DVB-T Baseband Coding System
    CaiZhiXiang ·Hefei University of Technology ·2013 ·Master's thesis
  8. Based on VC++and OpenGL Antenna Pattern Visualization Software Design and Implementation
  9. The Research and Realization of AVS Video Encoder Based on TMS320C6474
    WangQun ·Tianjin University ·2012 ·Master's thesis
  10. Based on the research - the junior middle school mathematics classroom interactive video analysis of classroom teaching two mathematics teachers as an example
    LiYaWen ·Shaanxi Normal University ·2013 ·Master's thesis
  11. Research on the Public Toilet Management in Shenyang on the Basis of the Grounded Theory
    WangYu ·Northeastern University ·2012 ·Master's thesis
  12. An analysis of the communication family TV drama hit schools in the new century
    LiuZuo ·Shaanxi Normal University ·2013 ·Master's thesis
  13. The Power of the Medium in Mo Yan's Works
    ShaoLinLin ·Hainan University ·2014 ·Master's thesis
  14. Optoelectronic Detection Technology Research of Bearing's Inner and Outer Diameters
  15. Involute Cylindrical Gear Strength System Design and Software Designation
    ZhangJiaLi ·Northeastern University ·2012 ·Master's thesis
  16. Study of Wear Statusassessing System Based on the Oil Monitoring Technology
  17. The Development of Kinematic Error Analysis Systerm of Planar Linkage Mechanism
    DuJianJun ·Northeastern University ·2012 ·Master's thesis
  18. Research of Automatic CNC Sewing Machine Control System
    FanFei ·Huazhong Agricultural University ·2013 ·Master's thesis
  19. The Virtual Assembly System Interface Design Based on Visual C++
    LeiMing ·Dalian Jiaotong University ·2013 ·Master's thesis
  20. The Control System Development and Research of CNC Flame Cutting Machine Based on the Motion Control Card
    LiDongYa ·Hefei University of Technology ·2013 ·Master's thesis