Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ;###################################
- G60 S1 ; save pos in slot 1
- M83 ; Extruder Relative
- G91 ; Make Movement Relative
- G1 E-3.5 F4500 ; Retract filament
- G0 Z1 ; Move printhead up a bit
- G90 ; Make Movement Absolute
- M211 S0 ; disable sw endstops
- G0 F9000 X244 Y125 ; push gantry out to wipe (X=244) & capture image (X=244, Y=125) position
- M400 ; wait for the move to complete
- @Octolapse take-snapshot
- M118 EASYSERVO_ABS 12 55 ; start the wipe in the first direction
- G4 P600 ; pause long enuf for the wipe to complete - 600mS
- M118 EASYSERVO_ABS 12 105 ; finish the wipe in the opposite direction
- G4 P600 ; pause long enuf for the wipe to complete - 600mS
- G61 F9000 XY S1 ; restore to xy quickly after wiping
- M211 S1 ; reenable sw endstops
- G91 ; Make Movement Relative
- G1 E3.5 ; prime the extruder
- G0 Z-1 ; Move printhead back down
- G90 ; Make Movement Absolute
- M82 ; Restore Extruder to absolute
- ;###################################
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement