 And, if encoder B triggers first and A does as follow the computer knows it was in the other direction.Commercial models are enclosed in an aluminum "box" with a rubber protection on the side where the encoder slides.Used primarily where shielding from coolant and chips is necessary or where a resolution of 5μm (0.0002 in) or better is required (surface grinders).