14. FUNCTIONS TO SIMPLIFY
G80 cancels canned cycle.
Canned cycle for drilling is canceled to perform normal operation.
Point R and point Z are cleared. Other drilling data is also canceled
M51 ; Setting C–axis index mode ON
M3 S2000 ; Rotating the drill
G00 X50.0 C0.0 ; Positioning the drill along the X– and C–axes.
G83 Z–40.0 R–5.0 P500 F5.0 M31 ; Drilling hole 1
C90.0 M31 ; Drilling hole 2
C180.0 M31 ; Drilling hole 3
C270.0 M31 ; Drilling hole 4
G80 M05 ; Canceling the drilling cycle and stopping drill rotation
M50 ; Setting C–axis index mode off
Canned Cycle for
Drilling Cancel (G80)