Edit Home Z settings? (change Y distance moved before Z homing)

@KCGreg

Hey, when I am homing Z, I’m having some issues with unwanted X and Y movement.

I’m searching through various firmware options in configuration.h and confirguation_adv.h to try to sort it out.

In your notes — in this post:

https://forum.v1e.com/t/lowrider-skr-1-3-dual-y-and-z-tmc2209-uart-sensorless-homing/

… you showed the following:

#define Y2_USE_ENDSTOP _XMAX_ //This is a change from default

and

#define Z2_USE_ENDSTOP _YMAX_ //This is a change from default

Can you help me know why the Y2 endstop should be told to use XMAX (why X instead of Y), and why the Z2 endstop should be told to use YMAX (why Y instead of Z)?

I cannot rule out these edits as unrelated if I don’t understand what this does and why.

Thanks if you can help me understand!