B
The top level of program need a program listing within 35 lines of code, I managed 43 but this is not sufficent. Could someone give this code list a look over and see if they could help out.
this is the what is reauired:
Start - Converyor runs
Sw1 then Sw2 are switched, thus stopping Conveyor
2 sec time gap
Valve 1 opens, till Limit 1 is met - Valve 1 closes
2 secs time gap
Valve 2 opens, till Limit 2 is met - Valve 2 closes
2 sec time gap
Mixer turns for 10secs - then off
2 sec time gap
Valve 3 open for 5 sec then closes
C1 starts
All the above to be done 3 times, once count is =3, C1 stays on continues.
Stop sequence, only to stop all once all three counts have been complete, not very safe but best i can do to stop system crashing.
Really cant get the last bit where the stop command comes in.
this is the what is reauired:
Start - Converyor runs
Sw1 then Sw2 are switched, thus stopping Conveyor
2 sec time gap
Valve 1 opens, till Limit 1 is met - Valve 1 closes
2 secs time gap
Valve 2 opens, till Limit 2 is met - Valve 2 closes
2 sec time gap
Mixer turns for 10secs - then off
2 sec time gap
Valve 3 open for 5 sec then closes
C1 starts
All the above to be done 3 times, once count is =3, C1 stays on continues.
Stop sequence, only to stop all once all three counts have been complete, not very safe but best i can do to stop system crashing.
Really cant get the last bit where the stop command comes in.