12.05.2014 Views

Automating Manufacturing Systems - Process Control and ...

Automating Manufacturing Systems - Process Control and ...

Automating Manufacturing Systems - Process Control and ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

plc timers - 9.18<br />

executed as normal. If A is false the following ladder logic will be examined, but all of the<br />

outputs will be forced off. The second MCR function appears on a line by itself <strong>and</strong> marks<br />

the end of the MCR block. After the second MCR the program execution returns to normal.<br />

While A is true, X will equal B,<strong>and</strong>Y can be turned on by C, <strong>and</strong> off by D.But,ifA<br />

becomes false X will be forced off, <strong>and</strong> Y will be left in its last state. Using MCR blocks to<br />

remove sections of programs will not increase the speed of program execution significantly<br />

because the logic is still examined.<br />

A<br />

MCR<br />

B<br />

X<br />

C<br />

D<br />

L<br />

U<br />

Y<br />

Y<br />

MCR<br />

Note: If a normal input is used inside an MCR block it will be forced off. If the<br />

output is also used in other MCR blocks the last one will be forced off. The<br />

MCR is designed to fully stop an entire section of ladder logic, <strong>and</strong> is best<br />

used this way in ladder logic designs.<br />

Figure 9.18<br />

MCR Instructions<br />

If the MCR block contained another function, such as a TON timer, turning off the<br />

MCR block would force the timer off. As a general rule normal outputs should be outside<br />

MCR blocks, unless they must be forced off when the MCR block is off.

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

Saved successfully!

Ooh no, something went wrong!