Let's say you have a microswitch as your home switch and it's operated by a cam, the home point
on the left side of the cam, may be in a different place to the home point on the right side of the cam.
For this mid axis home switch system to work, the home switch must be held active from the activation point all the way to one end of travel.
It can NOT, for example, be activated by a cam momentarily as the axis moves and then comes off the cam as movement continues in the same direction.
For this reason, to my mind, non contact switches are the best option. Proximity or optical.
Mechanical roller type switch would wear out the roller in normal use.
Greg