Thanks for the code update I will try it hopefully later today. The point I was attempting to make must have become clouded in my description.
What I was trying to illustrate: The interrupted soft stop was not a criticism of any sort or even a drawback etc. After an interrupted soft stop the inverter never "growled" when ramping up again despite any sudden truncation. It was a "feature" I was highlighting to help in finding the code difference between that and a full stop.
The full stop with a full ramp down and then a new restart always growls on the ramp up. This was intuitively the reverse of what I would have expected.
"The code as it stands will immediately interrupt the slow stop ramp down....etc etc". I assume this is an instant interrupt or is the state of the switch checked at a certain point in the code execution and that generates the interrupt - trying to understand how it never growls when you would expect at least some random remanence issues (on re-ramp) if it was totally asynchronous. Edited 2022-07-05 14:15 by wiseguy