Doubt Regarding Encoder

Extremely good pickup on the specs of this encoder, with the push-pull output stage. Using the diodes on the encoder output will make the interface (to the arduino) independent of the encoder's DC supply voltage. Convenient.