Russ
Lifetime Supporting Member
Why is it that I can use multiple instances of an otl for a bit.... and the code works just as I planned it, yet... I can't use multiple instances of the OTU?
Just had a client had a problem bringing an RTO online.. and the problem was that there were 2 instances of the otu command for the said bit.. the last occurrence of the otu in the logic is the controlling otu.. that is the only one that could unlatch the bit.
The otu that was earlier in the logic was true, and should have unlatched the bit.. but it didn't. I learned this lesson years ago, and it's interesting to find it in someone else's code.
But it got me thinking.. in my temp avg logic I use multiple otl's without a problem (though I only have one occurrence of the otu).
Is this a concious decision on the part of Rockwell, or is it a bug?
Regards,
Russ Friend
Just had a client had a problem bringing an RTO online.. and the problem was that there were 2 instances of the otu command for the said bit.. the last occurrence of the otu in the logic is the controlling otu.. that is the only one that could unlatch the bit.
The otu that was earlier in the logic was true, and should have unlatched the bit.. but it didn't. I learned this lesson years ago, and it's interesting to find it in someone else's code.
But it got me thinking.. in my temp avg logic I use multiple otl's without a problem (though I only have one occurrence of the otu).
Is this a concious decision on the part of Rockwell, or is it a bug?
Regards,
Russ Friend