CNC Machinist Calculator Ultra

Home › G-codes › Fagor 8055 8065 › G66

G66 Irregular pocket canned cycle / Pattern repeat cycle (lathe)

Fagor 8055 8065 G-code · Mill, Lathe

On mills: Irregular pocket canned cycle

Runs a pocket with islands from profile blocks. Points by label to the drilling, roughing G67, finishing G68 and profile blocks.

Format

G66 [D] [R] [I] [F] S E

Addresses

AddressWhat it does
DLabel of the drilling block
RLabel of the roughing block, G67
ILabel of the semi finishing block
FLabel of the finishing block, G68
S EFirst and last block labels of the profile

How it works

Not modal.

Example program

G0 G17 G43 G90 X0 Y0 Z1.0 S800 (START)
G66 D100 R200 F300 S400 E500 (POCKET WITH ISLANDS)
M30 (END)
N100 G81 Z0.2 I-1.5 T3 D3 M06 (DRILL ENTRY HOLE)
…

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

Watch out for

On lathes: Pattern repeat cycle (lathe)

Roughs a part by repeating the profile shape with offsets, good for castings and forgings. The profile is given by block labels S to E.

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 X Z I C [A] [L] [M] [H] S E

Addresses

AddressWhat it does
X ZStart point of the profile
IExcess stock to remove
CDepth per pass
AMain axis
L MFinish stock on X and Z
HFinishing feed
S EFirst and last block of the profile

How it works

Not modal.

Example program

T1 D1 (ROUGHING TOOL)
G95 G96 S400 M03 (CSS)
G66 X0.5 Z0 I0.2 C0.04 L0.01 M0.005 H0.004 S100 E200 (PATTERN REPEAT)
M30 (END)
…

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

Watch out for

Related codes

G87 · G88 · G68 · G69

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
Mach3 Mach4Modal macro call, Mach4
Hurco WinMax (NC)Modal macro call
FadalModal subroutine call

Every G-code for Fagor 8055 8065 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 Fagor 8055 8065 G-codes

App Store Google Play