Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ; Lift Z relative to current position
- G91
- G1 Z10 F6000 S2
- G90
- M913 X50 Y50 ; reduce motor current to 50% to prevent belts slipping
- G91 ; use relative positioning
- ; X
- G1 S1 X-500 F4000 ; move the X to max until it detects the min Point
- G92 X0 ; set X min Point
- G1 S1 X30 ; move X away from min Point
- M400
- ; Y
- G1 S1 Y-500 F4000 ; move the X to max until it detects the min Point
- G92 Y0 ; set X min Point
- G1 S1 Y30 ; move X away from min Point
- G90 ; back to absolute positioning
- M913 X100 Y100 Z100 ; motor currents back to normal
- ; Z
- G1 S1 X168 Y95 F2000 ; put head over the centre of the bed, or wherever you want to probe
- G30 ; lower head, stop when probe triggered and set Z to trigger height
- G91 ; relative mode
- G1 Z10 F6000 S2 ; raise head 4mm to ensure it is above the Z probe trigger height
- G90 ; back to absolute mode
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement