shitcreek

G80 - Cancel Current Motion Mode

motion Cancel the current motion mode GCODE_MOTION_MODES

Description

Cancels the current motion mode (G0 G1 G2 G3 G5 G38.X). With GCODE_MOTION_MODES enabled, Marlin will remember the last used motion mode which can then be canceled with G80.

Usage

G80

Example

Cancel motion mode G1

G0 ; sets motion mode to G0
X10 Y10 ; moves to X10 Y10 in motion mode G0
G80 ; cancels the current motion mode
X20 Y20 ; returns unknown command