Hi Peter,

Please try setting the M3, M4, M5, and S Actions to Exec/Wait.

Please zip your C:\CNCLathe directory and post it for us.

I then changed to M04 and tried to run program and it was ignored.
Can you repeat this and describe more precisely what you did, what the GCode Program did, what happened, what was printed on the KMotion Console Screen, and whether the Spindle Axis was enabled on the Axis Screen before and after?

Tried the M04 from the command line and it started but only ramped to 4 rpm
I'm guessing this was drift while the axis was disabled. Looking at the KMotion.exe Screens could have confirmed this.

Please consider interfacing your Amplifier Enables to KFLOP. This will simplify a number of issues. Please read this article.