Challenge

Week - 4

Procedure/Steps:

1. Create a chart block for defining the stateflow as per the given conditions.

2. Inside it, the circular junction is to terminate the signal flow and return a null value.

3. If power is OFF i.e. 0, the process is terminated at the junction else 1 is carry forwarded.

4. If water is OFF i.e. 0, the process is terminated at the junction else 1 is carry forwarded.

5. After this, Soak block gets activated and soaking action takes place.

6. After 200 sec of Soaking, Wash block gets activated and washing action takes place.

7. After 100 sec of Washing, Rinse block gets activated and rinsing action takes place.

8. After 20 sec of Rinsing, Dry block gets activated and drying action takes place.

9. After 50 sec of dry, Finish block gets activated. Finish is to terminate the signal flow in the process and exits the chart.

10. Define power and water as inputs whereas soak, wash, rinse, dry, finish as outputs.

11. Connect the chart block with constant blocks for power and water inputs. Input switches connected to them are slider switch and a toggle switch respectively (to distinguish between the two). Attach lamps to observe the ON/OFF condition.

12. A common scope block is connected to observe the entire washing process and obtain the output plot. Blue color in the lamp indicates that the process is complete.

Your portfolio, next

Ship work like this
in your own course.

Talk to a career counsellor

Free 20-minute call. We'll map the right course to where you want to work.

By submitting you agree to our Terms and Privacy Policy.