Home › G-codes › Okuma OSP › G78
G78 Left hand tapping cycle
Okuma OSP G-code · Lathe
Same as G77 but for a left hand tap. The spindle runs in reverse going in.
Verify on your machine. This entry could not be fully checked against the maker manual. Check your machine manual before you run it.
Format
G78 X Z K F
Addresses
| Address | What it does |
|---|---|
X | X of the start point |
Z | Tap depth |
K | Point in Z where the rapid approach ends |
F | Tapping feed |
How it works
Compound fixed cycle. One shot.
Example program
O2000 (OKUMA LATHE SAMPLE)
N1 G50 S3000 (MAX SPINDLE 3000 RPM)
N2 G00 X0 Z1. T111111 (.500-13 LH TAP)
N3 G97 S300 M04 (300 RPM REVERSE)
…
N1 G50 S3000 (MAX SPINDLE 3000 RPM)
N2 G00 X0 Z1. T111111 (.500-13 LH TAP)
N3 G97 S300 M04 (300 RPM REVERSE)
…
The full 6-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- Use the reverse spindle direction for a left hand tap.
Related codes
G78 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Brother Speedio | Left hand tapping cycle with pitch input |
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 G78 in the app All Okuma OSP G-codes