Apex programming question

Wrasse-cal

Well-Known Member
View Badges
Joined
Nov 21, 2017
Messages
759
Reaction score
598
Rating - 0%
0   0   0
I'd like my Carbon Doser to stop dosing CO2 if my peristaltic pump for my calcium reactor turns off, but I also want the program to turn on and off my Carbon Doser based on the my calcium reactor pH if the Kamoer pump is on. Does this programming work? I'm pretty sure I'm missing some code.

Fallback OFF
If pH_CRX > 7.00 Then ON
If pH_CRX < 6.90 Then OFF
Defer 000:30 Then ON
If Kamoer_Pump OFF then OFF
 

ca1ore

10K Club member
View Badges
Joined
Oct 28, 2014
Messages
14,193
Reaction score
19,711
Location
Stamford, CT
Rating - 100%
2   0   0
I always forget how defer works .... whether it needs an ON or an OFF. I would do:

FALLBACK OFF
SET OFF
If pH> 7.0 then ON
Defer 002:00 then ON
If output _____ OFF then OFF
 

TOP 10 Trending Threads

WHAT AMOUNT OF LIVE ROCK AND SAND SHOULD BE PRIORITIZED FOR OPTIMAL BIODIVERSITY/FILTRATION?

  • 100% live rock + bagged sand

    Votes: 34 27.6%
  • 100% dry rock + 100% live sand

    Votes: 43 35.0%
  • 50/50 live/dry rock, 50/50 live/bagged sand

    Votes: 27 22.0%
  • 75% live rock, 25% live sand

    Votes: 11 8.9%
  • 25% live rock, 75% live sand

    Votes: 8 6.5%
Back
Top