Rockwell Automation Publication 1756-RM003N-EN-P - October 2011 373
Array (File)/Misc. Instructions (FAL, FSC, COP, CPS, FLL, AVE, SRT, STD, SIZE) Chapter 8
Example 1: Both array_4 and array_5 are the same data type. When enabled, the COP
instruction copies the first 10 elements of array_4 into the first 10 elements of
array_5.
Relay Ladder
Structured Text
COP(array_4[0],array_5[0],10);
Example 2: When enabled, the COP instruction copies the structure timer_1 into element 5
of array_timer. The instruction copies only one structure to one array element.
Relay Ladder
Structured Text
COP(timer_1,array_timer[5],1);