the only sticking point may be the spindle drive, as you'll need to find out what varies the speed and what enables the spindle. Normally there is a relay (SGR, spindle go relay) that enables the spindle, and an isolated 0-10v board that varies the speed.