Let's say... A_DINT = 100
In some subroutine:
rung 1 : A_DINT = A_DINT + 1
rung 2 : A_DINT = A_DINT + 2
rung 3 : A_DINT = A_DINT + 3
After a scan of the subroutine completes, will A_DINT be 103? Or will it be 106?
I'm unsure because I vaguely remember a mention of the input (left side of the ladder) doesn't get updated until a full scan completes and the output (right side of the ladder) gets fed back into the input.
In some subroutine:
rung 1 : A_DINT = A_DINT + 1
rung 2 : A_DINT = A_DINT + 2
rung 3 : A_DINT = A_DINT + 3
After a scan of the subroutine completes, will A_DINT be 103? Or will it be 106?
I'm unsure because I vaguely remember a mention of the input (left side of the ladder) doesn't get updated until a full scan completes and the output (right side of the ladder) gets fed back into the input.
Last edited: