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.7<br />

Step 2: Define State Transition Triggers, <strong>and</strong> add them to the list of states<br />

Description # L1 L2 L3 L4 L5 L6 transition<br />

Green East/West 1 1 0 0 0 0 1 S1<br />

Yellow East/West 2 1 0 0 0 1 0 delay<br />

0 0 1 1 0 0<br />

4sec<br />

Green North/South 3<br />

S2<br />

Yellow North/South 4 0 1 0 1 0 0<br />

delay 4 sec<br />

Figure 12.7<br />

State Table with Transitions<br />

A state diagram for the system is shown in Figure 12.8. This diagram is equivalent<br />

to the state table in Figure 12.7, but it can be valuable for doing visual inspection.<br />

Step 3: Draw the State Transition Diagram<br />

delay 4sec<br />

grn. EW<br />

pushbutton NS (i.e., 10)<br />

yel. NS<br />

first scan<br />

delay 4sec<br />

yel. EW<br />

pushbutton EW (i.e. 01)<br />

grn. NS<br />

Figure 12.8<br />

A Traffic Light State Diagram<br />

12.1.2 Conversion to Ladder Logic<br />

12.1.2.1 - Block Logic Conversion

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

Saved successfully!

Ooh no, something went wrong!