本研究使用熱熔融層積製造(Fused deposition modeling, FDM)的設計概念來加工,並結合三軸CNC (Computer Numerical Control)工具機,成為一體式的混合式製程裝置。本研究依據現有擠出機構,製作出整合機台專用治具,將3D列印噴頭裝在CNC工具機上。為了機台可以順利進行3D列印,開發一款NC¬-Code的分類程式,透過抓取字首含有英文字母G的字進行分類。由於使用兩種不同控制器,分別為FANUC Series 0i-MF Plus控制器與Prusa i3 mk3s 3D列印機專用RAMBo板,需要對兩方進行監控,開發了一套整合式機台專用人機介面,當中人機介面與控制器溝通,主要透過TCP/IP通訊協定與USB通訊協定進行通訊,並且以Visual C#開發,透過FANUC FOCAS2所提供的動態函式庫(DLL)與FANUC控制器進行連線,另一方面則使用到Serial Port與RAMBo板進行連線,將機台資訊回傳人機介面上。開發功能包含讀取機台座標、溫度控制、傳送NC代碼等,最後再進行監控與進行列印,進而改善現有CNC加工方式,實現整合式設計之優勢,結果顯示,本整合機列印出完成品與市面上機台比較,表面粗糙度相差2.5%,而公差在0.5%。
The purpose of this project is to systematically carry out the integrated design of the metal 3D printing mechanisms and CNC machine centers. This work applied the Prusa i3 as the original 3D printer and VMC30 CNC machine center to do the integrated design. The integrated part will be BT30 tool holder that can combine the 3D printer nozzles as CNC tools. The Human Machine Interface(HMI) for the integrated design of the metal 3D printing mechanisms and CNC machine centers was carried out. Based on the PrusSlicer software and Mastercam software, the G codes of 3D printing and the NC codes were combined. A NC-Code sorting program was developed. In order to communicate with FANUC Series 0i-MF Plus controller and Prusa i3 mk3s 3D printer RAMBo board, an integrated HMI was developed through TCP/IP protocol and USB protocol by visual C#. The functions include reading machine coordinates, temperature control, transmitting NC codes, monitoring and printing. Results, shows that the surface roughness of the integrated design is 2.5% compared with the prusa i3 mk3s, and the tolerance is 0.5%.