rotary encoder for CNC machines