Mach only uses a single pulse ,and it works well ! as you are only single point threading a cyl shaft should be no problem .
Use a proximity switch with a metal target or a gear tooth sensor from honey well .