LinuxCNC G85

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.

Source checked27/27 values · 2026-10-26

Specification

1 source
Languagegcode
CodeG85
Groupcanned cycles (G80-G89)
SyntaxG85 (X- Y- Z-) or (U- V- W-) R- L-
DialectLinuxCNC

Parameters

NameData typeDescription
XrealX-axis position in the selected plane, or increment in incremental distance mode.
YrealY-axis position in the selected plane, or increment in incremental distance mode.
ZrealZ-axis position or increment along the axis perpendicular to the selected plane when the XY plane is active; the Z number is sticky.
UrealU-axis word used with UVW-family planes instead of X.
VrealV-axis word used with UVW-family planes instead of Y.
WrealW-axis word used with UVW-family planes instead of Z.
RrealRetract position along the axis perpendicular to the currently selected plane; always sticky.
LintegerNumber of repeats; optional, not sticky, and must evaluate to a positive integer.

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.
↑↓ navigate↵ openesc close