Font Size: a A A

Open CNC System Based On Windows Lathe Research And Design

Posted on:2007-01-05Degree:MasterType:Thesis
Country:ChinaCandidate:Z Y LiFull Text:PDF
GTID:2191360185956300Subject:Mechanical and electrical engineering
Abstract/Summary:PDF Full Text Request
Open numerical control (ONC) system is the necessary trend of the numerical control technique's development nowadays. This paper emphasizes on the research and software development for lathe NC system based on Windows2000.Using the architecture of industrial computer combined with motion controller, the system software is divided into two parts named upper control software and motion controller's driver. The paper researches and discusses on follow aspects, considering with the key techniques and main problems in the implementation of the lathe system.After analyzing in the characteristics of the lathe machining and some typical systems, the paper proposes a kind of software architecture and function module dividing method which are suitable for the lathe system,and also presents some researches on the data flow and control process of it.A kind of compile course and storage structure for the NC program is presented. The compiling is divided into five parts: lexical analysis, syntax analysis, data picking, call processing and loop processing in order to implement the complicated machining function. The diversity problem of the NC code is solved by a flexible data structure which is used in storing the machining information. A mass of complex calculation is placed in the preprocess step.This paper builds the 3 dimension model of the workpiece by a way of triangular dispersing and supplies with a simple data structure used to store the geometrical information. The trace of the tool is generated by the method of point comparison. The refreshing of the workpiece's information is separated from the display of the graphic. The 3D graphic simulation of the turning course is implemented using the techniques of OpenGL and Windows timer while scanning the trace information.The paper also includes some studies on the characteristics of MCX312 in detail which is the core control part of the motion controller and designs the layered model for its driver. After analyzing the architecture and I/O processing mechanism of the Windows2000 OS, it refers to some topics about developing of the kernel mode driving part for the motion controller and implementing of driving functions in...
Keywords/Search Tags:ONC, OpenGL, MCX312, Driver, IRP
PDF Full Text Request
Related items