Font Size: a A A

Research And Implementation Of Virtual CNC Turning System

Posted on:2007-04-17Degree:MasterType:Thesis
Country:ChinaCandidate:C ZhangFull Text:PDF
GTID:2121360185978450Subject:Mechanical design and theory
Abstract/Summary:PDF Full Text Request
Virtual cutting is a technology which can implement the cutting processes on the computer. Virtual reality used to achieve the dynamic simulation of cutting processes.Nowadays, CNC machine tools are used widely in manufacturing. In order to reduce the cost of test cuts, the simulation of CNC processes is needed, CNC codes are checked on the computer in virtual cutting. On the other hand, it can also improve greatly the effect of teaching and training of CNC machine tools.The methods of CNC turning simulation in 2D and 3D are discussed in this paper. A high quality virtual CNC turning system has been developed on the platform of Windows2000/XP OS and VC++6.0.This project has been accomplished as follows:1. The structure of virtual CNC turning system is analyzed and designed by using modern software engineering, succinct and friendly system interface is developed.2. CNC code structure is analyzed and all kinds of errors in programming can be checked by using lexical analysis, syntax analysis and semantic analysis.3. The simulation module which used multithreading technology is developed. By using the code driving method, the processes of CNC turning can be simulated. The 2D process is implemented in the methods of XOR and draw-erase. The 3D simulation is based on OpenGL and implemented by double buffer technology.4. The serial communication module is designed to achieve the real time communication between this system and the CNC machine tool.5. The help system module is designed for user's easily getting system helps. With its successful simulation, interface and communication functions, this systemwill bring great convenience not only in CNC teaching but also in practice use.
Keywords/Search Tags:Virtual Reality, Code translation, OpenGL, Serial communication, CNC cutting, CNC instruction code
PDF Full Text Request
Related items