Access time – Rockwell Automation 1203-SM1 SLC to SCANport Communication Module User Manual

Page 61

Advertising
background image

M0, M1, and G Files

A–5

Publication 1203–5.9 –– October 1996

The following COP instructions copy data from a processor bit file
and integer file to an M0 file. For the example, assume the data is
configuration information that affects how the specialty I/O module
operates.

COP
Copy FILE
Source

#B3:0

Dest

#M0:1.0

Length

16

S:1

15

] [

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

COP
Copy FILE
Source

#N7:0

Dest

#M0:1.16

Length

27

The following COP instruction 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.

COP
Copy FILE
Source

#M1:4.3

Dest

#N10:0

Length

6

Access Time

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

Advertising