G0
and G1
commands add a linear move to the queue to be performed after all previous moves are completed. These commands yield control back to the command parser as soon as the move is queued, but they may delay the command parser while awaiting a slot in the queue.G1 F1000
sets the feedrate for all subsequent moves.G0
for non-extrusion movements (those without the E axis) and G1
for moves that include extrusion. This is meant to allow a kinematic system to, optionally, do a more rapid uninterpolated movement requiring much less calculation.G0
(rapid linear movement) command is (and must be) a direct alias for G1
(rapid movement). On SCARA machines G0
does a fast non-linear move. Marlin 2.0 introduces an option to maintain a separate default feedrate for G0
. Note: Slicers tend to override firmware feedrates!G20
.G91
) all coordinates are interpreted as relative, adding onto the previous position.G0
for non-print moves. It makes G-code more adaptable to lasers, engravers, etc.G0
[E(pos)]
[F(rate)]
[X(pos)]
[Y(pos)]
[Z(pos)]
[E(pos)]
The length of filament to feed into the extruder between the start and end point[F(rate)]
The maximum movement rate of the move between the start and end point. The feedrate set here applies to subsequent moves that omit this parameter.[X<pos>]
A coordinate on the X axis[Y<pos>]
A coordinate on the Y axis[Z<pos>]
A coordinate on the Z axis