372 Rockwell Automation Publication 1756-RM003N-EN-P - October 2011
Chapter 8 Array (File)/Misc. Instructions (FAL, FSC, COP, CPS, FLL, AVE, SRT, STD, SIZE)
Execution:
Condition Relay Ladder Action Structured Text Action
Prescan The rung-condition-out is set to false. No action taken.
Rung-condition-in is false The rung-condition-out is set to false. 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.
Postscan The rung-condition-out is set to false. No action taken.
Instruction Execution
Rung-condition-out is set to
true.
End
End_address = start_address + (Length ∗ number
of bytes in a destination element)
Yes
No
End_address > end of
destination array
End_address = end of destination array
Source_address = Source
Yes
No
Destination_address =
end_address
Copy data in source_address to destination
_address.
Source_address = source _address + 1
Destination_address = destination_address + 1