Relay Ladder; Structured Text; Rockwell Automation Publication 1756-Rm003N-En-P - October - 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)
When enabled, the COP instruction copies a contiguous block of bytes, starting
at array_timer[0]. The length is nine timer structures.
Array_timer[0]
Array_timer[1]
Array_timer[2]
Array_timer[3]
Array_timer[4]
·
·
·
Array_timer[9]
Array_timer[10]

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;

Rockwell Automation Publication 1756-RM003N-EN-P - October 2011

First the instruction copies timer[0]
values to timer[1].
Then the instruction copies timer[1]
values to timer[2].
Then the instruction copies timer[2]
values to timer[3].
Then the instruction copies timer[3]
values to timer[4].
Finally, the instruction copies timer[9]
values to timer[10].
Chapter 8
375

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents