zacslade
Member
Hi all,
I'm wondering when the inputs and outputs are evaluated in a 1769-L30ER. Are IO evaluated live, during the program cycle? Or are they evaluated once at the beginning of the cycle?
I'm troubleshooting some code which has something like the following sequence:
and I suspect that MYINPUT is becoming true sometime midway between rung 7 and rung 16. Is that possible?
PS. I know there are better ways to write the above code, but there's some red tape around this code, so I'm limiting the changes I make.
Thanks!
I'm wondering when the inputs and outputs are evaluated in a 1769-L30ER. Are IO evaluated live, during the program cycle? Or are they evaluated once at the beginning of the cycle?
I'm troubleshooting some code which has something like the following sequence:
rung7: If MyInput is received and SomeCondition is met, reject MyInput
XIC(MyInput)GRT(SomeCondition)ONS(oneshot)[OTU(MyInput),OTL(RejectMyInput)]
...rungs 8-15: some logic
rung16: MyInput triggers MyOutput
XIC(MyInput)XIO(RejectMyInput)OTE(MyOutput)
rung17: Clear rejection
OTU(RejectMyInput)
and I suspect that MYINPUT is becoming true sometime midway between rung 7 and rung 16. Is that possible?
PS. I know there are better ways to write the above code, but there's some red tape around this code, so I'm limiting the changes I make.
Thanks!