Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ; homeall.g
- ; called when homing all axes
- ;
- ; generated by RepRapFirmware Configuration Tool v2 on Fri Nov 30 2018 17:18:08 GMT-0700 (Mountain Standard Time)
- ; Prepare for homing
- M400 ; Wait for move buffer to finish
- G91 ; Switch to relative motion coordinates
- G92 X250 Y250 Z10 ; Force arbitrary position
- G1 Z10 F500 ; Raise hotend away from bed
- G4 P500 ; wait 500msec
- M400 ; make sure everything has stopped before we make changes
- ; Home Y First
- M913 Y55 ; reduce motor current to 55% to prevent belts slipping
- G1 Y-505 F4800 S1 ; move quickly to Y EoT and stop there (first pass)
- M400
- G4 P100 ; wait 100msec
- G1 Y10 F2400 ; Move Away 10mm from Y axis EoT
- M400
- G4 P100 ; wait 100msec
- M913 Y100 ; motor currents back to normal
- ; Home X Second
- M913 X55 ; reduce motor current to 55%
- G1 X-505 F4800 S1 ; move quickly to X EoT and stop there (first pass)
- M400
- G4 P100 ; wait 100msec
- G1 X10 ; Move Away 10mm from X axis EoT
- M400
- G4 P100 ; wait 100msec
- M913 X100 ; return motor current to 100%
- G90 ; absolute positioning
- M400 ; make sure everything has stopped before we reset the motor currents
- ;Home Z Last
- M913 Z55 ; reduce motor current to 55%
- G1 X150 Y200 F3000 ; go to first probe point
- M400
- G4 P500 ; wait 500msec
- G30 ; home Z by probing the bed once
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement