Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ;M400 ; make sure everything has stopped before we make changes
- ;M913 X55 Y55 ; reduce motor current to 55% to prevent belts slipping
- ;G91 ; relative positioning
- ;G1 Z5 F6000 S2 ; lift Z relative to current position
- ;M98 Pdeployprobe.g ; deploy mechanical Z probe
- ;G1 S1 X-295 Y-305 F1800 ; move quickly to X or Y endstop and stop there (first pass)
- ;G1 S1 X-295 ; home X axis
- ;G1 S1 Y-305 ; home Y axis
- ;G1 X5 Y5 F6000 ; go back a few mm
- ;G1 S1 X-295 F360 ; move slowly to X axis endstop once more (second pass)
- ;G1 S1 Y-305 ; then move slowly to Y axis endstop
- ;G90 ; absolute positioning
- ;G1 X43.5 Y21 F6000 ; go to first bed probe point and home Z
- ;G30 ; home Z by probing the bed
- ; Uncomment the following lines to lift Z after probing
- ;G91 ; relative positioning
- ;G1 S2 Z5 F100 ; lift Z relative to current position
- ;G90 ; absolute positioning
- ;M98 Pretractprobe.g ; retract mechanical Z probe
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement