Week - 4

1.For creating the washing machine working the important thing are Chart ,Display ,Constant ,Lamp ,Rocker Switch
A Rocker switch from the dashboard library is used with a constant to supply the power and as water supply. A lamp is used to indicate the power status and water status. The status of running can be seen by the glowing lamp.

Then we need to create the chart for the processes that want to be done after staring the machine step by step. We created with two conditions for power supply
One is with power supply available and second with water supply available .if the power supply at entry is 1 and water supply is on ,then machine will get activated and start the next process
The following four operation states has working under a fixed time interval as mentioned in the chart
After all process has done washing machine completed LED will glow and shut the machine off
The parameters in chart are 
THE OUTPUT WILL BE WHEN THE SWITCH IS OFF/NOT WORKING CONDITION IS

the above case there is no power supply to machine
THE OUTPUT WHEN THE WASHING MACHINE IS WORKING

2.

for creating the help of a slider gain to provide input to the chart ,we use values from 0 to 100 ,the slider help in changing the speed accordingly .The display will show the out put as that gear is it present
THE OUTPUT PLOT WILL BE AS BELOW AS BY CHANGING THE SLIDER VALUE

Speed range :0 to 15kmph.
Input speed :9kmph
its 1 GEAR

Speed range :16 to 25kmph
Input speed :19
And the gear is 2

Speed range :26 to 40kmph
Input speed :33
And the gear is 3

Speed range :41 to 60kmph
Input speed :59
And the gear is 4

Speed range :Above 60kmph
Input speed :82
And the gear is 5