@fcwilt look at that. I learnt something new today
; homeall.g
; called to home all axes
;
; generated by RepRapFirmware Configuration Tool v3.1.4 on Thu Oct 29 2020 12:06:14 GMT-0600 (Central Standard Time)
G91 ; relative positioning
G1 H2 Z5 F6000 ; lift Z relative to current position
G1 H1 X-593 Y616 F10000 ; move quickly to X or Y endstop and stop there (first pass)
G1 H1 X-593 ; home X axis
G1 H1 Y616 ; home Y axis
G1 X5 Y-5 F10000 ; go back a few mm
G1 H1 X-593 F1000 ; move slowly to X axis endstop once more (second pass)
G1 H1 Y616 ; then move slowly to Y axis endstop
G90 ; absolute positioning
G1 X5 Y5 F12000 ; go to first bed probe point and home Z
G30 ; home Z by probing the bed
; homex.g
; called to home the X axis
;
; generated by RepRapFirmware Configuration Tool v3.1.4 on Thu Oct 29 2020 18:46:36 GMT-0600 (Central Standard Time)
G91 ; relative positioning
G1 H2 Z5 F6000 ; lift Z relative to current position
G1 H1 X-593 F10000 ; move quickly to X axis endstop and stop there (first pass)
G1 X5 F10000 ; go back a few mm
G1 H1 X-593 F1000 ; move slowly to X axis endstop once more (second pass)
G1 H2 Z-5 F6000 ; lower Z again
G90 ; absolute positioning
; homey.g
; called to home the Y axis
;
; generated by RepRapFirmware Configuration Tool v3.1.4 on Thu Oct 29 2020 18:46:36 GMT-0600 (Central Standard Time)
G91 ; relative positioning
G1 H2 Z5 F6000 ; lift Z relative to current position
G1 H1 Y616 F10000 ; move quickly to Y axis endstop and stop there (first pass)
G1 Y-5 F10000 ; go back a few mm
G1 H1 Y616 F1000 ; move slowly to Y axis endstop once more (second pass)
G1 H2 Z-5 F6000 ; lower Z again
G90 ; absolute positioning
; homez.g
; called to home the Z axis
;
; generated by RepRapFirmware Configuration Tool v3.1.4 on Wed Oct 28 2020 15:43:06 GMT-0600 (Central Standard Time)
G91 ; relative positioning
G1 H2 Z5 F6000 ; lift Z relative to current position
G90 ; absolute positioning
G1 X5 Y5 F12000 ; go to first probe point
G30 ; home Z by probing the bed