Advertisement
chromag

Gcode Prefix for Nozzle Clean

Jan 24th, 2020
296
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.23 KB | None | 0 0
  1. ; Pefix G-Code for most 200mm x 200mm 3D printers by www.DIY3DTech.com to clean nozzle
  2. ; Place as start G-Code in Slicer
  3. ; Use of this code is at your own risk (no warranties made or implied)
  4. ;
  5. M117 Clean ; Indicate nozzle clean in progress on LCD
  6. ;M109 S<your temp> ; Uncomment to set your own temp [run warmer to clean out nozzle]
  7. M107 ; Turn layer fan off
  8. G21 ; Set to metric [change to G20 if you want Imperial]
  9. G90 ; Force coordinates to be absolute relative to the origin
  10. G28 ; Home X/Y/Z axis
  11. G0 X1 Y0 Z0.15 F9000 ; Move in 1mm from edge and up [z] 0.15mm
  12. G92 E0 ; Set extruder to [0] zero
  13. G1 Y190 E50 F500 ; Extrude 100mm filiment along Y axis 190mm long to prime and clean the nozzle
  14. G92 E0 ; Reset extruder to [0] zero end of cleaning run
  15. G1 E-3 F500 ; Retract filiment by 3 mm to reduce string effect
  16. G1 X3 Y190 Z15 F9000 ; Move over and rise to safe Z height
  17. G1 X3 Y0 Z15 F9000 ; Move back to front of bed at safe Z height to shear strings
  18. ;
  19. ; Ensure extruder is not reset by other code or it will be 3mm short [see next line also]
  20. ;G1 E3 F500 ; Uncomment if you believe exruder will be reset
  21. ; Recommend turning off SKIRT in the slicer to avoid strings pulled into first layer
  22. ; Begin printing with sliced GCode after here
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement