How to calculate the maximal travel within the rail ? It corresponds to the length of the rail, from which you subtract the runner length and 2x the position of one end stop.