bitanalyst

homeall.g

Sep 28th, 2018
89
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ; homeall.g
  2. ; called to home all axes
  3. ;
  4. ; generated by RepRapFirmware Configuration Tool on Mon Sep 03 2018 14:41:01 GMT-0500 (Central Daylight Time)
  5. G91 ; relative positioning
  6. G1 Z5 F6000 S2 ; lift Z relative to current position
  7. G1 S1 X-305 Y205 F1800 ; move quickly to X or Y endstop and stop there (first pass)
  8. G1 S1 X-305 ; home X axis
  9. G1 S1 Y205 ; home Y axis
  10. G1 X5 Y-5 F6000 ; go back a few mm
  11. G1 S1 X-305 F360 ; move slowly to X axis endstop once more (second pass)
  12. G1 S1 Y205 ; then move slowly to Y axis endstop
  13. G1 S1 Z-330 F1800 ; move Z down stopping at the endstop
  14. G90 ; absolute positioning
  15. G92 Z0 ; set Z to axis minimum (you may want to adjust this)
  16.  
  17. ; Uncomment the following lines to lift Z after probing
  18. ;G91 ; relative positioning
  19. ;G1 S2 Z5 F100 ; lift Z relative to current position
  20. ;G90 ; absolute positioning
RAW Paste Data