The start/stop and rpm are setup in the .nc file:
I’ve modified my post processor to include:
This line at the beginning of the file.
M8 M3 S? (whatever rpm you want, 0 - 24000 in my case)
This line at the end.
S0 M5 M9
Using the UGS command line with the VFD switched on. If I type M8 the relay controlling ‘Run’ triggers. Then I type M3 S10000 and the spindle will run at 10000rpm.
Are you using a relay to switch on run? This will connect DCM to FOR.
ACM and VI inputs on the VFD to the Spindle (0-10v) and GND outputs on the X-Controller.
Also make sure you have set $30=24000. (That’s the top speed of my spindle).
Hope this will help.
Since I set this up I’ve had no problems controlling my 3phase spindle.