取消
显示结果 
搜索替代 
您的意思是: 

Stop button during program wait in a state machine

已解决!
转到解答

Thanks everyone for the help.

 

I decided to use RavensFan's method and it worked nicely.

0 项奖励
11 条消息(共 15 条)
1,602 次查看

Sorry if this is ancient history, but how would you wire in a stop command with a control in this example?

0 项奖励
12 条消息(共 15 条)
816 次查看

@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"?

0 项奖励
13 条消息(共 15 条)
804 次查看

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.

0 项奖励
14 条消息(共 15 条)
789 次查看

@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:

 

altenbach_0-1681252465519.png

 

 

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.

 

 

0 项奖励
15 条消息(共 15 条)
769 次查看