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