Shielding
Encoder, analog sensors and actors should always be connected with shielded, twisted paired wires.