$ 0 0 For COREXY machines a common error is to confuse max and min endstop because the bed is moving. So max is at the lower end and min is at the top.