CNC Machinist Calculator Ultra

Home › G-codes › Fadal › G66

G66 Modal subroutine call

Fadal G-code · Mill

Calls a subroutine after every following move until G67. Used to repeat the same feature at many positions.

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

How it works

Modal until G67.

Example program

N1 G0 G40 G49 G80 G90 G17 (FORMAT 2 SAFE START)
N2 T2 M6 (1-4 DRILL)
N3 G0 G90 G54 X1. Y1. S2500 M3
N4 G43 H2 Z.1 M8
…

The full 9-line example is in the app. Example is in inch. Check offsets and clearances first.

Watch out for

Related codes

G67 · M98

G66 on other controls

The same number can mean something different on another control.

ControlMeaning
FanucModal macro call
Mazak (EIA)Macro modal call
Mitsubishi M70 M80Modal macro call A
Brother SpeedioModal macro call
Fagor 8055 8065Irregular pocket canned cycle
Mach3 Mach4Modal macro call, Mach4
Hurco WinMax (NC)Modal macro call

Every G-code for Fadal 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 Fadal G-codes

App Store Google Play