Week - 4
Explanation : a rocket 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 power status is checked at the entry for every.
in the above control logic first state is created with 2 condition for power supply.
one is with power supply available(power switch==1) and second with water supply availabe .
w==1 if the power supply at entry is 1 and water supply is on, then machine machine will get activeted.