Relay Ladder; Structured Text - Allen-Bradley Logix5000 Reference Manual

1756 controllogix, 1768 compactlogix, 1769 compactlogix, 1789 softlogix, 1794 flexlogix, powerflex 700s with drivelogix
Hide thumbs Also See for Logix5000:
Table of Contents

Advertisement

Array (File)/Misc. Instructions (FAL, FSC, COP, CPS, FLL, AVE, SRT, STD, SIZE)
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);
Rockwell Automation Publication 1756-RM003N-EN-P - October 2011
Chapter 8
373

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents