Capturing m0-m1 file data – Rockwell Automation 1746-HSCE,D17466.5 High-Speed Counter Module User Manual

Page 162

Advertising
background image

Publication 1746-UM006B-EN-P - August 2005

B-8 M0 and M1 Files

Capturing M0-M1 File Data

The first two ladder diagrams in the last section illustrate a technique
allowing you to capture and use M0 or M1 data as it exists at a
particular time. In the first figure, bit M0:2.1/1 could change state
between rungs 1 and 2. This could interfere with the logic applied in
rung 2. The second figure avoids the problem. If rung 1 is true, bit
B3/10 captures this information and places it in rung 2.

In the second example of the last section, a COP instruction is used to
monitor the contents of an M1 file. When the instruction goes true, the
6 words of data in file #M1:4.3 is captured as it exists at that time and
placed in file #N10.0.

Advertising