... for pump2,I/P4-stop PB4 for pump2 output:-o/p1:-green lamp,o/p2:-red lamp,o/p3:-pump1,o/p4:-pump2
1. when I/P1 is pressed:-pump1 and red lamp glows .then
2.when I/P3is pressed:- pump starts,green lamp is ON and red lamp gets off.then
3.when I/P2 is pressed :-pump1 switches,off,red lamp glows with green lamp off.then
4.when I/P4 is pressed :-pump2 switches ,off and red lamp also goes off.(as green lamps was previously off in step)