Research and Exploitation on Macro Program Programming Platform of Open NC System

Author
ZuoHai
Advisor
HeGuoJin
School
Guangxi University
Major
Mechanical and Electronic Engineering
Classification
TG659 Program control machine tools, CNC machine tools and machining
Degree
Master's thesis
Year
2005
Downloads
189
Citations
3

Request the full text

Abstract

Currently, most high-end CNC system provides users with a macro function correctly proper use of the feature, you can greatly improve programming efficiency. In order to open CNC system with macro function , the paper through the existing CNC program features a macro -depth research, design a new set of macro systems and systems based on open CNC editor , compiler theory , developed a support the instruction system programming platform . This macro programming platform developed with the existing macro programming platform , has the following advantages: ( 1 ) the existing editing functions , based on the increase for the editor macro program for word , grammatical error checking function . This can be in the macro editor program preparation process, the macro program words and grammatical errors in red displayed in real time , to make up for the existing compiler in the program preparation process, can not be the word , syntax error checking in real time defect ; ( 2 ) of the existing system, numerical control commands , subroutines, canned cycles , and the user macro program call mechanism is very close , but use different calling methods , and this body was designed these three procedures common calling method . This method is called with the existing fixed cycle calling method is very similar to the body of each program has a dedicated call instruction , do not specify the program number , the call mode by calling the appropriate parameter settings . With this general method is called , the instruction system has been simplified , and the call instruction itself is short compared to existing call instruction . ( 3 ) the existing macro programming platform supports custom macro program, macro call arguments used to access local macro variables are often mistakenly modified by the user . The paper develops a macro programming platform for the user to access the macro parameters assigned a dedicated read-only macro variable , to avoid this from happening . After instances of verification, use the macro system designed in this paper compiled macro program can be completely open CNC system correctly.

Table of contents

Abstract 3-4 ABSTRACT 4-9 first chapter 9-16 I. Introduction 9 <br / > Second, the issue of the source 9 Third, the purpose and significance of research projects 9-10 1, research projects aim 9-10 <br / > 2, the research significance 10 Fourth, the development of domestic and international research profile 10-15 1, open CNC system development overview 10 - 12 2, Macro Programming Platform of General 12-15 five, research contents 15-16 open CNC system Chapter program editing, compiling function of the realization principle 16-32 an overview 16-17 two CNC program editor works 17-22 < br /> 1, CNC editor lexical checking capabilities to achieve the principle 18-19 2, CNC editor lexical checking capability implementations 19-22 three CNC program compiler works 22-32 1, CNC programming language and compiler 22-23 2, the compilation process and compile the program structure 23-26 3, compile phase combinations 26-27 4, GxuNC open CNC system front-end compiler works 27-32 <br / > Chapter macro system development 32-39 one, macro variables and constants 32-34 1, the macro variable 32-33 2, the macro constants 33-34 two, Operators and Expressions 34-35 1, arithmetic operators 34 2 , conditional operator 34 3, logical operators 34 4, specifiers 34 5, function 34-35 6, expression 35 Third, the assignment statement 35-36 four, conditional discrimination statement IF, ELSE, ENDIF 36 <br / > V. loop WHILE, ENDW 36-37 six, the user macro program and the preparation method invocation mechanism 37-39 1, user macro program compilation method 37 2, custom macro invocation mechanism 37-39 Chapter Editor words, syntax checking functions to achieve 39-55 First, the word editor, syntax checking function of the realization principle 39-43 1, the NC program display 39-40 2, words, syntax analysis 40-43 Second, the general NC command line words, syntax checking and definitions 43-49 1, the current syntax block access 44-45 2 , N and FS grammar block identification 45-46 3, G and M syntax block identification 46-47 4, parameter syntax block identification 47-49 three macro command words, syntax checking and definitions 49-55 1, the current macro syntax block access 49-51 2 basic macro syntax block identification 51-52 3, macro bracket syntax block identification 52 4, assignment syntax block identification 52-53 5, the entire line of syntax checking 53-55 Chapter 5 Support macro system compiler development 55-73 a front-end compiler workflow 55-56 1, NC code for preprocessing 55 2, words, syntax checking 55-56 3, data feature extraction and recognition 56 4, data processing and compiling the results output 56 two, NC code for preprocessing 56-60 1, NC program line property acquisition method 57-59 2, the extraction of valid codes NC program 59-60 three, words, syntax checking 60-63 1, General NC command line words, syntax checking 60-61 2, the macro command words, syntax checking 61-62 3, the global Syntax checking 62-63 four, data extraction and feature recognition 63-69 1, data extraction and feature recognition process 63-65 2, the NC program basic data extraction methods 65-67 3, the macro command line data extraction and feature recognition and realization 67 4, the general NC, assignment and the program number of the command line data extraction and feature recognition 67-69 five, data processing and compiling the results output 69-73 1, data processing overview 70 2, the user macro call implementations 70-71 3, compile the results output 71-73 Chapter 6 Application examples 73-78 a general macro program in the processing of the application 73-75 two user macros in processing applications 75-77 Third, the results of analysis 77-78 Chapter Summary and Outlook 78-80 one, findings 78 Second, innovation 78-79 Third, the research prospects 79-80 References 80-82 Thanks 82-83 pursue a degree during the published papers 83

