Home › G-codes › Brother Speedio › G65
G65 Macro call
Brother Speedio G-code · Mill
Calls a macro program once and passes arguments as letters.
Format
G65 P L A B C
Addresses
| Address | What it does |
|---|---|
P | Macro program number |
L | Repeat count |
A B C | Arguments passed to the macro |
How it works
Non-modal.
Example program
G65 P9001 A1. B.5 (CALL MACRO WITH ARGUMENTS)
G00 Z1. (RETRACT)
M30 (END)
G00 Z1. (RETRACT)
M30 (END)
Example is in inch. Check offsets and clearances first.
Watch out for
- Argument letters map to local variables, such as A to number 1.
- Custom macro may be an option on the control.
Related codes
G65 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Fanuc | Macro call |
| Haas NGC | Macro subprogram call |
| Mazak (EIA) | Macro call, single |
| Okuma OSP | Droop control on |
| Mitsubishi M70 M80 | Macro call |
| Mach3 Mach4 | Macro call, Mach4 |
| Centroid CNC12 Acorn | Macro call with arguments |
| Hurco WinMax (NC) | Macro call with arguments |
| Swiss (Citizen Star) | Macro 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 G65 in the app All Brother Speedio G-codes