Rockwell Automation Publication 1756-RM003N-EN-P - October 2011 375
Array (File)/Misc. Instructions (FAL, FSC, COP, CPS, FLL, AVE, SRT, STD, SIZE) Chapter 8
When enabled, the COP instruction copies a contiguous block of bytes, starting
at array_timer[0]. The length is nine timer structures.
Relay Ladder
Structured Text
IF S:FS THEN
array_timer[0].pre := 500;
array_timer[0].acc := 0;
COP(array_timer[0],array_timer[1],10);
END_IF;
Array_timer[0] First the instruction copies timer[0]
values to timer[1].
Array_timer[1] Then the instruction copies timer[1]
values to timer[2].
Array_timer[2] Then the instruction copies timer[2]
values to timer[3].
Array_timer[3] Then the instruction copies timer[3]
values to timer[4].
Array_timer[4]
·
·
·
Array_timer[9] Finally, the instruction copies timer[9]
values to timer[10].
Array_timer[10]