Advertisement
Guest User

Untitled

a guest
May 26th, 2018
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1. G21 ;metric values
  2. G90 ;absolute positioning
  3. M82 ;set extruder to absolute mode
  4. M107 ;start with the fan off
  5. G28 X0 Y0 ;move X/Y to min endstops
  6. G28 Z0 ;move Z to min endstops
  7. ; warning beep to clean
  8. M300 S7000 P100
  9. M300 S0 P100
  10. M300 S7000 P100
  11. M300 S0 P100
  12. M300 S7000 P400
  13. M117 Clean
  14. ;end beeping
  15. G1 Z20.0 F9000 ;move the platform down 20mm
  16. G92 E0 ;zero the extruded length
  17. G1 F200 E15 ;extrude 3mm of feed stock
  18. ;make the cleaning trace
  19. G1 Y0 Z2 F1000
  20. G1 X40 Y0 Z0.15 F4000 E19
  21. G1 Z0.4 F4000
  22. ;end making trace
  23. G92 E0 ;zero the extruded length again
  24. G1 F9000
  25. ;Put printing message on LCD screen
  26. M300 S3000 P100
  27. M117 Printing...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement