Please check my Apex Code

  • Thread starter Thread starter sunil6784
  • Start date Start date
  • Tagged users Tagged users None

sunil6784

Community Member
View Badges
Joined
Jan 7, 2023
Messages
28
Reaction score
6
Location
Boston
What state or country do you live in
Massachusetts
Rating - 0%
0   0   0
Mods- please delete. Posted a duplicate by accident.
 
Last edited:
Hi all,

I am working on using my Apex to fill my ATO Reservoir. I then have a Tunze ATO to use as my ATO sensor and pump from the reservoir to sump.

My goal is to use the FMM with optical sensors as high and low sensors, and then a solenoid valve plugged into the Energy Bar.

My RO unit has a mechanical float valve as the fail safe, which is higher than any of the two sensors.

Additionally, I would only like the ATO reservoir to be filled between the hours of 10:00 am and 6:00 pm. Overnight, my water softener runs a regeneration cycle, and the buffer allows for a margin of error in case of power outage where the timer on the water softener gets messed up.

I would appreciate a review of my code/process! Don't want to mess this one up.

I created a virtual outlet called Res_Fill.

In Res_Fill, advanced code:

Set OFF
If Time 10:00 then on
If time 18:00 then off
If ATO_Lo open then ATO_Sol ON
If ATO_Hi closed then ATO_Sol OFF
When ON > 360:00 then ATO_Sol OFF
I answered your other thread of the same question. I don't know if you can close this one but you should only have one where it gets all crossed up and Confused
 

TOP 10 Trending Threads

WHAT DO YOU MOST OFTEN NOTICE IN YOUR REEF AFTER LIGHTS OUT?

  • Fish settling into their sleeping spots

    Votes: 9 50.0%
  • Corals extending feeding tentacles

    Votes: 5 27.8%
  • Pods and other tiny life on the glass or rock

    Votes: 5 27.8%
  • Worms, brittle stars, or other cleanup crew

    Votes: 7 38.9%
  • Crabs or shrimp out and about

    Votes: 4 22.2%
  • Bioluminescence (actual light produced by organisms)

    Votes: 0 0.0%
  • The tank looks pretty much the same to me

    Votes: 1 5.6%
  • I rarely look after lights out

    Votes: 3 16.7%
  • Other (Post in the comments)

    Votes: 1 5.6%
Back
Top
Home
Post thread…
Market
What's new