G81 is a canned drilling cycle in LinuxCNC G-code. It moves to the programmed position in the selected plane, feeds the tool along the perpendicular axis to the programmed depth, then rapids to the clear Z position. The L word repeats the cycle.
| Language | gcode |
|---|---|
| Code | G81 |
| Group | canned cycles |
| Syntax | G81 (X- Y- Z-) or (U- V- W-) R- L- |
| Dialect | LinuxCNC |
| Name | Description | Data type |
|---|---|---|
| X | X position in the selected plane. | |
| Y | Y position in the selected plane. | |
| Z | Z position for drilling depth in the XY plane. | |
| U | U position when a UVW-family plane is selected. | |
| V | V position when a UVW-family plane is selected. | |
| W | W position when a UVW-family plane is selected. | |
| R | Retract position along the axis perpendicular to the selected plane. | |
| L | Number of repeats; L=0 is not allowed. | positive integer |