Access time – Rockwell Automation 1746-HSCE,D17466.5 High-Speed Counter Module User Manual

Page 158

Advertising
background image

Publication 1746-UM006B-EN-P - August 2005

B-4 M0 and M1 Files

Transferring Data Between
Processor Files and M0 or
M1 Files

As pointed out earlier, the processor does not contain an image of the
M0 or M1 file. As a result, you must edit and monitor M0 and M1 file
data via instructions in your ladder program. For example, you can
copy a block of data from a processor data file to an M0 or M1 data
file or vice versa using the COP instruction in your ladder program.

The COP instructions below copy data from a processor bit file and
integer file to an M0 file. Suppose the data is configuration
information affecting the operation of the specialty I/O module.

The COP instruction below copies data from an M1 data file to an
integer file. This technique is used to monitor the contents of an M0 or
M1 data file indirectly, in a processor data file.

Access Time

During the program scan, the processor must access the specialty I/O
card to read/write M0 or M1 data. This access time must be added to
the execution time of each instruction referencing M0 or M1 data. For
the SLC 5/03, SLC 5/04, and SLC 5/05 processors, the instruction types
vary in their execution times.

COP

COPY FILE
Source

#B3:0

Dest

#M0:1.0

Length

16

COP

COPY FILE
Source

#N7:0

Dest

#M0:1.16

Length

27

] [

S:1

15

First scan bit. It makes
this rung true only for
the first scan after
entering Run mode.

COP

COPY FILE
Source

#M1:4.3

Dest

#N10:0

Length

6

Advertising