EasyManua.ls Logo

Allen-Bradley micrologix 1500 - Chapter 14 COP - Copy File

Allen-Bradley micrologix 1500
424 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Publication 1762-RM001C-EN-P
14-2 File Instructions
COP - Copy File
Instruction Type: output
The COP instruction copies blocks of data from one location into another.
The source and destination file types must be the same except bit (B) and
integer (N); they can be interchanged. It is the address that determines the
maximum length of the block to be copied, as shown in the following
table:
COP
Copy File
Source #N7:0
Dest #N7:1
Length 1
COP
Table 14.1 Execution Time for the COP Instruction
Controller When Rung Is:
True False
MicroLogix 1200 19.08
µ
s + 0.8 µs/word 0.0
µ
s
MicroLogix 1500 15.9
µ
s + 0.67 µs/word 0.0
µ
s
Table 14.2 COP Instruction Valid Addressing Modes and File Types
For definitions of the terms used in this table see Using the Instruction Descriptions on page4-2.
Parameter
Data Files
(1)
(1) The ST file is not valid for MicroLogix 1500 1764-LSP Series A processors.
Function Files
CS - Comms
IOS - I/O
Address
Mode
(2)
(2) See Important note about indirect addressing.
Address
Level
O
I
S
B
T, C, R
N
ST
L
MG, PD
RTC
HSC
PTO, PWM
STI
EII
BHI
MMI
DAT
TPI
Immediate
Direct
Indirect
Bit
Word
Long Word
Element
Source •• •••• ••
Destination •• •••••
••
Length
IMPORTANT
You cannot use indirect addressing with: S, MG, PD, RTC,
HSC, PTO, PWM, STI, EII, BHI, MMI, DAT, TPI, CS, IOS,
and DLS files.
Table 14.3 Maximum Lengths for the COP Instruction
Source/Destination Data Type Range of Length Operand
1 word elements (ie. word) 1 to 128
2 word elements (ie. long word) 1 to 64
3 word elements (ie. counter) 1 to 42
42 word elements (ie. string) 1 to 3

Table of Contents

Other manuals for Allen-Bradley micrologix 1500

Related product manuals