Related dissertations

  1. Research on Open Intelligent CNC Architecture and Key Technology Based on STEP-NC
    LiPeng ·Shandong University ·2011 ·Doctoral dissertation
  2. The Research of Open CNC System Based on Quantum Framework
    DaiWenMing ·Hefei University of Technology ·2008 ·Master's thesis
  3. Research about the Macro Program Based on FANUC 0i CNC System
    ZhuYueFeng ·Hefei University of Technology ·2008 ·Master's thesis
  4. Research on the Open NC Systems Based on PC
    ZhangShuCheng ·Hefei University of Technology ·2008 ·Master's thesis
  5. The Research and Development of Numerical Control System Based on PMAC
    PengYuHai ·Xi'an University of Technology ·2007 ·Master's thesis
  6. Study on Network Remote Monitor Technology of Open-NC System Based on Windows
    HuangYang ·Guangxi University ·2003 ·Master's thesis
  7. Study on Key Technologies of Open CNC System Based on Motion Controller and Its Application
  8. Study on Network Remote Monitor Technology of Open Architecture NC System Based on Windows
    RenQiang ·Guangxi University ·2005 ·Master's thesis
  9. The Research and Design of Open Soft CNC System Based on Windows
    FanKeDong ·Southwest Jiaotong University ·2004 ·Master's thesis
  10. RESEARCH ON PROGRAM EXPLANATION AND TOOL COMPENSATION OF OPENING CNC SYSTEM
    HuangJiang ·Guangxi University ·2002 ·Master's thesis
  11. Windows-based platform, open three-axis CNC System Development
    LuoFuYuan ·Guangxi University ·2002 ·Master's thesis
  12. For Networked Manufacturing Open CNC System
    WuChangZhong ·Shandong University ·2008 ·Master's thesis
  13. Research on Open CNC System and Integrating Status Monitoring
    GuoRongGuang ·Tianjin University ·2009 ·Master's thesis
  14. Based Open CNC PMAC learning platform research
  15. Design and Implementation of Open Remote Monitoring Protocol
    ZhaoZhengWei ·Hunan University of Technology ·2013 ·Master's thesis
  16. The Research of Trajectory Planning on the Open Robotic Control System
    ChenQiang ·South China University of Technology ·2013 ·Master's thesis
  17. Research on Control Technology of CNC Wire Bending Robot with Single-head and Multi-mode
    LuJie ·Xiamen University ·2014 ·Master's thesis
  18. Chengdu City college sports venues opening up the status quo and Countermeasures
  19. Study on the Innovation of Moral Education in Secondary Vocational School
  20. Research on the System of Opening "the Three Official Consumptions" in China
    ZhangYue ·Central South University ·2013 ·Master's thesis