@daniel-armstrong When I imagine bottom left, if I'm standing in front of the machine, I'm thinking of the X limit switch on my left, and the Y limit switch closest to me. If this is correct, then both X and Y are homing to the low side.
@daniel-armstrong said in Homing and Axis issues:
M574 X0 P"xstop" ; Set active high X endstop
M574 Y0 P"ystop" ; Set active high Y endstop
M574 Z1 P"zstop" ; Set active high Z endstop
Why X0 and Y0 above? If you intend to have them on the low side of each axis, it should be X1 and Y1.
https://docs.duet3d.com/User_manual/Reference/Gcodes/M574 . I would also recomend setting the S flag as well (unsure if there is a default). Sounds like they should be:
M574 X1 P"xstop" S1 ; X axis homes low side, active high
M574 Y1 P"ystop" S1 ; Y axis homes low side, active high
M574 Z1 P"zstop" S1 ; Z axis homes low side, active high
Unsure on Z, reused what you had.
What I'm imaging based on "bottom left", is this isn't correct, let me know!
7e3b41ed-c98f-4b65-ac6c-05fe5ff95aae-image.png
If my thoughts above are correct, then in homeall.g you appear to be moving X and Y in the wrong direction. Again, check my notes above for Z. Some questions:
I see move.axes[0].max2, move.axes[1].max2, move.axes[2].max2 ... is the max2 right? Later you use move.axes[0].max, but I'm not familiar with a max2 in the object model (I'm also not particularly well versed in CNC mode)
You're using H1 mode for your homing moves, which is good. I think then that the G92 command is redundant, as H1 is setting position to the limit defined in M208.