|
Since one mill-turn machine is equipped with 2 functions, lathe and milling machines, products in need of complex processes can be manufactured on one machine only. The time spent on machine replacement and human mistakes can both be reduced. Therefore, mill-turn machines are adopted widely in current industries. Moreover, it is an important topic to develop the numerical control program of CNC mill-turn machine efficiently. To develop the numerical control program of CNC mill-turn machine, the traditional method is to apply the computer-aided design and manufacture software to construct the geometric model, then to generate tool path and transfer the path to NC program, and finally to make performance on an actual machine tool. For complex numerical control program of CNC mill-turn machine, such as the multiple turret synchronized motion machining, because of the need to control time sequence, the professional program of CNC mill-turn machine is highly required to develop the program with accurate machining time sequence. The objective of this research is to establish one mill-turn machining program with window interface of via the language of Borland C++ Builder. The program can plan the machining path of simple mill-turn features, including turning shape, axial slot milling, and radial packet milling, and generate the corresponding NC program. On the basis of the interface established in this research, for milling machine functions, after the offset coordinates are calculated along the polygonal angle vector in the center point of cutters, the NC program is translated. For the lathe functions, through importing the 2D Dxf file and inputting related configurations, the machining characteristic coordinates can be retrieved and the corresponding NC program can be performed. By means of the physical simulation cutting and turning software, and practical cutting and turning verification for the numerical control program generated in this research, the accuracy of the path algorithm can be proved. Hence, the cost of purchasing commercial software can be saved, the time of generating program can be decreased, and the work efficiency can be enhanced.
|