[Solved]Create Dishwashing Machine Control System Taking Account Following States State Power Avai Q37228876
Create a dishwashing machine control system, by taking inaccount the following states:
-‘Off’ state is when no power is available, or the switch buttonis off.
-Once power is available and the power button is on, the machinegoes to `Idle` state.
-Once the start button is pressed and all checks have passed(water available, door closed, lock released…), the dishwashingmachine can go into different states based on the user selection ofthe washing type:
o If `Normal’ washing type is selected, the machinegoes to `Apply Soap` state for 30 minutes by running water pump andreleasing soap. Afterwards, it goes to `Rinse` state for30 minutes, and then to `dry` state for10mins.
o If ‘Rinse’ type is selected, the machine would go to `Rinse`state for 30 minutes by pumping water. Afterwards, it goes to `dry`state for 10 minutes.
o If ‘Delicate’ type is selected, the machine goes to `ApplySoap` state for 30 minutes and then goes to `Rinse` state for 30minutes.
When the washing cycle is complete the machine will sound thebuzzer and goes to `Idle` state.
Write a pseudo‐code for the controller and consider thefollowing:
1‐ Reading sensors and controllers.
2‐ Taking action based on reading
3‐ Handling exception (e.g. failed sensors)
Expert Answer
Answer to Create a dishwashing machine control system, by taking in account the following states: -‘Off’ state is when no pow… . . .
OR

