09-16-2016 10:12 AM
Thanks everyone for the help.
I decided to use RavensFan's method and it worked nicely.
04-11-2023 09:07 AM
Sorry if this is ancient history, but how would you wire in a stop command with a control in this example?
04-11-2023 09:57 AM
@taylorblack wrote:
Sorry if this is ancient history, but how would you wire in a stop command with a control in this example?
This thread contains several examples. Can you explain in detail what problem you are trying to solve? What is a "stop command"?
04-11-2023 01:45 PM
It is the example from Crossrulz. I'm simply trying to figure out how to make a stop button immediately transition to a stop state in a state machine so that I can shut down the running equipment.
04-11-2023 05:45 PM - edited 04-11-2023 05:48 PM
@taylorblack wrote:
It is the example from Crossrulz..
That's more like a fragment that anything else and requires significantly more code to be functional. Personally, I refuse to resize shift registers for more than one history value. Bad form, IMHO. 😄
Still, maybe all you need is a select based on the stop button to overwrite the state, e.g. as follows:
Of course dataflow dictates that the previous state needs to complete, so if you have slow states with lengthy sequences structures (yuk!), you are out of luck. I would recoomend to start a new thread and attach what you have so we get a better picture of the problem.