Hollow encoder for industrial applications, Rotary shaft encoder