PROGRAMMING
B–63534EN/02
13. FUNCTIONS TO SIMPLIFY
PROGRAMMING
211
Before the drilling axis can be changed, the canned cycle must be
canceled.
In a block that does not contain X, Y, Z, R, or any other axes, drilling is
not performed.
Do not specify a G code of the 01 group (G00 to G03 or G60 (when the
MDL bit (bit 0 of parameter 5431) is set to 1)) and G86 in a single block.
Otherwise, G86 will be canceled.
In the canned cycle mode, tool offsets are ignored.
M3 S2000 ; Cause the spindle to start rotating.
G90 G99 G86 X300. Y–250. Z–150. R–100. F120. ;
Position, drill hole 1, then return to point R.
Y–550. ; Position, drill hole 2, then return to point R.
Y–750. ; Position, drill hole 3, then return to point R.
X1000. ; Position, drill hole 4, then return to point R.
Y–550. ; Position, drill hole 5, then return to point R.
G98 Y–750. ; Position, drill hole 6, then return to the initial
level.
G80 G28 G91 X0 Y0 Z0 ; Return to the reference position return
M5 ; Cause the spindle to stop rotating.
Limitations
D Axis switching
D Drilling
D Cancel
D Tool offset
Examples