Shorten your G-Code using a WHILE loop! | CNC Macro Programming tutorial

April 21, 2021 2:21 pm


@G-Code Tutordemonstrates how to remove a large amount of material writing only 9 lines of G-code.

As we saw in other videos in this series of CNC programming tutorials, Macro B variables are a great way to simplify your G-code programs and make them easier to read and modify. In this video, Marc Cronin shows how to write a Macro program using a WHILE loop.

To learn more about G-code and CNC macro programming, visit

Stay tuned for more machining videos!

Recommended Videos

Leave a Reply