Advertisement
TodWulff

Untitled

Dec 7th, 2020
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.97 KB | None | 0 0
  1. ;###################################
  2. M400 ; wait for the move to complete
  3. @SPEAK New Layer
  4.  
  5. G60 S1 ; save pos in slot 1
  6.  
  7. M83 ; Extruder Relative
  8.  
  9. G91 ; Make Movement Relative
  10. G1 E-3.5 F4500 ; Retract filament
  11. G0 Z5 ; Move printhead up a bit
  12. G90 ; Make Movement Absolute
  13.  
  14. M211 S0 ; disable sw endstops
  15.  
  16. G0 F9000 X247 Y125 ; push gantry out to wipe (X=244) & image (X=244, Y=125) position
  17. M400 ; wait for the move to complete
  18.  
  19. @Octolapse take-snapshot
  20.  
  21. M118 EASYSERVO_ABS 12 60 ; start the wipe in the first direction
  22. G4 P600 ; pause long enuf for the wipe to complete
  23. M118 EASYSERVO_ABS 12 110 ; finish the wipe in the opposite direction
  24. G4 P600 ; pause long enuf for the wipe to complete
  25.  
  26. G61 F9000 XY S1 ; restore to xy after wiping
  27.  
  28. M211 S1 ; reenable sw endstops
  29.  
  30. G91 ; Make Movement Relative
  31. G0 Z-5 ; Move printhead back down
  32. G1 E3.5 ; prime the extruder
  33. G90 ; Make Movement Absolute
  34.  
  35. M82 ; Restore Extruder to absolute
  36. ;###################################
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement