Predictive maintenance in automation – how to use encoders, transducers, and position sensors