{"id":"gcode-g89","model_id":"G89","name":"LinuxCNC G89 Boring Cycle, Dwell, Feed Out","summary":"G89 is a canned boring cycle. It feeds the Z axis to the programmed depth at the current feed rate, dwells for P seconds, then retracts at the feed rate to clear Z. It is programmed with position and R retract values, and L can repeat the cycle.","study_notes":["Canned cycles are performed relative to the currently selected plane; most descriptions assume the XY plane.","For the UVW plane family, substitute U, V, W for X, Y, Z in the cycle instructions.","Rotary axis words are not allowed in canned cycles.","The R number is always sticky; L is not sticky.","Preliminary motion includes a rapid move parallel to the active plane to the programmed location and a rapid move to the R position when the current Z position is below R."],"safety_notes":["It is an error if all axis words are missing, axis words from different groups are used together, a required P number is negative, L does not evaluate to a positive integer, rotary axis motion is used, inverse time feed rate is active, or cutter compensation is active.","If the XY plane is active and the Z number is missing while the same canned cycle was not already active, it is an error; it is also an error if R is less than Z."],"sources":[{"url":"https://linuxcnc.org/docs/html/gcode/g-code.html#gcode:g89","title":"G-Codes","accessed":"2026-10-26"}],"verification":{"status":"source_checked","checked_at":"2026-10-26","values":17,"method":"llm_source_check"},"updated_at":"2026-10-26","type":"instruction","spec":{"language":"gcode","code":"G89","group":"Canned Cycles","syntax":"G89 (X- Y- Z-) or (U- V- W-) R- L- P-","parameters":[{"name":"X"},{"name":"Y"},{"name":"Z"},{"name":"U"},{"name":"V"},{"name":"W"},{"name":"R","description":"Retract position along the axis perpendicular to the selected plane."},{"name":"L","data_type":"integer","description":"Optional number of repeats; L=0 is not allowed."},{"name":"P","data_type":"number","description":"Dwell time in seconds."}],"dialect":"LinuxCNC","related":[],"standards":[]},"url":"https://machineschema.com/instruction/gcode-g89","license":"https://creativecommons.org/licenses/by/4.0/"}