Font Size: a A A

Research On Interactive Programming System For Virtual NC Turning

Posted on:2015-01-03Degree:MasterType:Thesis
Country:ChinaCandidate:W FanFull Text:PDF
GTID:2181330431951531Subject:Mechanical and electrical engineering
Abstract/Summary:PDF Full Text Request
This topic belongs to the field of numerical control programming,Interactiveautomatic programming category. At present, domestic CNC systems adopt the textprogramming and require the user to master the NC system of programming instruction. Itmakes the programming efficiency is low, cannot meet the requirements of the shop floorprogramming. The efficiency of NC programming directly affects the machining efficiency.The key technology in this interactive automatic programming module of the CNC systemis studied to improve the efficiency of NC programming and simplify the programmingmode.In this paper, the use of high frequency programming instructions which are used inthe numerical control lathe processing are analyzed and studied and one for the virtual NCturning system simulation platform interactive programming system is successfullydeveloped with VC++. The operation only needs to define some appropriate processingparameters, then the node coordinates of the outline and then it could generate interactiveprogram and the system is converted into the correct format G code program. Based on theG code program calls for processing directly in the simulation platform simulation systemsoftware and it can visually check the correctness of NC program.Firstly, five modules which are used to program are designed with the modernsoftware engineering method, and the design is based on full analysis of Virtual CNCturning system on simulation platform. It developed the simple, friendly user interface andcompleted the frame design for program and realized the user interactions with theprogramming system. And in this paper, MFC DDC and DDV technology is used totransfer parameters between different modules and the transfer function are set in thesystem program. It saves the work for setting some modules or parameters and improvesthe efficiency of programming.Secondly, this paper designed an interactive program generation scheme using VisualC++6.0programming software. Contour node parameters and processing instructions each time the user settings can be integrated into an interactive procedure according to the fixedformat. The users can easily analysis the programming operation according to theinteractive program generated.Then this paper developed the interactive program into G code program based onsufficient analysis and mastering the G programming code. It achieved the purpose that thegenerated G code can completely be called by the simulation platform for the purpose ofprocessing simulation. And this paper analyzes the language structure of NC code. Itanalyzes the lexical, syntax and semantics of NC code with C++so that the system canfinish reading and checking of NC code.Finially, through the case study, the programming style is simple, friendlyman-machine interface. It will bring convenience for the NC machining of teachingtraining, but also can be optimized in production and practice. So it has good applicationprospect.
Keywords/Search Tags:CNC turning, NC programming, Interactive programming, NC code, Simulate machining
PDF Full Text Request
Related items