G-codes & Post Processors

G82 – Drilling Canned Cycle With Dwell

This command is Canned Cycle used for drilling cycle with dwell (pause) at the bottom of hole.

Syntax & Parameters

  • G82 followed by axis, R, P & F values.

  • X, Y, Z, A, B Value - specifies the axis you wish to move following the distance to move. The distance value will be the current machine units in use.

  • R Value - This is the retract position in the Z axis. This value must be specified.

  • P Value - This is the dwell (pause) at the bottom of hole. This value is in milliseconds.

  • F Value - The F value defines the federate at which the axis will move at.

Example program

N10 G99 G82 X10 Y10 Z-8 R2 P1000 F100
N20 X20
N30 X30
  • The first line moves the X & Y axis to 10mm position with retract plane set to 2mm, drilling to Z -8mm with 1 second dwell at bottom of the hole at 100 mm/minute feedrate and starts drilling.

  • The second line moves X axis to 20mm position and drill a hole as per the same values.

  • The third line moves X axis to 30mm position and drill a hole as per the same values.

INFORMATION: Units are defined as either inches or mm depending on your machines setup or G20 or G21 command in use.