Feature-Based Machining using Macro
Commenced in January 2007
Frequency: Monthly
Edition: International
Paper Count: 32870
Feature-Based Machining using Macro

Authors: M. Razak, A. Jusoh, A. Zakaria


This paper presents an on-going research work on the implementation of feature-based machining via macro programming. Repetitive machining features such as holes, slots, pockets etc can readily be encapsulated in macros. Each macro consists of methods on how to machine the shape as defined by the feature. The macro programming technique comprises of a main program and subprograms. The main program allows user to select several subprograms that contain features and define their important parameters. With macros, complex machining routines can be implemented easily and no post processor is required. A case study on machining of a part that comprised of planar face, hole and pocket features using the macro programming technique was carried out. It is envisaged that the macro programming technique can be extended to other feature-based machining fields such as the newly developed STEP-NC domain.

Keywords: Feature-based machining, CNC, Macro, STEP-NC.

Digital Object Identifier (DOI): doi.org/10.5281/zenodo.1079850

Procedia APA BibTeX Chicago EndNote Harvard JSON MLA RIS XML ISO 690 PDF Downloads 2653


[1] Peter Smid, CNC Programming Handbook: A Comprehensive Guide to Practical CNC Programming, Industrial Press, 2003.
[2] Bor-Tyng Sheen and Chun-Fong You, "Machining feature recognition and tool-path generation for 3-axis CNC milling," Computer-Aided Design, vol. 38, pp. 553-562, 2006.
[3] X.W. Xu and S.T. Newman, "Making CNC machine tools more open, interoperable and intelligent-a review of the technologies," Computers in Industry, vol. 57, pp.141-152, 2006.
[4] Muhammad Al-Hapis Abdul Razak and A. Zakaria, "Review on the evolutions of CNC programming methods," 2nd Colloquium on Manufacturing Technology, Kedah, 2010.
[5] Peter Smid, FANUC CNC Custom Macros Programming Resources for Fanuc Custom Macro B Users, Industrial Press, 2005.
[6] Fanuc series 30i/300i/300is-Model A, User-s Manual, Common to Lathe System/Machining Center System, Vol. 1-3.
[7] M. Al-Hapis A. Razak and A. Zakaria, "A framework for a feature based machining using macro," Applied Mechanics and Materials, vols. 110- 116, pp. 1711-1715, 2012.
[8] ISO/FDIS 14649-11: 2002, Data Model for Computer Numerical Controllers-Part 11: Process Data for Milling, ISO/TC 184/SC 1/WG7, 2002.
[9] ISO/FDIS 14649-10: 2002, Data Model for Computer Numerical Controllers-Part 10: General Process Data, ISO/TC 184/SC1/WG7, 2002