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

power up<br />

service<br />

needed<br />

reset button<br />

idle<br />

coin inserted<br />

coin return<br />

inserting<br />

coins<br />

no cups<br />

OR no coffee<br />

OR jam sensor<br />

cup removed<br />

coin return<br />

right amount<br />

entered<br />

make<br />

coffee<br />

button pushed<br />

user<br />

choose<br />

Figure 12.3<br />

State Diagram for a Coffee Machine<br />

12.1.1 State Diagram Example<br />

Consider the traffic lights in Figure 12.4. The normal sequences for traffic lights<br />

are a green light in one direction for a long period of time, typically 10 or more seconds.<br />

This is followed by a brief yellow light, typically 4 seconds. This is then followed by a<br />

similar light pattern in the other direction. It is understood that a green or yellow light in<br />

one direction implies a red light in the other direction. Pedestrian buttons are provided so<br />

that when pedestrians are present a cross walk light can be turned on <strong>and</strong> the duration of<br />

the green light increased.<br />

www.PA<strong>Control</strong>.com

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

Saved successfully!

Ooh no, something went wrong!