G-code
Supported G-code

G98, G99 (Set Canned Cycle Return Level)

1min

When the spindle retracts during canned cycles, there is a choice of how far it retracts:

  1. retract perpendicular to the selected plane to the position indicated by the R-word
  2. retract perpendicular to the selected plane to the position that axis was in just before the canned cycle started (unless that position is lower than the position indicated by the R-word, in which case use the R-word position).

To use option (1), program G99. To use option (2), program G98. Remember that the R-word has different meanings in absolute distance mode and incremental distance mode.