Dear colleagues,
urgently need your help.
I need to add flip flop logic for pumps in my code.
Now the logic is:
We choose the tank and start pump 1 and if have fault or no flow then start pump 2.
If have no flow on pump 2 then start tank 2 and do the same checks (flow and fault for each pump). If have fault on both pumps then we dont start the other tank, just wait for reset.
I need to use this toggle bit in order to start the pump 1 when we have request first time and even if it works ok next time we have request we need to run pump number 2. We can stay with the same tank until it has more than 10%.
Highly appreciate your advice.
urgently need your help.
I need to add flip flop logic for pumps in my code.
Now the logic is:
We choose the tank and start pump 1 and if have fault or no flow then start pump 2.
If have no flow on pump 2 then start tank 2 and do the same checks (flow and fault for each pump). If have fault on both pumps then we dont start the other tank, just wait for reset.
I need to use this toggle bit in order to start the pump 1 when we have request first time and even if it works ok next time we have request we need to run pump number 2. We can stay with the same tank until it has more than 10%.
Highly appreciate your advice.