Okuma OSP LAP4 roughing cycles explained
On an Okuma lathe with OSP control, the roughing and finishing cycles are part of LAP (Lathe Auto-Programming, LAP4 on current controls). The idea is the same as Fanuc G71 and G70: describe the finished contour once, then let the control rough it and finish it. The way you write it is different.
The pieces
| Code | Meaning |
|---|---|
| G81 | Start of a longitudinal (OD/ID) contour definition |
| G82 | Start of a transverse (facing) contour definition |
| G80 | End of the contour definition |
| G85 | Roughing cycle (bar turning) along the contour |
| G86 | Copy turning cycle (for castings and forgings) |
| G87 | Finishing cycle along the contour |
| G88 | Continuous thread cutting |

A typical structure
N100 G00 X62 Z5 G85 NLAP1 D3 F0.3 U0.4 W0.1 NLAP1 G81 G00 X30 G01 Z0 F0.15 X40 Z-5 Z-30 X60 G80 G87 NLAP1
- G85 NLAP1 calls roughing for the contour labelled LAP1.
- D is the depth of cut, F the roughing feed, U and W the finishing allowances.
- The contour starts at the block with the label and G81, and ends at G80.
- G87 NLAP1 finishes along the same contour, using the feeds written inside it.
The label name, the exact address letters and extra options (for example changing cutting conditions part way) depend on the OSP model and LAP version. Treat this as a map of the structure and take the exact format from your Okuma programming manual.
Compared with Fanuc
| Job | Fanuc | Okuma LAP |
|---|---|---|
| Rough a bar along Z | G71 | G85 with a G81 contour |
| Rough by facing | G72 | G85 with a G82 contour |
| Rough a casting | G73 | G86 |
| Finish | G70 | G87 |
More code differences are in Fanuc vs Okuma OSP codes, and the Okuma thread cycle in Okuma OSP G71 threading (on Okuma, G71 is a thread cycle, not roughing).
Common mistakes
- Copying a Fanuc G71 program to an Okuma: on OSP, G71 cuts a thread.
- Forgetting G80 at the end of the contour.
- Label in G85 not matching the label on the contour.
LAP4 is an option on OSP controls. The Master CNC app Learn tab covers Okuma OSP lathe programming topics for reference; your machine's manual is the final word.
Calculators, process sheet to program, simulation, codes and lessons. Free to start, no sign-in, on phone and laptop.
Open the app

