FANUC Series 16/18/160/180-Model C Machining Center Operators Manual

PROGRAMMING
B–62764EN/01
14. FUNCTIONS TO SIMPLIFY
PROGRAMMING
187
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.
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 G82 in the same block.
If they are specified together, G82 is canceled.
In the canned cycle mode, tool offsets are ignored.
M3 S2000 ; Cause the spindle to start rotating.
G90 G99 G82 X300. Y–250. Z–150. R–100. P1000 F120. ;
Position, drill hole 2, and dwell for 1 s at the
bottom of the hole, 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.
Restrictions
D Axis switching
D Drilling
D R
D Cancel
D  
Examples

Leave a Reply

Your email address will not be published. Required fields are marked *