Home › G-codes › Mach3 Mach4 › G67
G67 Modal macro cancel, Mach4
Mach3 Mach4 G-code · Mill
Mach4. Cancels a G66 modal macro call.
Format
G67
Addresses
| Address | What it does |
|---|---|
G67 | No address words |
How it works
Modal.
Example program
G0 G20 G90 G54 G17 G40 G49 G80 (SAFE START, INCH)
G66 P9100 Z-0.25 R0.5 (MODAL MACRO)
X1.0 Y1.0 (RUN MACRO)
G67 (CANCEL MODAL MACRO)
…
G66 P9100 Z-0.25 R0.5 (MODAL MACRO)
X1.0 Y1.0 (RUN MACRO)
G67 (CANCEL MODAL MACRO)
…
The full 5-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- Put G67 right after the last point. Mach4 runs the macro on any block with new values until then.
Related codes
G67 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Fanuc | Modal macro call cancel |
| Mazak (EIA) | Macro modal call cancel |
| Mitsubishi M70 M80 | Modal macro call cancel |
| Brother Speedio | Modal macro call cancel |
| Hurco WinMax (NC) | Modal macro call cancel |
| Fadal | Modal subroutine call cancel |
Every G-code for Mach3 Mach4 in your pocket. The app has the full example programs, search by number or shop word, a line decoder and calculators for tapping, threading and drilling.
Open G67 in the app All Mach3 Mach4 G-codes