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
Addresses
| Address | What it does |
|---|---|
D | Label of the drilling block |
R | Label of the roughing block, G67 |
I | Label of the semi finishing block |
F | Label of the finishing block, G68 |
S E | First and last block labels of the profile |
How it works
Not modal.
Example program
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
- Each operation block carries its own tool T D and M06.
- Contour blocks start with G00 to each new profile.
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
Addresses
| Address | What it does |
|---|---|
X Z | Start point of the profile |
I | Excess stock to remove |
C | Depth per pass |
A | Main axis |
L M | Finish stock on X and Z |
H | Finishing feed |
S E | First and last block of the profile |
How it works
Not modal.
Example program
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
- Wastes air cuts on bar stock. Use G68 or G69 for bar.
- On Fagor mills G66 is the irregular pocket cycle.
Related codes
G66 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Fanuc | Modal macro call |
| Mazak (EIA) | Macro modal call |
| Mitsubishi M70 M80 | Modal macro call A |
| Brother Speedio | Modal macro call |
| Mach3 Mach4 | Modal macro call, Mach4 |
| Hurco WinMax (NC) | Modal macro call |
| Fadal | Modal 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