If you deal with CNC machines, cutter movement must come to mind. Yet G-Code can also do math and logic. This article introduces a few of these commands and then explains a program that drills an array of holes.
If you are interested, please see
https://rick.sparber.org/GcodeLogic.pdf
Your comments are welcome. All of us are smarter than any one of us.
Thanks,
Rick
Bookmarks