CNC Machinist Calculator Ultra

Home › G-codes › Mitsubishi M70 M80 › G66

G66 Modal macro call A

Mitsubishi M70 M80 G-code · Mill

Calls the macro after every move block until canceled. Used for drilling a macro at many positions.

Format

G66 P [L] arguments

Addresses

AddressWhat it does
PMacro program number
A to ZArguments

How it works

Modal, group 14. Cancel with G67.

Example program

G66 P9200 Z-.5 R.1 F10. (MODAL MACRO ON)
X1. Y1. (HOLE 1)
X2. Y1. (HOLE 2)
G67 (CANCEL)

Example is in inch. Check offsets and clearances first.

Watch out for

Related codes

G67 · G65

G66 on other controls

The same number can mean something different on another control.

ControlMeaning
FanucModal macro call
Mazak (EIA)Macro modal call
Brother SpeedioModal macro call
Fagor 8055 8065Irregular pocket canned cycle
Mach3 Mach4Modal macro call, Mach4
Hurco WinMax (NC)Modal macro call
FadalModal subroutine 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 G66 in the app All Mitsubishi M70 M80 G-codes

App Store Google Play