PWM values to motor controller

What about getting the Arduino to control a digital potentiometer. Then there is no need for any change to the controller.

If you only want the Arduino to know the potentiometer setting (and not to control the speed) perhaps you could just tap into the existing circuit to measure the voltage on the pot.

...R