Advertisement
TodWulff

Untitled

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