- 回首頁
- 機械工業雜誌
聯網切削模擬技術與應用
作者
高永洲
刊登日期:2016/11/01
摘要:電腦數值控制(CNC)工具機使用的數值控制(numerical control, NC)程式通常是藉由使用CAD/CAM軟體或由技術熟練人員產生,而該NC程式之正確性驗證則是安全切削的重要一環。就目前之技術現況而言,大多數CAD/CAM軟體均能具備驗證其刀具路徑以及衍生之NC程式之切削正確性,然而,當NC程式上傳到CNC工具機之控制器之後,若因故更改了NC程式,使用CAD/CAM軟體或商用NC程式驗證軟體(例如Vericut)驗證變動過之NC程式的正確性,其流程將變得不順暢,因此,直接驗證即將被使用於實際加工之CNC控制器裡面的NC程式,變成逐漸被重視的實務需求。
隨著資通訊(information and communication technology, ICT)技術環境以及CNC控制器之聯網功能的普及,直接與CNC控制器透過網路連通不再是遙不可及。例如FANUC控制器可以透過FOCAS 2聯網、海得漢控制器可以透過其RemoTools SDK聯網、三菱控制器可以透過其CNC Communication聯網而研華寶元控制器可以透過其ReconLib聯網,因此,本文聚焦於探討整合聯網技術以及切削模擬技術之可行性,並實作聯網NC程式切削模擬技術,期能進一步瞭解此整合技術應用之實務可行性。
Abstract: The Numerical Control (NC) program used in a Computer Numerical Control Machine Tools is generally generated by off-the-shelf CAD/CAM software or created by a CNC operator manually. The correctness check of the NC code is a guarantee of machining accuracy. Most CAD/CAM software has been facilitated with the capability to check the correctness of its own generated NC code. However, if changes need to be conducted after the NC code has been uploaded to the CNC controller, verification of the revised NC code by the original CAD/CAM software is not convenient. Therefore, verification of the NC code in the CNC controller has been paid more attention practically.
The rise of Information and Communication Technology (ICT) makes the CNC controller no longer out of reach. For example, FANUC CNC can be networked through FOCAS 2 SDK, Heidenhain Programming Station can be connected based on RemoTools SDK, Mitsubishi CNC can communicate through CNC Communication Application Programming Interface, and A-LNC CNC is connected by ReconLib. In order to better understand the practicality of this technology, this article discusses the feasibility of cutting simulation and network implementation of cutting NC programs.
關鍵詞:切削模擬、工具機、聯網
Keywords:Cutting Simulation, Machine Tools, Networked
Introduction
With more and more focus on enhancing machine tools towards Industry 4.0 and/or intelligent machinery, precision and worry free machining has become one of the major issues in industrial machining application practices. This has resulted in the increasing demands on tackling workpiece complexity and toolpath verification via value-adding applications and high-level machine tool capabilities. Furthermore, with the facts that Taiwan has been one of the major Machine Tool exporters consecutively in these years, how to keep pace with the world machine tool advanced application and maintain a world-wide prosperous CNC machine tool industry is very important. However, traditional CNC machine tool has long learning curve and toolpath verification with 3D solid cutting simulation functions are not necessarily supported by either the machine tool builder (MTB) or its computer numerical control (CNC) controller maker partners. This has resulted in long demands of a toolpath verification system such as the VericutTM software system [1]. For example, VericutTM has been welcomed and adopted successfully by the CNC machine tool users for verifying toolpath in the format of either cutter location file or NC code program. The reasons were aiming for “Right the first time” and/or “Quick first part” based on “CNC Simulation”. The popularity of toolpath verification software has therefore greatly encouraged toolpath simulation and verification system research and development resulted from its expensive cost and the pursuit of increasing global Machine Tool competitiveness.
In general, a tool path and/or NC code program should be prepared before the machining process is to be executed. A CAD/CAM software is usually used beforehand in creating the tool path and then solid cutting simulation was used to verify its correctness. A typical NC program generation process is shown in Figure 1(a) where a CAD/CAM software is used to create toolpath and the toolpath could be saved as a cutter location file (CLF or CLFile). The user of the CAD/CAM software needs to decide the cutting strategy (roughing, finishing, …), cutter types (flat-end, ball-end, fillet-end, number of flutes, helical angle, …), cutting parameters (depth of cut, feed rate, spindle speed), program zero, and machine tool configurations (milling, turning, …). A post-process is then conducted to convert the toolpath “CLFile” into the related NC program. Currently, most of the CAD/CAM software system supports various machine tool configurations such as turning machine, three-axis machine centre, five-axis machine centre, and/or turn-mill machine, etc. In practice, the post-processing module is optional and is not a standard module of a CAD/CAM software. Examples of cutting simulation are shown in Figure 1(b) and Figure 1(c) where there only cutter and workpiece are shown. More comprehensive simulation are shown in Figure 2(a) and Figure 2(b). Figure 2(a) shows a snapshot of VericutTM software in action while Figure 2(b) illustrates a snapshot of ModuleworksTM application. VericutTM is a full module toolpath simulation software system while ModuleworksTM provides CAM SDK (software development kit) for third party add-on developments. However, a gap exists between a complete CLFile and/or NC program simulations. For example, cutter dimension, workpiece size, program origin, and machine tool configuration, to name only a few, are not included in NC program. In addition, NC program is not 100% international standard, for example, special M codes might be used by various machine tool builders. Both CLFile and NC program contain majorly the relative movement between cutter and the workpiece, but CLFile describes the relative position in workpiece coordinate system while NC program describes the relative position in machine coordinate system. The conversion from a CLFile to an NC program is called postprocessing, as shown in Figure 1(a). Both backward and forward postprocessing are needed in successful cutting simulation when a multi-axis NC program is used for cutting simulation. Homogeneous matrix transformation derived with from analytics or digital solution could be used for this purpose.
更完整的內容歡迎訂購
2016年11月號
(單篇費用:參考材化所定價)
主推方案
無限下載/年 5000元
NT$5,000元
訂閱送出