RSLogix5000 ver 12.02
I understand how a ONS works on a rung, basically only allowing the rung to be true for one scan, until it goes false again.
If I use a ONS on a branch, how does it change the way it acts?
Does it only allow that branch to be true once, until it goes false?
I attached an example of my code, it's written in 500 which doesn't allow ONS on branches, but 5000 does. I just used this to illustrate since my laptop does not contain 5000 software.
Basically, I am using a toggle bit for 2 pushbuttons, that latch and unlatch an operation. I also have outside conditions (outside of the 2 pushbuttons) that latch and unlatch the same operation. I wanted the toggle bit to follow the operation latch so that when the outside condition was no longer true, the pushbutton only has to be hit once to unlatch, instead of twice (once to "latch" the already latched operation, and again to unlatch).
I know it works, (maybe some hidden bugs, but I haven't found them yet) but I don't quite grasp how the ONS works inside the branch.
I understand how a ONS works on a rung, basically only allowing the rung to be true for one scan, until it goes false again.
If I use a ONS on a branch, how does it change the way it acts?
Does it only allow that branch to be true once, until it goes false?
I attached an example of my code, it's written in 500 which doesn't allow ONS on branches, but 5000 does. I just used this to illustrate since my laptop does not contain 5000 software.
Basically, I am using a toggle bit for 2 pushbuttons, that latch and unlatch an operation. I also have outside conditions (outside of the 2 pushbuttons) that latch and unlatch the same operation. I wanted the toggle bit to follow the operation latch so that when the outside condition was no longer true, the pushbutton only has to be hit once to unlatch, instead of twice (once to "latch" the already latched operation, and again to unlatch).
I know it works, (maybe some hidden bugs, but I haven't found them yet) but I don't quite grasp how the ONS works inside the branch.