@bo
Is your motor controller board labelled XMT-2335?
The circuit diagram that Breezy posted was for a KBLC / KBIC controller (I believe Breezy was using it as "an example") - as a result I was confused.
I have found the circuit diagram for the XMT-2335 (see attachment) - building an interface circuit is not going to be easy. It may be cheaper to replace the DC motor controller with one that has an isolated speed control input.
What is the rating of your motor? (Voltage, Amps, number of wires to the actual motor)
There are several different variants of DC motors, one version uses a permanent magnet (2 wires) while another uses a field winding (4 wires).
The KBWS-25D motor controller can handle 220V input and a maximum motor rating of 1/2 or 1 HP (depending on motor voltage rating), has an isolated input circuit - for USD $150 to $160. The KBWS-25D is intended for permanent magnet DC motors.
I had a look for other alternatives (Dart 125 with signal isolation was USD$350) but was struggling to find something as cost effective.