If your endstop is at the maximum position then it homes towards max and not 0.
Endstop position can be beyond the maximum or minimum limits and can even be negative if the nozzle leaves the printable area.
You may want to read here for this:
If your endstop is at the maximum position then it homes towards max and not 0.
Endstop position can be beyond the maximum or minimum limits and can even be negative if the nozzle leaves the printable area.
You may want to read here for this: