Guest User

home_all

a guest
Sep 5th, 2018
110
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ; Lift Z relative to current position
  2. G91
  3. G1 Z10 F6000 S2
  4. G90
  5.  
  6. M913 X50 Y50 ; reduce motor current to 50% to prevent belts slipping
  7. G91 ; use relative positioning
  8.  
  9. ; X
  10. G1 S1 X-500 F4000 ; move the X to max until it detects the min Point
  11. G92 X0 ; set X min Point
  12. G1 S1 X30 ; move X away from min Point
  13.  
  14. M400
  15.  
  16. ; Y
  17. G1 S1 Y-500 F4000 ; move the X to max until it detects the min Point
  18. G92 Y0 ; set X min Point
  19. G1 S1 Y30 ; move X away from min Point
  20.  
  21. G90 ; back to absolute positioning
  22. M913 X100 Y100 Z100 ; motor currents back to normal
  23.  
  24. ; Z
  25. G1 S1 X168 Y95 F2000 ; put head over the centre of the bed, or wherever you want to probe
  26. G30 ; lower head, stop when probe triggered and set Z to trigger height
  27.  
  28. G91 ; relative mode
  29. G1 Z10 F6000 S2 ; raise head 4mm to ensure it is above the Z probe trigger height
  30. G90 ; back to absolute mode
RAW Paste Data