Home › G-codes › Okuma OSP › G84
G84 Tapping cycle / Change of LAP rough cutting conditions
Okuma OSP G-code · Mill, Lathe
On mills: Tapping cycle
Feeds a right hand tap to depth, reverses the spindle and feeds out.
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 Y | Hole position |
Z | Thread depth |
R | R point |
F | Feed, spindle speed times pitch |
How it works
Modal, fixed cycle group. Cancel with G80.
Example program
N1 G15 H1 (WORK COORDINATE SYSTEM 1)
N2 T6 M06 (.500-13 TAP)
N3 G00 G90 X1. Y1. S400 M03 (FIRST HOLE)
…
The full 8-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- Feed must equal RPM times pitch in G94.
- Synchronized tapping needs its own M code or G code on Okuma. Check the manual for your machine.
- Set R high enough for the tap to reach full speed.
On lathes: Change of LAP rough cutting conditions
Changes depth of cut and feed partway through a G85 bar turning cycle, for example lighter cuts near a thin wall.
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 |
|---|---|
XA ZA | Point where the new conditions start |
D | New depth of cut |
F | New feed rate |
How it works
Used with G85.
Example program
N2 G00 X3.2 Z.1 T010101 (ROUGH TOOL)
N3 G96 S500 M03 (500 SFM)
N4 G85 NAT01 D.1 F.012 U.02 W.005 (LAP ROUGH TURN)
…
The full 5-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- On an Okuma lathe G84 is not a tapping cycle.
Related codes
G84 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Fanuc | Tapping cycle |
| Haas NGC | Tapping canned cycle |
| Mazak (EIA) | Tapping cycle |
| Mitsubishi M70 M80 | Tapping cycle |
| Brother Speedio | Tapping cycle |
| Fagor 8055 8065 | Tapping canned cycle |
| LinuxCNC Tormach | Right hand tapping cycle |
| Mach3 Mach4 | Tapping cycle |
| Centroid CNC12 Acorn | Right hand tapping cycle |
| Hurco WinMax (NC) | Tapping cycle |
| Fadal | Right hand tap, floating holder |
| Swiss (Citizen Star) | Face tapping cycle |
Every G-code for Okuma OSP 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 G84 in the app All Okuma OSP G-codes