{"id":"gcode-g86","model_id":"G86","name":"LinuxCNC G86","summary":"G86 is a LinuxCNC canned boring cycle. It feeds the Z axis to the programmed depth, dwells for P seconds, stops the selected spindle, rapid-retracts to clear Z, then restarts the spindle in its previous direction.","study_notes":["G86 is a boring canned cycle that uses a P number for the number of seconds to dwell.","Sequence: feed the Z axis to the Z position, dwell for P seconds, stop the selected spindle, rapid move to clear Z, then restart the spindle in the direction it was going.","Preliminary and in-between motion is shared with other canned cycles in the G80-G89 family.","Canned cycles use X Y Z or U V W depending on the active plane; rotary axis words are not allowed in canned cycles.","G80 or another modal group 1 G-code cancels a canned cycle."],"safety_notes":["The spindle must be turning before G86 is executed; otherwise LinuxCNC reports an error."],"sources":[{"url":"https://linuxcnc.org/docs/html/gcode/g-code.html#gcode:g86","title":"G-Codes","accessed":"2026-10-26"}],"verification":{"status":"source_checked","checked_at":"2026-10-26","values":23,"method":"llm_source_check"},"updated_at":"2026-10-26","type":"instruction","spec":{"language":"gcode","code":"G86","group":"canned cycles","syntax":"G86 (X- Y- Z-) or (U- V- W-) R- L- P- $-","parameters":[{"name":"X","description":"Axis word from the XYZ group; used when the active plane requires XYZ."},{"name":"Y","description":"Axis word from the XYZ group; used when the active plane requires XYZ."},{"name":"Z","description":"Axis word from the XYZ group; used when the active plane requires XYZ."},{"name":"U","description":"Axis word from the UVW group; used when the active plane requires UVW."},{"name":"V","description":"Axis word from the UVW group; used when the active plane requires UVW."},{"name":"W","description":"Axis word from the UVW group; used when the active plane requires UVW."},{"name":"R","description":"Retract position along the axis perpendicular to the selected plane."},{"name":"L","description":"Number of repeats; optional, and L=0 is not allowed."},{"name":"P","description":"Dwell time in seconds."},{"name":"$","description":"Selected spindle; chooses which spindle is stopped."}],"dialect":"LinuxCNC","related":[],"standards":[]},"url":"https://machineschema.com/instruction/gcode-g86","license":"https://creativecommons.org/licenses/by/4.0/"}