11-08-2016 09:35 AM
Hi all,
In my program, I use an event structure and during a process, I want to add Stop Emergency button.
How can I do ?
Thanks
11-08-2016 09:45 AM
What exactly should this emergency stop button do that isn't already being done by the stop button you have in there now?
11-08-2016 11:28 AM
For example, if the process has 10 step, Emergency button can stop at least between 2 step
11-08-2016 11:47 AM
Use a state machine and don't congest event cases. They should always completed immediately.
What happens in the various "steps". Just a waits or something that takes a while and cannot be interrupted?
11-08-2016 11:59 AM
something that takes a while and cannot be interrupted, so wait the end of 1 step before interrupt
11-08-2016 12:15 PM
Again, don't use a sequence. Use a state machine and check termination after each state.
11-08-2016 12:16 PM
ok, I never use State Machine, I will look for an example