G81 – Drilling Cycle
The G81 command is a canned drilling cycle used for standard drilling operations.
G81 is a modal command and belongs to Group 1.
Syntax & Parameters
The G81 command is followed by axis values and the required drilling parameters.
The X, Y, Z, A, or B values specify the axis or axes to move and the target position. All distance values use the current machine units.
The R value defines the retract position on the Z axis. This value must be specified.
The K value defines the number of times the drilling cycle is repeated at the same position. This value is optional.
The F value defines the feed rate at which the drilling motion occurs.
Example Program
N10 G99 G81 X10 Y10 Z-8 R2 K2 F100 N20 X20 N30 X30 N40 G80
In this example, the first line moves the X and Y axes to X10 Y10, sets the retract plane to Z2, and drills to Z-8 at a feed rate of 100 millimetres per minute.
The K value of 2 causes the drilling cycle to repeat a second time at the same location before moving on to the next block.
The second line moves the X axis to X20 and drills another hole using the same drilling parameters.
The third line moves the X axis to X30 and drills another hole using the same drilling parameters.
The G80 command cancels the active canned drilling cycle.
Spanish
French
German
Simplified Chinese