Wiki
Clone wiki5DPrint Firmware / G Code
G0
Coordinated Movement X Y Z E, same as G1
X, Y, Z: Coordinates
E: Extruder position
Example:
G0 X1 Y2 Z3 E4
G1
Coordinated Movement X Y Z E
X, Y, Z: Coordinates
E: Extruder position
Example:
G0 X1 Y2 Z3 E4
G2
Clockwise arc movement
X, Y, Z, E: Coordinates
I,J: Arc center offset from current position in X, Y axis respectively
Example:
; Assume current position is X0,Y20
G1 X0 Y0 I-10 J-10 ; Arc movement to X0,Y0 with arc center at X-10,Y-10
G3
Counterclockwise arc movement
X, Y, Z, E: Coordinates
I,J: Arc center offset from current position in X, Y axis respectively
Example:
; Assume current position is X0,Y0
G1 X0 Y20 I-10 J10 ; Arc movement to X0,Y20 with arc center at X-10,Y-10
G4
Dwell
S: Seconds
P: Milliseconds
Example:
G4 P1000 ; Wait 1000 milliseconds
G4 S1 ; Wait 1 second
G28
Home all Axis
X,Y,Z: Axis to home
Example:
G28 ; Home all axes
G28 X1 ; Home X-axis only
G28 Y1 ; Home Y-axis only
G28 Z1 ; Home Z-axis only
G90
Use Absolute Coordinates
G91
Use Relative Coordinates
G92
Set current position to coordinates given
X,Y,Z: Coordinates
E: Extruder position
Example:
G92 X1 Y2 Z3 E4
Updated