Apex programming question

ulferik

Community Member
View Badges
Joined
Feb 5, 2022
Messages
28
Reaction score
2
Location
norway
Rating - 0%
0   0   0
Hi


My atk is working great, but sometimes(maybe 2times a year) it does not fill up whats needed. unsure why. maybe i forgot too put the automation back too auto..

I would like too know if i can program, so if the lower switch on the atk is closed(out of water) more than 20min. i get an alarm. so i can bring the levels back witout dumping big amounts of ro water in to level this.. any ideas? i do have a upper alarm level for salinity that do help. but i think this would catch the problem sooner..

thanks
 

Sean Clark

🐟 OnlyFins 🐠
View Badges
Joined
May 16, 2019
Messages
9,057
Reaction score
33,260
Location
Michigan
Rating - 0%
0   0   0
The standard ATK programing does this already if you run the Task function to set up your ATK. The time is not 20 minuets but you can set it to 20 minuets if you like.

If you want to set an alarm up another way specifically for your Low level sensor you can add a virtual outlet and this code.

Step 1
Create a virtual outlet (I named mine LowOpenAlarm) and add it to your dashboard. Set it to "AUTO".
Add these three lines of code:

If (atk low sensor name) CLOSED Then OFF
If (atk low sensor name) OPEN Then OFF
When ON > 020:00 Then ON

Send to Apex to save.

Step 2
Go into your Email_Alarm and add this line:

If ERROR LowOpenAlarm Then ON

Change the ouput name to whatever you named your virtual outlet.

Send to Apex to save.

Step 3
Go into your ATK programing and add this line of code to the end/bottom of your program:

If ERROR LowOpenAlarm Then OFF

Again, change the ouput name to whatever you named your virtual outlet.

Send to Apex to save.

Done.

When your low level sensor is open (dry) for 20 minutes the virtual outlet alrm will trip, ato will stop, alert will be sent. You will need to reset the virtual outlet by sliding the switch from OFF back to AUTO manually. This is a safety feature.
 
Last edited:

TOP 10 Trending Threads

HOW DO YOU ADJUST YOUR CUC AS ALGAE DISAPPEARS?

  • Capture and re-home CUC

    Votes: 9 7.6%
  • Increase white light/hours in tank to spur algae growth to feed CUC

    Votes: 8 6.8%
  • Feed nori to support CUC

    Votes: 39 33.1%
  • Feed herbivore pellets to support CUC

    Votes: 41 34.7%
  • Allow attrition to balance CUC and algae

    Votes: 51 43.2%
  • Provide macro algae to feed CUC

    Votes: 8 6.8%
  • Introduce CUC predators

    Votes: 1 0.8%
  • Other (please explain)

    Votes: 12 10.2%
Back
Top