dual ATO's
Posted: Wed Sep 30, 2015 12:26 pm
I want to fit two small reservoirs under my stand with separate pumps so I don't have to add fill the top off tanks as often. I have two of float switches installed to determine which reservoir is full. Will it work OK if I have two ATO functions like this?
Code: Select all
void CheckLevels()
{
//Overflow blocked alarm & main pump shut-off, Reservoir
if (Overflow == 1) ReefAngel.Relay.Off(Mainpump);
else ReefAngel.Relay.On(Mainpump);
if (ReservoirA == 0)
{
ReefAngel.StandardATO(ATOpump);
}
else
{
ReefAngel.Relay.Off(ATOpump);
if (ReservoirB == 0) ReefAngel.StandardATO(ATOpump2);
else ReefAngel.Relay.Off(ATOpump2);
}
}