Apex - can someone check my ATO code?

Biff0rz

Valuable Member
View Badges
Joined
Jul 9, 2020
Messages
1,588
Reaction score
841
Location
USA
Rating - 100%
1   0   0
FW-LOW is a float switch in my RO storage container. The intent is when the RO is low I want my ATO to be turned off. I will then make RO water. I don't want the ATO to turn back on for 5m so the RODI unit has time to make enough water and prevent the float switch from going on and off. Below is the logic for my ATO, can someone validate this?

Code:
If FW-LOW OPEN Then OFF
If FW-LOW CLOSED Then ON
Defer 005:00 Then  ON
 

SuncrestReef

That Apex guy
View Badges
Joined
Jan 18, 2018
Messages
4,214
Reaction score
9,214
Location
Oregon
Rating - 0%
0   0   0
Sorry, I missed this thread earlier. Please answer these questions:

1. Do you have both a Low float switch and a High float switch in the RO storage container to know when to turn on and turn off the RO? If so, what's the name of the high switch?
2. What is the name of the output controlling the RO production?
3. What is the name of the ATO output?
4. Please post the current ATO output programming.
 
OP
OP
B

Biff0rz

Valuable Member
View Badges
Joined
Jul 9, 2020
Messages
1,588
Reaction score
841
Location
USA
Rating - 100%
1   0   0
Sorry, I missed this thread earlier. Please answer these questions:

1. Do you have both a Low float switch and a High float switch in the RO storage container to know when to turn on and turn off the RO? If so, what's the name of the high switch?
2. What is the name of the output controlling the RO production?
3. What is the name of the ATO output?
4. Please post the current ATO output programming.

1. no, only low
2. none, I manually start it, I just don't want the float bouncing while its low and I'm making water and the ATO picks up water out of it
3. none
4

Code:
Fallback ON
Set ON
If FW-LOW OPEN Then OFF
If FW-LOW CLOSED Then ON
Defer 005:00 Then ON
If SW-LOW OPEN Then OFF
If FeedA 002 Then OFF
If FeedB 002 Then OFF
If Output Maintenance = ON Then OFF
If Output Alert-Salt-H = ON Then OFF
If Output Alert-LEAK = ON Then OFF
 

SuncrestReef

That Apex guy
View Badges
Joined
Jan 18, 2018
Messages
4,214
Reaction score
9,214
Location
Oregon
Rating - 0%
0   0   0
Thanks for those answers. So it sounds like you only want to delay the ATO from operating when FW-LOW is OPEN, and once it's CLOSED (because you manually started adding RO water) then wait 5 minutes before allowing the ATO from running again. If that's correct, then here's a way to do it:

1. Create a virtual output to act as a timer for the RO storage container level:

[RO_Empty] -- virtual output
Set OFF
If FW-LOW OPEN Then ON
Defer 005:00 Then OFF

2. Modify your ATO programming to check the status of the virtual output timer:

[ATO]
Fallback ON
Set ON
If Output RO_Empty = ON Then OFF
If SW-LOW OPEN Then OFF
If FeedA 002 Then OFF
If FeedB 002 Then OFF
If Output Maintenance = ON Then OFF
If Output Alert-Salt-H = ON Then OFF
If Output Alert-LEAK = ON Then OFF

If you're not familiar with virtual outputs, see my tutorial here:
 

anit77

Active Member
View Badges
Joined
Aug 14, 2015
Messages
405
Reaction score
606
Location
Flowery Branch
Rating - 0%
0   0   0
Thanks for those answers. So it sounds like you only want to delay the ATO from operating when FW-LOW is OPEN, and once it's CLOSED (because you manually started adding RO water) then wait 5 minutes before allowing the ATO from running again. If that's correct, then here's a way to do it:

1. Create a virtual output to act as a timer for the RO storage container level:

[RO_Empty] -- virtual output
Set OFF
If FW-LOW OPEN Then ON
Defer 005:00 Then OFF

2. Modify your ATO programming to check the status of the virtual output timer:

[ATO]
Fallback ON
Set ON
If Output RO_Empty = ON Then OFF
If SW-LOW OPEN Then OFF
If FeedA 002 Then OFF
If FeedB 002 Then OFF
If Output Maintenance = ON Then OFF
If Output Alert-Salt-H = ON Then OFF
If Output Alert-LEAK = ON Then OFF

If you're not familiar with virtual outputs, see my tutorial here:
I'm looking to do something somewhat similar to this. I've been away from working with my Apex for a couple years and brain farting.

I have a 55 gallon drum for an ATO reservoir. It has a float switch to alert when it gets low. What I'd like to do is code in a 3hr delay to turn the ATO output off. There should be 5 to 7 gallons left when the switch closes and trips.
 

SuncrestReef

That Apex guy
View Badges
Joined
Jan 18, 2018
Messages
4,214
Reaction score
9,214
Location
Oregon
Rating - 0%
0   0   0
I'm looking to do something somewhat similar to this. I've been away from working with my Apex for a couple years and brain farting.

I have a 55 gallon drum for an ATO reservoir. It has a float switch to alert when it gets low. What I'd like to do is code in a 3hr delay to turn the ATO output off. There should be 5 to 7 gallons left when the switch closes and trips.
You should be able to use the exact same code, but with a 3 hour Defer rather than the 5 minutes:

1. Create a virtual output to act as a timer for the RO storage container level:

[RO_Empty] -- virtual output
Set OFF
If FW-LOW OPEN Then ON
Defer 180:00 Then OFF

2. Modify your ATO programming to check the status of the virtual output timer:

[ATO]
Fallback ON
Set ON
If Output RO_Empty = ON Then OFF
If SW-LOW OPEN Then OFF
If FeedA 002 Then OFF
If FeedB 002 Then OFF
If Output Maintenance = ON Then OFF
If Output Alert-Salt-H = ON Then OFF
If Output Alert-LEAK = ON Then OFF
 

anit77

Active Member
View Badges
Joined
Aug 14, 2015
Messages
405
Reaction score
606
Location
Flowery Branch
Rating - 0%
0   0   0
You should be able to use the exact same code, but with a 3 hour Defer rather than the 5 minutes:
Thanks again!
Mine is a little different but it's working perfectly.

[ATO_Empty] -- virtual output
Set OFF
If ATOLOW CLOSED Then ON
Defer 180:00 Then ON

2. Modify your ATO programming to check the status of the virtual output timer:

[ATO]
Fallback ON
Set ON
If Output ATO_Empty = ON Then OFF
If Output LMReturn_2_5 = OFF Then OFF
If Output RMReturn_2_6 = OFF Then OFF
If Output FragRtn_2_8 = OFF Then OFF
Defer 005:00 Then ON
 

Being sticky and staying connected: Have you used any reef-safe glue?

  • I have used reef safe glue.

    Votes: 119 88.1%
  • I haven’t used reef safe glue, but plan to in the future.

    Votes: 8 5.9%
  • I have no interest in using reef safe glue.

    Votes: 5 3.7%
  • Other.

    Votes: 3 2.2%
Back
Top