Home › G-codes › Mitsubishi M70 M80 › G65
G65 Macro call
Mitsubishi M70 M80 G-code · Mill
Calls a macro program one time and passes arguments as local variables.
Format
G65 P [L] arguments
Addresses
| Address | What it does |
|---|---|
P | Macro program number |
L | Repeat count |
A to Z | Arguments passed as local variables |
How it works
Non-modal, group 00.
Example program
G65 P9100 X2. Y1. R.5 Z-.25 (BOLT CIRCLE MACRO)
G00 Z1. (CLEAR)
M30 (END)
G00 Z1. (CLEAR)
M30 (END)
Example is in inch. Check offsets and clearances first.
Watch out for
- Letters G, L, N, O and P cannot be used as arguments.
- Use G65 when you need arguments. M98 passes none.
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 |
| Brother Speedio | 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 Mitsubishi M70 M80 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 Mitsubishi M70 M80 G-codes