|
Open CNC numerical control technology is a hot research field , with friendly interface , high degree of openness , versatility is good. This paper focuses on PC motion control board structure open CNC system is studied , using Visual C programming language to build a system based on GM-400 motion control card open CNC milling machine , and the successful application of this CNC system in a modified car with a lathe milling machine . Paper first discusses open CNC system production, the development process , as compared with the traditional advantages of CNC system , development status and the typical structure . Describes the typical milling processing methods were elaborated axial milling , milling and general Orthogonal milling movement characteristics . Introduced milling CNC system hardware architecture and man-machine interface in accordance with the function of each module of the car milling CNC system software design program was elaborated . Secondly, the numerical control system to achieve real-time methods for in-depth research , the paper by means of a precise timing of the test procedure , a detailed comparative analysis of the SetTimer (), GetTickCount () and timeGettime () three timer functions precise timing error value and error volatility , and according to results of the analysis , a kind of regular time function error correction method . Again, for the GM-400 motion control card does not have the interpolation function deficiencies , designed and implemented extended DDA linear and circular interpolation function, according to the layout axis milling machine and machining feed of the actual situation , the preparation of a linear and circular interpolation procedures, the completion of linear and circular interpolation function development . Finally, in the simulation platform successfully tested the control system, on this basis , by connecting a station by a lathe milling transformed into a car , build a more complete NC milling machines, machining tests carried out successfully , come to meet the requirements of the workpiece shape , prove the feasibility of the CNC system .
|