Rockwell Automation 1785-Lxxx Enhanced and Ethernet PLC-5 Programmable Controllers User Manual

Page 318

Advertising
background image

Publication 1785-UM012D-EN-P - July 2005

D-18 Instruction Set Quick Reference

File Copy
COP

When the input conditions are true, the controller copies
the contents of the Source file (N7) into the Destination file
(N12). The source remains unchanged. The COP instruction
copies the number of elements from the source as specified
by the Length.

As opposed to the MOV instruction, there is no data type
conversion for this instruction.

File Fill
FLL

When the input conditions are true, the controller copies
the value in Source (N10:6) to the elements in the
Destination (N12). The FLL instruction only fills as many
elements in the destination as specified in the Length.

As opposed to the MOV instruction, there is no data type
conversion for this instruction.

Instruction

Description

COP

COPY FILE

Source

Length

#N7:0

5

Dest

#N12:0

FLL

FILL FILE

Source

Length

N10:6

5

Dest

#N12:0

Advertising