Skip to content

TinyG Gcode Support

aldenhart edited this page Dec 23, 2012 · 32 revisions

(last updated 12/23/12 - ash)

NOTE: This page describes Gcode supported in release 0.95 and later. Currently this code is only in the edge and dev branches. If you want to try it we recommend using the edge branch as it's more stable than dev.

Gcode Cheat Sheet

This table summarizes Gcode supported

Gcode | Command | Description
---------|--------------|-------------
G0 | Straight traverse | Traverse at maximum velocity to 10,20 
G1 | Straight feed | 
G2 | Clockwise arc feed | 
G3 | Counter clockwise arc feed | 
G4 | Dwell | 
G10 L2 | Set offset parameters | 
G17 | Select XY plane |
G18 | Select XZ plane |
G19 | Select YZ plane |
G20 | Select inches units mode |
G21 | Select mm units mode |
G28 | Go to predefined position as set via G28.1 | Option axes will specify an intermediate point
G28.1 | Set to predefined position for G28 |
G28.2 | Initiate machine homing cycle |
G28.3 | Set machine origin | Useful for zeroing and setting origins in an case axis cannot be homed
G30 | Go to predefined position as set via G30.1 | Option axes will specify an intermediate point
G30.1 | Set to predefined position for G30 |
G53 | Select absolute coordinate system | Non-model - only applies to current block
G54 | Select coordinate system 1 |
G55 | Select coordinate system 2 |
G56 | Select coordinate system 3 |
G57 | Select coordinate system 4 |
G58 | Select coordinate system 5 |
G59 | Select coordinate system 6 |

Clone this wiki locally