Okuma Program Example
Okuma Program Example
Fill in the blanks for the X and Z values with the clearance position of
the first cut.
If you use G96, you'll get a constant surface speed; S = CSS.
If you use G97 you need to specify a RPM value; S = desired RPM.
The G85 command triggers the rough cut subroutine - NLAP1 means
that its the subroutine #1, and the D value is the depth of the cut (the
depth as diameter).
The F value is the roughing feedrate in inches per revolution (IPR), the U
value is the OD of the finish (0 .030 typ.), and the W value is the shoulder
finish (0 .004 typ.).
The G81 command is for longitudinal profile cuts.
The G42 command sets tool compensation right - the F value is the
finish feedrate.
The G40 command turns the tool compensation off.
The G80 command signals the end of the subroutine.
The G87 command calls the finish subroutine - this NLAP number
matches with the rough NLAP number, thus "NLAP1".
G97 S_______ (direct control of RPM)
3: G00 X__ Z__ (rapid move to start of drill position - be sure to allow for
drilling clearance)
operation G74 X0 Z-__ D__ L__ F__ E__
G00 X__ Z__ (move to clearance position)
--- NOTES ---
The G74 command signals the start of the drilling cycle. The Z value is the depth
value, the D value is the dwell increment (for chip break), the L value is the retraction
increment (clearance for the broken chips), the F value is the feedreate in inches per
revolution (IPR), and the E value is the dwell time (in seconds).
The G73 signals the start of the grooving cycle. The X value sets the groove depth
diameter, the Z value is the finish point z coordinate, the K value specifies the shift
amount in the z direction, the D value sets the dwell increment (for chip breakage), the
L value is the retraction increment (clearance for the broken chips), and the F value is
the feedreate in inches per revolution (IPR).
G97 S_______ (direct control of RPM)
5: G00 X__ Z__ (rapid move to start of threading position - be sure to allow
threading for clearance)
operation G71X__ Z__ B__ D__ U__ H__ F__ M33M73
--- NOTES ---
The G71 command signals the beginning of a thread cutting cycle. The X value is the
minor diameter of the thread, the Z value is the termination point of the thread, the B
value is the thread angle, the D value is the depth of the first cut (diameter), the U
value is the finish allowance (also in diameter), the H value is the thread height (again
in diameter), and the F value is the thread lead (the feed rate in inches per minute).
The M33 means that there will be a zigzag inffed cutting pattern, and M73 sets the
infeed depth to pattern #1. (See manual.)