CNC Machinist Calculator Ultra

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

AddressWhat it does
PMacro program number
LRepeat count
A to ZArguments 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)

Example is in inch. Check offsets and clearances first.

Watch out for

Related codes

G66 · M98

G65 on other controls

The same number can mean something different on another control.

ControlMeaning
FanucMacro call
Haas NGCMacro subprogram call
Mazak (EIA)Macro call, single
Okuma OSPDroop control on
Brother SpeedioMacro call
Mach3 Mach4Macro call, Mach4
Centroid CNC12 AcornMacro 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

App Store Google Play