Home › G-codes › Okuma OSP › G77
G77 Tapping compound cycle
Okuma OSP G-code · Lathe
Taps a right hand thread on center. Feeds in, stops and reverses the spindle at depth, and feeds out.
Format
G77 X Z K F
Addresses
| Address | What it does |
|---|---|
X | X of the start point, normally 0 |
Z | Tap depth |
K | Point in Z where the rapid approach ends |
F | Tapping feed, the pitch in per rev mode |
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 TAP)
N3 G97 S300 M03 (300 RPM)
…
N1 G50 S3000 (MAX SPINDLE 3000 RPM)
N2 G00 X0 Z1. T111111 (.500-13 TAP)
N3 G97 S300 M03 (300 RPM)
…
The full 6-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- Start the spindle before G77. Without spindle speed the cycle halts.
- Use a floating tap holder unless synchronized tapping G178 is used.
Related codes
G77 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Haas NGC | Back bore cycle |
| Brother Speedio | 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 G77 in the app All Okuma OSP G-codes