G98 – Canned Cycle – Retract Back To The Initial Z
G98 is used with canned cycles. After each drilling operation, Z retracts to the initial Z position – where Z was before the canned cycle started.
Syntax
G98
Modal
Yes – Group 10
Z retracts to
Initial Z
Example
N10 G98 G73 X10 Y10 Z-8 R2 Q1 F100
After the drilling cycle completes, Z retracts to the Z position it was at before the cycle began.