ATO code for two tanks
ATO code for two tanks
I want to use my reef angel as an ATO for two different tanks. I want to use the High ATO position for one tank and the Low for another. I will be using two different pumps. I want the high ATO to trigger one pump and the low to trigger another. I’ve only used the wizard previously so I’m not familiar with coding. Any help would be appreciated.
Re: ATO code for two tanks
Try this:
Code: Select all
ReefAngel.Relay.Set( Port1,ReefAngel.HighATO.IsActive() );
ReefAngel.Relay.Set( Port2,ReefAngel.LowATO.IsActive() );
Roberto.
Re: ATO code for two tanks
Thank you! Is it possible to assign different ATO timeout values to each of these? Or do I have to just set a global time for the ATO timeout?
Re: ATO code for two tanks
This code has no timeout. You won't be able to do it two ATOs with timeout without custom coding.
Roberto.