Home › G-codes › Brother Speedio › G66
G66 Modal macro call
Brother Speedio G-code · Mill
Calls the macro after every move until G67.
Verify on your machine. This entry could not be fully checked against the maker manual. Check your machine manual before you run it.
Format
G66 P L arguments
Addresses
| Address | What it does |
|---|---|
P | Macro program number |
L | Repeat count |
How it works
Modal. Cancel with G67.
Example program
G66 P9010 Z-.3 R.1 (MACRO AT EACH POINT)
X1. Y1. (POINT 1)
X2. (POINT 2)
G67 (CANCEL)
X1. Y1. (POINT 1)
X2. (POINT 2)
G67 (CANCEL)
Example is in inch. Check offsets and clearances first.
Watch out for
- Always cancel with G67 before moves that should not run the macro.
Related codes
G66 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Fanuc | Modal macro call |
| Mazak (EIA) | Macro modal call |
| Mitsubishi M70 M80 | Modal macro call A |
| Fagor 8055 8065 | Irregular pocket canned cycle |
| Mach3 Mach4 | Modal macro call, Mach4 |
| Hurco WinMax (NC) | Modal macro call |
| Fadal | Modal subroutine call |
Every G-code for Brother Speedio 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 G66 in the app All Brother Speedio G-codes