
Juliencr (Customer) asked a question.
I'm programming a test bench with the help of a grafcet and I'm trying to find a way to programme an emergency stop that will deactivate all steps at the same time. I don't want to add a contact at each step to deactivate them since I have a 100 to 150 step. I try to find a way with UDS (user defined structures) or array without success. Did someone have a solution to my problem?
Hi Durallymax and everyone. here's my conclusion.
The most flexible solution that I try is with an array. I will put every step of every subprogram in the array. The first thing to do is to add a "Fill array" function for every step you want to activate with a "first scan bit". For each step after that, you do a "rotate array" if following each other in the array. If not, do a "fill array" to the proper step and another one to delete the old one.