I do have the script I believe. So does MRM.
The speed will be controlled by a single pulse per rev encoder and Mach.
IIRC there is a brake on the stock spindle motor that must be energized to release. As shown on your schematic. I use a Bardac 1600i and it doesn't use the tach signal. I think I have the brake wired to the contactor.
Sent from my iPhone using Tapatalk