3D Printing

GCode cheat sheet

Auto Home

G28

; home all axes
G28

; home just x and y
G28 X Y

Linear move

G1

; go to x=0, y=0, keep z as it is
G1 X0 Y0

Factory reset

M502

Report EEPROM settings

M503

; reset settings
M502 
; safe factory settings to EEPROM
M500

Save settings to EEPROM

M500

Software Endstops

M211

; print endstops status
M211

; enable software endstops
M211 S1

; disable software endstops
M211 S1