Big John T
Member
I have used a few different ways to program sequencial events in PLC's. Is there a rock solid way to make sure your sequence gets followed? I'm doing a dozen or so steps most of the time in either AB or AD plcs... I don't program everyday as I wear many hats so I tend to forget if one works better than the other must me sometimers LOL...
I use:
Do task 1
When task 1 is done do task 2
When task 2 is done do task 3
...
or:
If x=1 do task 1
When task 1 is done change x to 2
If x=2 do task 2
When task 2 is done change x to 3
...
There always seems to be something that breaks the first way after you start adding to the code...
Just looking for ideas and preferences.
Thanks
John
I use:
Do task 1
When task 1 is done do task 2
When task 2 is done do task 3
...
or:
If x=1 do task 1
When task 1 is done change x to 2
If x=2 do task 2
When task 2 is done change x to 3
...
There always seems to be something that breaks the first way after you start adding to the code...
Just looking for ideas and preferences.
Thanks
John