Font Size: a A A

Program Development For Turning Canned Cycle Functions In CNC System

Posted on:2012-05-19Degree:MasterType:Thesis
Country:ChinaCandidate:G SongFull Text:PDF
GTID:2211330362450775Subject:Mechanical Manufacturing and Automation
Abstract/Summary:PDF Full Text Request
Using canned cycle instruction is a simplified programming method. The purose of reducing the number of NC codes and improving programming efficiency can be realized by using canned cycle instructions. However, most popular CNC systems'kernel are closed , so the users are not clear about its working theory. Thus, the research on canned cycle instructions makes practical value for developing CNC system independently. In this paper, the turning canned cycle instructions are researched. The main content include building the interpreter module according to external features of the canned cycle instruction, simulating the path and the cutting procedure on the basis of the results created by interpreter module, and testing working in open architecture CNC system.The external features contains two aspects: the format of instruction and the cutting path. The format indicates how to use the cycle instructions, the cutting path shows the detailed procedure that takes place when a canned cycle instruction is executed. The research on the external features provides basic theory for building the interpreter module.The simulation is designed for testing the correctness of the results created by interpreter module. In this paper, two simulation methods are used: the path simulating and the cutting simulating. In path simulating, an application based on dialog by using Visual C++ is created, it drows the cutting path according to the coordinate value created by the interpreter module;The cutting simulating is realized by using Swansoft CNC Simulation Software, the input NC file is the mid_file that created by the interpreter module, and three-dimensional result is shown.The experiment is based on the open architecture CNC system. The experimenters could insert their function module to the system easily due to the system's open feature. After inserting the interpreter module into the system, debugging the whole system and observing the running status of CNC unit, the correctness of function module can be confirmed.In this paper, the format and function feature of single canned cycle instructions and multiple canned cycle instructions are researched; The interpreter module is realized by using Visual C++ software, and the module is confirmed to be right through simulating; At last, the whole function mudule is transplanted into the open architecture CNC system and realize its function in real cutting.
Keywords/Search Tags:turning canned cycle, cutting simulation, open architecture CNC system
PDF Full Text Request
Related items