We used this method on overhead cranes and other reciprocating machinery, it's just that whenever limits are mentioned in regard to cnc machines they always talk about 2 switches per axis.