Home › G-codes › Fagor 8055 8065 › G81
G81 Drilling canned cycle / Turning cycle, straight sections (lathe)
Fagor 8055 8065 G-code · Mill, Lathe
On mills: Drilling canned cycle
Rapid to the reference plane Z, feed to depth I, optional dwell K, rapid out. On Fagor Z is the reference plane and I is the depth.
Format
Addresses
| Address | What it does |
|---|---|
G98 or G99 | Return to initial plane or reference plane |
X Y | Hole position |
Z | Reference plane, absolute or incremental from the initial plane |
I | Depth, absolute or incremental from the reference plane |
K | Dwell at bottom in hundredths of a second |
How it works
Modal canned cycle. Cancel with G80.
Example program
G00 G90 G70 X1.0 Y1.0 Z1.0 S2500 M03 (ABOVE FIRST HOLE)
G81 G99 Z0.1 I-0.6 F10.0 (DRILL TO Z-0.6, R PLANE Z0.1)
X2.0 (SECOND HOLE)
…
The full 7-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- Fagor Z is the R plane and I is the hole bottom. This is the reverse of Fanuc Z and R.
- In G91, Z is from the initial plane and I is from the reference plane.
- Starts the spindle CW if it is stopped.
On lathes: Turning cycle, straight sections (lathe)
Rough turns a straight or tapered section from point X Z to point Q R, with depth per pass C and optional finishing.
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 corner of the section |
Q R | End corner of the section, X and Z |
C | Depth per pass |
D | Safety distance |
L M | Finish stock on X and Z |
H | Finishing feed |
How it works
Not modal.
Example program
G95 G96 S400 M03 (CSS)
G81 X1.5 Z0 Q1.0 R-1.0 C0.05 D0.04 L0.01 M0.005 F0.01 H0.004 (TURN 1.5 TO 1.0 DIA, 1 LONG)
G00 X3.0 Z1.0 (CLEAR)
Example is in inch. Check offsets and clearances first.
Watch out for
- X and Q are diameters when the lathe works in diameter.
- On Fagor mills G81 is drilling. Do not mix up mill and lathe codes.
Related codes
G80 · G82 · G83 · G98 · G99 · G84
G81 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Fanuc | Drilling cycle |
| Haas NGC | Drill canned cycle |
| Mazak (EIA) | Drilling cycle, spot drill |
| Okuma OSP | Drill or spot cycle |
| Mitsubishi M70 M80 | Drilling cycle |
| Brother Speedio | Drilling cycle |
| LinuxCNC Tormach | Drill cycle |
| Mach3 Mach4 | Drill cycle |
| Centroid CNC12 Acorn | Drilling cycle |
| Hurco WinMax (NC) | Drill or spot drill cycle |
| Fadal | Drill, spot drill |
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 G81 in the app All Fagor 8055 8065 G-codes