Hi Alan,
Ai... That sound painfull. I always use Delta, they have around 8 parameter's of ca 200 that are usefull for me.
I alway's turn of the fan sound for the noise as first.
But okey. With braking you need separate device. I don't know how it's called, i think resistor or brake device to catch up the brake heat.
If i switched from m3 to m4 today several times, the program was not looking at spindle rpm. In my postgui there was also no
comment : spindle at speed. I think you have to connect the encoder and try it. But i think the code will be looking at your current rpm, only for thread milling i think it will look at the rpm.
But if you want to be sure and there is no other option...
If you have a simple led-indicator or rpm indicator, you can use a user defined macro to make your wishes.
In macro i think M101 and above you can say what you want to do. If it is too difficult for you.
I can help you with writing some code.
In the User Defined Macro code, you have a input, this is your encoder rpm or led indicator that say's we are zero.
After that state. On or Off bit input / state. You can say start spindle M3 or M4.
It's quite easy to do.
A other option is to make a wait command. You clock your spindle down time and use it as wait function.
In hal a time function is available. If not, i have a good one. Source Rodw.