Master of TRI-PLC:
I did try a variation yesterday on what you suggested first and it works well. As we all know the only potential problem I have is if the motor is running fast, and I hit feed hold, STEPSTOP will not ramp down to a stop so I could loose position by some steps in open loop control.
I can go through the detail of creating a ramp down cycle hold, but I hope in actual operation the problem will not be a big one.
I would suggest to make a great product even better; a STPmovHLD command would be very popular. The function would allow a person to cause a STEPMOVE command to be brought to a stop in a ramp down to a stop manner and then ramp up and resume the unfinished STEPMOVE once a control bit goes high.
How about a place on the forum where we customer could vote for the list of potential software and hardware changes to you product? As a manufacturer with limited resources, it would allow you to make the product more attractive to your customer - you would sell more and it would cost you less.
Thanks for the help.