Im using A B's RS logix 5000. Just started programming with ladder logic. I'm wondering if it is possible to use a variable in a output function. In other words, I want to set an output depending on a counter value; If the counter is one, I want to set output Local:2:O.DATA.1 If the counter is two, I want to set output Local:2:O.DATA.2 and so on. Other wise, I have to write the same section 32 times...
I'm sure there is an easier way.
Thanks for your help.
Tom