Dictionary of 3D Printer and RepRap Gcode

G

G lists all suported gcode

G0

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.

Related commands:

G1

G1

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.

Related commands:

G0

G10

Perform retract using firmware configured retraction setting.

Related commands:

M207

G2

Move tool in clockwise arc.

Related commands:

G3

G20

Set units to inches.

Related commands:

G21

G21

Set units to millimeters.

Related commands:

G20

G28

Home. Specify an axis, several, or use G28 with no parameters to home all.

Related commands:

G29

G29

Detailed Z probe

Related commands:

G28 G30

G3

Move tool in counter-clockwise arc.

Related commands:

G2

G30

Probe single point with the Z probe and save as Point P.

Related commands:

G28 G29

G4

Wait for a specific amount of time before continuing.

G90

Configure printer to use absolute movements.

Related commands:

G91

G91

Configure printer to use relative movements.

Related commands:

G91

M

M lists all suported mcode.

M115

Display firmware version.

M207

Configures firmware retract settings.

Related commands:

G10

M500

Save current configuration.

Related commands:

M501 M502 M503

M501

Load saved configuration.

Related commands:

M500 M502 M503

M502

Load default configuration.

Related commands:

M500 M501 M503

M503

Print configuration.

Related commands:

M500 M501 M502

M608

Print or configure slave settings for stepper motors.