Pwm motor controller

Would this work for pwm control of a 24v dc motor if I cut off the pot and used those wires to connect it to arduino? this

Hello there!

Before connecting an Arduino to that port, I would try and find out what voltage is applied to the red input side of the potentiometer. Is there a datasheet on the controller board?

Dackie:
Would this work for pwm control of a 24v dc motor if I cut off the pot and used those wires to connect it to arduino?

NO, not like that. An Arduino cannot directly do what a potentiometer does.

You may be able to replace the manual potentiometer with a digital potentiometer that can be controlled by the Arduino.

...R