See:
Settings/Motors/Limit Switches