-
-
Notifications
You must be signed in to change notification settings - Fork 161
G code Quick Reference
-
G0, G1: Linear Motions
-
G2, G3: Arc and Helical Motions
- Multiple full circle arcs with G2 and G3 arcs with a P word is not supported.
-
G4: Dwell
-
G10 L2, G10 L20: Set Work Coordinate Offsets
-
G17, G18, G19: Plane Selection
-
G20, G21: Units
-
G28, G30: Go to Pre-Defined Position
-
G28.1, G30.1: Set Pre-Defined Position
-
G38.2, G38.3, G38.4, G38.5: Probing
-
G40: Cutter Radius Compensation Modes OFF (Only)
-
G43.1, G49: Dynamic Tool Length Offsets
-
G53: Move in Absolute Coordinates
-
G54, G55, G56, G57, G58, G59: Work Coordinate Systems
-
G61: Path Control Modes
-
G80: Motion Mode Cancel
-
G90, G91: Distance Modes
-
G91.1: Arc IJK Distance Modes
-
G92: Coordinate Offset
-
G92.1: Clear Coordinate System Offsets
-
G93, G94: Feedrate Modes
-
M0, M2, M30: Program Pause and End
-
M3, M4, M5: Spindle Control
- Laser mode alters the operation of M3, M4, and spindle speed S word changes. See Laser Mode.
-
M7* , M8, M9: Coolant Control
-
M56* : Parking Motion Override Control
- Grbl-specific parking motion override control with an M56 command, where
M56 P0
temporarily disables parking motions andM56
/M56 Px
withx
greater than zero re-enables them.
- Grbl-specific parking motion override control with an M56 command, where
-
M62, M63, M64, M65: Digital outputs
(*) denotes commands not enabled in config.h by default.