Turn motors off M18 Home all axes G28 X0 Y0 Z0 Probe the print bed G29 Turn fan(s) ON M106 Turn fan(s) OFF M107 Raise Z axes by 0.5mm M212 Z-0.5 M500 M501 More commands can be found here