Novel Integration of CAPP in a G-Code Generation Module Using Macro Programming for CNC Application

In the modern manufacturing industry, the role of computer-aided process planning (CAPP) is becoming increasingly crucial. Through the application of new technologies, experience, and intelligence, CAPP is contributing to the automation of manufacturing processes. In this article, the integration of...

Full description

Bibliographic Details
Main Authors: Trung Kien Nguyen, Lan Xuan Phung, Ngoc-Tam Bui
Format: Article
Language:English
Published: MDPI AG 2020-10-01
Series:Machines
Subjects:
Online Access:https://www.mdpi.com/2075-1702/8/4/61
id doaj-f3bdb38cbe7247e8837bb2013f3cba74
record_format Article
spelling doaj-f3bdb38cbe7247e8837bb2013f3cba742020-11-25T03:44:37ZengMDPI AGMachines2075-17022020-10-018616110.3390/machines8040061Novel Integration of CAPP in a G-Code Generation Module Using Macro Programming for CNC ApplicationTrung Kien Nguyen0Lan Xuan Phung1Ngoc-Tam Bui2School of Mechanical Engineering, Hanoi University of Science and Technology, No.1 DaiCoViet Rd, Hanoi 10000, VietnamSchool of Mechanical Engineering, Hanoi University of Science and Technology, No.1 DaiCoViet Rd, Hanoi 10000, VietnamSchool of Mechanical Engineering, Hanoi University of Science and Technology, No.1 DaiCoViet Rd, Hanoi 10000, VietnamIn the modern manufacturing industry, the role of computer-aided process planning (CAPP) is becoming increasingly crucial. Through the application of new technologies, experience, and intelligence, CAPP is contributing to the automation of manufacturing processes. In this article, the integration of a proposed CAPP system that is named as BKCAPP and G-code generation module provides a completed CAD–CAPP–CNC system that does not involve any manual processing in the CAM modules. The BKCAPP system is capable of automatically performing machining feature and operation recognition processes from design features in three-dimensional (3D) solid models, incorporating technical requirements such as the surface roughness, geometric dimensions, and tolerance in order to provide process planning for machining processes, including information on the machine tools, cutting tools, machining conditions, and operation sequences. G-code programs based on macro programming are automatically generated by the G-code generation module on the basis of the basic information for the machining features, such as the contour shape, basic dimensions, and cutting information obtained from BKCAPP. The G-code generation module can be applied to standard machining features, such as faces, pockets, bosses, slots, holes, and contours. This novel integration approach produces a practical CAPP method enabling end users to generate operation consequences and G-code files and to customize specific cutting tools and machine tool data. In this paper, a machining part consisting of basic machining features was used in order to describe the method and verify its implementation.https://www.mdpi.com/2075-1702/8/4/61CAPPG-code generationmacro programmingmachining featureCNC machining
collection DOAJ
language English
format Article
sources DOAJ
author Trung Kien Nguyen
Lan Xuan Phung
Ngoc-Tam Bui
spellingShingle Trung Kien Nguyen
Lan Xuan Phung
Ngoc-Tam Bui
Novel Integration of CAPP in a G-Code Generation Module Using Macro Programming for CNC Application
Machines
CAPP
G-code generation
macro programming
machining feature
CNC machining
author_facet Trung Kien Nguyen
Lan Xuan Phung
Ngoc-Tam Bui
author_sort Trung Kien Nguyen
title Novel Integration of CAPP in a G-Code Generation Module Using Macro Programming for CNC Application
title_short Novel Integration of CAPP in a G-Code Generation Module Using Macro Programming for CNC Application
title_full Novel Integration of CAPP in a G-Code Generation Module Using Macro Programming for CNC Application
title_fullStr Novel Integration of CAPP in a G-Code Generation Module Using Macro Programming for CNC Application
title_full_unstemmed Novel Integration of CAPP in a G-Code Generation Module Using Macro Programming for CNC Application
title_sort novel integration of capp in a g-code generation module using macro programming for cnc application
publisher MDPI AG
series Machines
issn 2075-1702
publishDate 2020-10-01
description In the modern manufacturing industry, the role of computer-aided process planning (CAPP) is becoming increasingly crucial. Through the application of new technologies, experience, and intelligence, CAPP is contributing to the automation of manufacturing processes. In this article, the integration of a proposed CAPP system that is named as BKCAPP and G-code generation module provides a completed CAD–CAPP–CNC system that does not involve any manual processing in the CAM modules. The BKCAPP system is capable of automatically performing machining feature and operation recognition processes from design features in three-dimensional (3D) solid models, incorporating technical requirements such as the surface roughness, geometric dimensions, and tolerance in order to provide process planning for machining processes, including information on the machine tools, cutting tools, machining conditions, and operation sequences. G-code programs based on macro programming are automatically generated by the G-code generation module on the basis of the basic information for the machining features, such as the contour shape, basic dimensions, and cutting information obtained from BKCAPP. The G-code generation module can be applied to standard machining features, such as faces, pockets, bosses, slots, holes, and contours. This novel integration approach produces a practical CAPP method enabling end users to generate operation consequences and G-code files and to customize specific cutting tools and machine tool data. In this paper, a machining part consisting of basic machining features was used in order to describe the method and verify its implementation.
topic CAPP
G-code generation
macro programming
machining feature
CNC machining
url https://www.mdpi.com/2075-1702/8/4/61
work_keys_str_mv AT trungkiennguyen novelintegrationofcappinagcodegenerationmoduleusingmacroprogrammingforcncapplication
AT lanxuanphung novelintegrationofcappinagcodegenerationmoduleusingmacroprogrammingforcncapplication
AT ngoctambui novelintegrationofcappinagcodegenerationmoduleusingmacroprogrammingforcncapplication
_version_ 1724513701974769664