Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ; homex.g
- ; called to home the X axis
- ;
- M400 ; make sure everything has stopped before we make changes
- M913 X45 ; reduce motor current to 55% to prevent belts slipping
- G91 ; relative positioning
- G1 Z10 F1200 S2 ; lift Z relative to current position
- G4 P100 ; wait 100msec
- M400
- G1 S1 X-505 F4800 ; move quickly to X EoT and stop there (first pass)
- M400
- G4 P100 ; wait 100msec
- G1 X10 ; Move Away 10mm X axis EoT
- M400
- G4 P100 ; wait 100msec
- G1 Z-10 F1200 S2 ; Return Z to original position
- G90 ; absolute positioning
- M400 ; make sure everything has stopped before we reset the motor currents
- M913 X100 ; motor currents back to normal
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement