Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Before print job starts:
- G21 ;metric values
- G90 ;absolute positioning
- M82 ;set extruder to absolute mode
- M107 ;start with the fan off
- M117 Homing...
- G28 X0 Y0 ;move X/Y to min endstops
- G28 Z0 ;move Z to min endstops
- G0 Z20 ;move up 20
- G1 F9000
- M117 Printing...
- After print job completes:
- M104 S0 ;extruder heater off
- M140 S0 ;heated bed heater off (if you have it)
- G91 ;relative positioning
- M117 Print done!
- G1 E-1 F300 ;retract the filament a bit before lifting the nozzle, to release some of the pressure
- G1 Z+10 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
- G1 Y180 ;Set Y axis to bring printed part forward
- G1 E-5 F900 ;retract the filament a bit before lifting the nozzle, to release some of the pressure
- G92 E0 ;zero the extruded length
- M84 ;steppers off
- G90 ;absolute positioning
- After print job is cancelled:
- M104 S0 ;extruder heater off
- M140 S0 ;heated bed heater off (if you have it)
- G91 ;relative positioning
- M117 Print done!
- G1 E-1 F300 ;retract the filament a bit before lifting the nozzle, to release some of the pressure
- G1 Z+10 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
- G1 Y180 ;Set Y axis to bring printed part forward
- G1 E-5 F900 ;retract the filament a bit before lifting the nozzle, to release some of the pressure
- G92 E0 ;zero the extruded length
- M84 ;steppers off
- G90 ;absolute positioning
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement