Drilling cycles module

Basically the canned drilling cycles is a short G-Code produced by some serious CAM software to make holes.
In addition to adding some features this significantly reduces the number of instructions send through the serial port.

Currently the drilling cycles module implement the first three options in absolute mode G90 only.
For a complete list/description of G-Code see http://www.tormach.com/g81_g89_background.


Incremental mode not implemented (L).


In relative mode G91, drilling holes operations are ignored.


Option Example value Explanation
drillingcycles.enable false Enable drillingcycles module.
drillingcycles.dwell_units S Dwell units S = seconds, P = millis.


  • G98 Retract to initial Z
  • G99 Retract to R plane
  • G81 Simple drilling cycle.
  • G82 Drilling cycle with a pause at final depth (Dwell).
  • G83 Peck drilling cycle; incremental drilling with an retract, can be combined with dwell.
  • G80 Mark the end of cycle.