{"id":"gcode-g85","model_id":"G85","name":"LinuxCNC G85","summary":"G85 is a LinuxCNC canned cycle for boring or reaming; it can also be used for drilling or milling. After the common preliminary motion, the Z axis feeds to the programmed Z position, retracts at feed rate to the R plane when that plane is lower than the initial Z, and then retracts at traverse rate to clear Z.","study_notes":["G85 is part of the G80-G89 canned cycle group in LinuxCNC.","Canned cycles are performed with respect to the currently selected plane, and rotary axis words are not allowed.","The R word is sticky in canned cycles; the L word is optional and is not sticky.","The final retract height is affected by the G98/G99 canned cycle return level setting."],"safety_notes":[],"sources":[{"url":"https://linuxcnc.org/docs/html/gcode/g-code.html#gcode:g85","title":"G-Codes","accessed":"2026-10-26"}],"verification":{"status":"source_checked","checked_at":"2026-10-26","values":27,"method":"llm_source_check"},"updated_at":"2026-10-26","type":"instruction","spec":{"language":"gcode","code":"G85","group":"canned cycles (G80-G89)","syntax":"G85 (X- Y- Z-) or (U- V- W-) R- L-","parameters":[{"name":"X","data_type":"real","description":"X-axis position in the selected plane, or increment in incremental distance mode."},{"name":"Y","data_type":"real","description":"Y-axis position in the selected plane, or increment in incremental distance mode."},{"name":"Z","data_type":"real","description":"Z-axis position or increment along the axis perpendicular to the selected plane when the XY plane is active; the Z number is sticky."},{"name":"U","data_type":"real","description":"U-axis word used with UVW-family planes instead of X."},{"name":"V","data_type":"real","description":"V-axis word used with UVW-family planes instead of Y."},{"name":"W","data_type":"real","description":"W-axis word used with UVW-family planes instead of Z."},{"name":"R","data_type":"real","description":"Retract position along the axis perpendicular to the currently selected plane; always sticky."},{"name":"L","data_type":"integer","description":"Number of repeats; optional, not sticky, and must evaluate to a positive integer."}],"dialect":"LinuxCNC","related":[],"standards":[]},"url":"https://machineschema.com/instruction/gcode-g85","license":"https://creativecommons.org/licenses/by/4.0/"}