Advertisement
tim57064

Duet_homeall_unused_14-Dec-2019

Dec 14th, 2019
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.11 KB | None | 0 0
  1. ;M400 ; make sure everything has stopped before we make changes
  2. ;M913 X55 Y55 ; reduce motor current to 55% to prevent belts slipping
  3. ;G91 ; relative positioning
  4. ;G1 Z5 F6000 S2 ; lift Z relative to current position
  5. ;M98 Pdeployprobe.g ; deploy mechanical Z probe
  6. ;G1 S1 X-295 Y-305 F1800 ; move quickly to X or Y endstop and stop there (first pass)
  7. ;G1 S1 X-295 ; home X axis
  8. ;G1 S1 Y-305 ; home Y axis
  9. ;G1 X5 Y5 F6000 ; go back a few mm
  10. ;G1 S1 X-295 F360 ; move slowly to X axis endstop once more (second pass)
  11. ;G1 S1 Y-305 ; then move slowly to Y axis endstop
  12. ;G90 ; absolute positioning
  13. ;G1 X43.5 Y21 F6000 ; go to first bed probe point and home Z
  14. ;G30 ; home Z by probing the bed
  15.  
  16. ; Uncomment the following lines to lift Z after probing
  17. ;G91 ; relative positioning
  18. ;G1 S2 Z5 F100 ; lift Z relative to current position
  19. ;G90 ; absolute positioning
  20.  
  21.  
  22. ;M98 Pretractprobe.g ; retract mechanical Z probe
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement