;Start M117 Initianization... G21 ;metric values G90 ;absolute positioning M82 ;set extruder to absolute mode M107 ;start with the fan off M117 Homing... G28 X Y ;home X Y to prevent false positive on sensorless homing G4 P500 ;wait 500ms G28 ;home all G4 P500 ;wait 500ms M117 Auto bed leveling... G29 ;auto bel leveling M117 Ready... G92 E0 ;zero the extruded length G1 F9000 M117 Printing... ;End M117 Finishing... M104 S0 ;extruder heater off M140 S0 ;heated bed heater off (if you have it) G91 ;relative positioning G1 E-1 F300 ;retract the filament a bit before lifting the nozzle, to release some of the pressure G1 Z+5 E-5 X-20 Y-20 F9000 ;move Z up a bit and retract filament even more G28 X0 Y0 ;move X/Y to min endstops, so the head is out of the way M84 ;steppers off G90 ;absolute positioning M400 M300 P500 M400 G4 P500 M400 M300 P500 M400 G4 P500 M400 M300 P500 M400 M117 Finished!
Comments