Drilling with a right-angle head in a machining center spindle can be tricky – doubly so if the hole must be peck-drilled. A custom macro and careful attention to positioning help ensure smooth production.
CNC operators can program user-defined G and M codes to call custom macros and improve upon or replace existing codes, which can in turn improve production.
An effective CNC program respects considerations such as ease of use and program-to-program consistency that go beyond just driving the machine in a particular application.
While G65 does not enable users to simply and easily carry out Custom Macros in multiple locations, G66 and G66.1 provide modal solutions for doing so.