G-codes & Post Processors

G80 – Cancel Modal Motion

This command is used to cancel Canned Cycles such as G73, G81, G82 & G83.

Syntax & Parameters

  • G80

Example program

N10 G99 G73 X10 Y10 Z-8 R2 Q1 F100
N20 X20
N30 G80
  • The first line moves the X & Y axis to 10mm position with retract plane set to 2mm, drilling to Z -8mm, peck of 1mm 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 cancels the G73 canned cycle.

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

INFORMATION: After using G80 the current mode is cancelled and replaced with G00 Rapid motion until it is changed in Gcode.