First it depends on the encoder on the axis -Absolute meaning it knows were it is at power on or the other that requires the machine to be sent to home position/reference at start up ----these have to be very accurate switches and usually are plunger type -------Home position is found using the switch but a seperate dog is used for plus and minus over travel protecting the ball screw ends from being crashed into