近年來各控制器大廠,紛紛投入開發控制器的附加功能,以提升工具機附加價值及提高市場競爭力與產品差異性,本研究主要以國產PC-Based控制器為基礎,進而開發出教導式銑削加工系統與線上影像量測系統。一般市面上CAM 軟體,其功能已相當完整,若購買市面上的CAM 軟體其成本較高,並且功能設定複雜較不符合經濟效益。因此本研究以國產的PC-Based控制器為基礎搭配三軸CNC工具機建構一套教導式銑削加工系統,本系統開發核心為2.5D之加工設計,包含面銑削、筍狀銑削、袋狀銑削、外緣銑削、鑽孔以及矩陣式特徵排列等特徵並利用Borland C++Builder開發使用者介面,目的在於讓從未接觸NC程式撰寫的使用者,透過本系統能有效的設定相關參數,並產生一組最合適的銑削加工路徑,如此可減少NC程式編輯的時間與降低人為撰寫上的疏失。 線上影像量測系統是利用三軸CNC工具機進行工件的特徵尺寸量測,本系統開發核心為鏡頭校正功能、自動對焦程序、像素校正功能以及特徵量測功能,並透過其人機介面指令傳送功能,進而作自動化量測。於使用者介面開發上將線上影像量測之操作流程以功能按鈕之方式建立,使用者僅需依序操作即可完成特徵尺寸量測。特徵量測功能是針對本研究所開發之教導式銑削加工系統中的方形特徵(方形外緣、方形袋狀、方形筍狀)以及圓形特徵量測(圓形外緣、圓形袋狀、圓形筍狀),並將教導式銑削加工系統中所設定之特徵參數匯入其線上影像量測系統,以進行自動化量測之目的,因此使用者不需重新設定各項參數,將可簡省設定參數時間。
In recent years, various controller manufacturers are devoted to developing additional functions of controllers to increase the added value for machine tools and improve market competitiveness and product differentiation. This thesis is mainly based on a PC-based controller to develop a tutorial form milling system and an on-line image inspection system. The functions of CAM software is fairly complete in the market. However, the CAM software has high cost and complex setting of the functions, and it is not economic. Therefore, this study used a three axis CNC machine tool to construct a tutorial form milling system. The kernel of the system was to develop the 2.5D machining design, which contained the face milling, bamboo-like milling, bag-type milling, exterior milling, drilling, and matrix characteristic arrangement, etc. The user interface was designed by employing the Borland C ++ Builder. One can effectively set the relevant parameters to produce a set of the most suitable machining path through this tutorial form milling system. Thus, the editing time of the NC program can be reduced and the failure of the program can be avoided. The on-line image inspection system adopted a three-axis CNC machine tool to measure characteristics, and the kernel was to develop the calibration functions of the lens and pixel, auto-focus program, and measuring functions of the characteristics. The automatic measurements can be achieved by sending the commands from a human machine interface. The operation processes of the human machine interface were designed by the function buttons. Users can complete the characteristic measurements according to the operations in sequence. The measuring functions of the characteristics included the square (square exterior milling, square bag-type milling, and square bamboo-like milling) and the circular (circular exterior milling, circular bag-type milling, and circular bamboo-like milling) characteristic measurements. The integrated development system used the characteristic parameters of the tutorial form milling system to export to the on-line image inspection system for the automatic measurements. Users do not need to reset the parameters, therefore the time for setting the parameters can be reduced.