Dictionary of 3D Printer and RepRap Gcode
G lists all suported gcode
G0 is used to position the tool. G0 is expected to be used when not using the tool, but firmware such as Marlin interprets G0 and G1 as the same command.
G1 is used to position the tool at a specific feed rate. The speed (feedrate) can be set with F*feedrate* and E *amount* amount of material can be extruded during the move. The firmware coordinates moves so that the feed rate for each axis and extruder is consistent and predictable. S can be used to check for endstops (S0: check, S1: ignore) but may not be implemented by your firmware.
Perform retract using firmware configured retraction setting.
Move tool in clockwise arc.
Set units to millimeters.
Home. Specify an axis, several, or use G28 with no parameters to home all.
Move tool in counter-clockwise arc.
Probe single point with the Z probe and save as Point P.
Wait for a specific amount of time before continuing.
Configure printer to use absolute movements.
Configure printer to use relative movements.
M lists all suported mcode.
Display firmware version.
Configures firmware retract settings.
Save current configuration.
Load saved configuration.
Load default configuration.
Print or configure slave settings for stepper motors.