Challenge

Week - 4

TASK1

WE can first inset a chart block and open the chart block.
we can create the states inside the chart block,that is
start , soaking , washing , rinsing , dryer, end , water_supply.
entry value is 1 and exit value is 0 for all states .
power and water supply in the start to soaking state.
soaking to washing tine is 200 second
washing to rinsing time is 100 second
rinsing to dryer time is 20 second
dryer to end time is 50 second
open the symbols and make the input and output connections properlly
the water supply and power connect to constants and the constants is connect to rocker switch blocks.
water, soak , washing , rinsing , dryer ,cycle outputs are connect to seperate displays.
the seperate displays are connect to seperate lamps.
set the lapms for 2type colors.
the stoping time can change to 430sec.

condition 1: water_supply OFF
when the showing the blue color,when thre is no water_supply the process is terminated is shown the blue indication.

condition 2: water_supply ON
when showing the cycle in green color and other all blue, all the states have been executed and indicating the process completion indicator.

TASK2

WE can first inset a chart block and open the chart block.
we can create the states inside the chart block,that is
gear1 , gear2 , gear3 , gear4 , gear5.
speed of first gear is below 15mph
speed of second grar is above 15mph and below 25mph
speed of third gear is abobe 25mph and below 40mph
speed of fourth gear is above 40mph and below 60mph
speed of fifth gear is above 60mph
open the symbols and make the input and output connections properlly.
constant block is connect to speed terminal and slider gain is connect between them
the value of slider gain block is o to 100 can chnge and stopin time is change to inf.
display is connect to gear output and the lamp block connect display block'
we can set the values of gears in a lamps such a vay that adding the some color.

the color of lamp can shows the gear position;

gear_1
input speed 10mph and color green

gear_2
input speed 20mph and color blue

gear_3
input speed 30mph and color red

gear_4
input speed 50mph and color orange

gear_5
input speed 80mph and color violet

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.

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.