Rockwell Automation Publication 1756-RM003N-EN-P - October 2011 499
Special Instructions (FBC, DDT, DTR, PID) Chapter 13
Postscan The rung-condition-out is set to false.
Condition Relay Ladder Action
Compare.POS ≥
Compare.LEN
Yes
No
Compare.POS = compare.LEN
Compare.DN bit is set.
Compare
Goto
Exit
Source[compare.POS] =
Reference[compare.POS]
No
Yes
Examine result.DN
bit.
Result.DN = 1
Result.DN = 0
Compare.POS =
compare.POS + 1
Compare.FD bit is set.
Result.DN bit is cleared.
Result.POS value is
cleared.
Result.POS < 0
Yes
No
Result.LEN ≤ 0
Yes
No
Compare.ER bit is set.
Goto
Exit
Yes
no
Major Fault
Result[result.POS] = compare.POS
result.POS = result.POS + 1
Result.POS >
result.LEN
No
yes
Result.DN bit is set.
page 498
page 498
Result.POS >
size of result array