You could arrange it so the limit switch travels and hits limit stops at each end. That is my intention when I get round to recommissioning my machine after the refurb of my 'den'.