Rockwell Automation Publication 1756-RM003N-EN-P - October 2011 387
Array (File)/Misc. Instructions (FAL, FSC, COP, CPS, FLL, AVE, SRT, STD, SIZE) Chapter 8
Execution:
Condition Relay Ladder Action Structured Text Action
Prescan The .EN bit is cleared.
The .DN bit is cleared.
The .ER bit is cleared.
The rung-condition-out is set to false.
The .EN bit is cleared.
The .DN bit is cleared.
The .ER bit is cleared.
N/A
Rung-condition-in is true The instruction executes.
The rung-condition-out is set to true.
N/A
EnableIn is set N/A EnableIn is always set.
The instruction executes.
Instruction execution The instruction sorts the specified elements of the array
into ascending order.
The instruction sorts the specified elements of the array
into ascending order.
Postscan The rung-condition-out is set to false. No action taken.
Examine .DN Bit
.DN Bit = 0
.DN Bit = 1
Rung-condition-out is set to
false.
End
.EN bit is cleared.
.ER bit is cleared.
Rung-condition-in is false.