Arduino Controllable Digital Pot for Motor Controller
It is doubtful that the pot has 48 volts across it. But since you have one of the controllers, you should be able to measure the voltage across it and the voltage on each side of it to ground. This will help you with possibly finding a digital pot that will do the job.