A question about controlling pm DC motor with long signal wires
The resistance of the 50 meters of wire needs to be considered. The resulting voltage drop may require a higher power supply voltage. The speed variation due to load variation may be greater than it would be with less voltage drop. You need to know how much current the motor requires and how much resistance is added by the wire. You may need to use a larger wire if the voltage drop is too much.