19.08.2013 Views

1747-6.22, Backup Scanner User Manual

1747-6.22, Backup Scanner User Manual

1747-6.22, Backup Scanner User Manual

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

B-200 M0-M1 Files and G Files<br />

Publication <strong>1747</strong>-<strong>6.22</strong><br />

M0/M1 Monitoring Option Enabled<br />

Important: This option is not supported by the SLC 5/02 processor.<br />

The SLC 5/03 and SLC 5/04 processors allows you to monitor the<br />

actual state of each addressed M0/M1 address (or data table). The<br />

highlighting appears normal when compared to the other processor<br />

data files. The processor’s performance will be degraded to the<br />

degree of M0/M1 referenced screen data. For example, if your screen<br />

has only one M0/M1 element, degradation is minimal. If your screen<br />

has 69 M0/M1 elements, degradation is significant.<br />

Transferring Data Between Processor Files and M0 or<br />

M1 Files<br />

The processor does not contain an image of the M0 or M1 file. As a<br />

result, you must edit and monitor M0 and M1 file data via instructions<br />

in your ladder program. For example, you can copy a block of data<br />

from a processor data file to an M0 or M1 data file or vice versa using<br />

the COP instruction in your ladder program.<br />

The COP instructions below copy data from a processor bit file and<br />

integer file to an M0 file. For the example, assume the data is<br />

configuration information affecting the operation of the specialty I/O<br />

module.<br />

First scan bit. It makes<br />

this rung true only for<br />

the first scan after<br />

entering Run mode.<br />

S:1<br />

] [<br />

15<br />

COP<br />

COPY FILE<br />

Source #B3:0<br />

Dest #M0:1.0<br />

Length 16<br />

COP<br />

COPY FILE<br />

Source #N7:0<br />

Dest #M0:1.16<br />

Length 27<br />

The COP instruction below copies data from an M1 data file to an<br />

integer file. This technique is used to monitor the contents of an M0<br />

or M1 data file indirectly, in a processor data file.<br />

COP<br />

COPY FILE<br />

Source #M1:4.3<br />

Dest #N10:0<br />

Length 6

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!