-
Notifications
You must be signed in to change notification settings - Fork 19
Supported Gcodes
Spark edited this page Oct 7, 2020
·
2 revisions
- G0, G1: Linear Motions
- G2, G3: Arc and Helical Motions
- 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
- M7 , M8, M9: Coolant Control
- M56 : Parking Motion Override Control
- M62, M63 Digital Output Control
Gcode comments are supported in the following formats.
- Parentheses. Both internal to the line and at the end
- G0 (Rapid to start) X1 Y1
- G0 X1 Y1 (Rapid to start)
- Parentheses with message. If you have MSG, inside the parentheses it will send a Grbl message to all all open interfaces (Serial, Bluetooth Wifi, etc)
- T4 M6 (MSG, Using tool 4 6mm end mill) ... This will display [MSG: Using tool 4 6mm end mill]
- Semicolon. These are for comments at the end
- M30 ; End of program.
- Power Switch
- Reset
- SD Card
- Motor fault indicators
- Status indicators
- Probe input
- Macro1 & Macro2
- TMC diag_0 output
Inside jumpers
Firmware