2. FUNCTION TO SIMPLIFY
(For the Power Mate i–D/D2)
Before the drilling axis can be changed, the canned cycle must be
In a block that does not contain X, Z, R, or any other axes, drilling is not
Specify R in blocks that perform drilling. If it is specified in a block that
does not perform drilling, it cannot be stored as modal data.
Do not specify a group 01 G code (G00 to G03) and G74 in the same block.
If they are specified together, G74 is canceled.
In the canned cycle mode, tool offsets are ignored.
M4 S100 ; Cause the spindle to start rotating.
G90 G74 X300. Z–150. R–120. F120. ;
Position, tapping hole 1, then return to initial level.
X1000. ; Position, tapping hole 2, then return to initial level.
G80 G28 G91 X0 Z0 ; Return to the reference position return
M5 ; Cause the spindle to stop rotating.