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

Create successful ePaper yourself

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

plc states - 12.23<br />

Each of the alternate transitions out of a state should be give a priority, from highest to<br />

lowest. The state equations can then be written to suppress transitions of lower priority<br />

when one or more occur simultaneously. The state diagram in Figure 12.25 has two transitions<br />

A <strong>and</strong> C that could occur simultaneously. The equations have been written to give A<br />

a higher priority. When A occurs, it will block C in the equation for STC. These equations<br />

have been converted to ladder logic in Figure 12.26.<br />

STA<br />

B<br />

D<br />

STC<br />

A<br />

C<br />

STB<br />

first scan<br />

STA = ( STA + STB ⋅ A) ⋅ STA ⋅ B<br />

STB = ( STB + STA ⋅ B + STC ⋅ D) ⋅STB ⋅ A ⋅ STB ⋅ C + FS<br />

STC = ( STC + STB ⋅ C ⋅ A) ⋅ STC ⋅ D<br />

Figure 12.25<br />

State Equations with Prioritization

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

Saved successfully!

Ooh no, something went wrong!