Apex programming help: Ph set point for cal rxtr based on time?

TX_Punisher

Valuable Member
View Badges
Joined
Jun 8, 2017
Messages
1,420
Reaction score
792
What state or country do you live in
Texas
Rating - 0%
0   0   0
With My current settings my alk is steady in the am until about 2p where it starts to drop all afternoon even using kalk (too much kalk drives my ph too high in the display) So I can only use so much.

instead of buying a versa where I can program a faster speed in the am (less effluent alk) and slower speed in the pm (higher effluent alk) would it be possible to program apex and my ph probe in my Geo to turn on at a lower ph set point in the afternoon compared to the am? (Therefore creating and matching alk demand in the pm. Lower ph in the reactor = higher effluent alk).

my current ph outlet programing looks like this: (I have a trident btw)

Fallback OFF
If Time 22:31 to 08:30 Then OFF
If pH_cal > 6.40 Then ON
If pH_cal < 6.39 Then OFF
If Alkx6 > 9.10 Then OFF
If Cax6 > 466 Then OFF
If pH < 8.04 Then OFF

what id like is the ph probe outlet to turn on the regulator in the afternoon starting at
14:00 to 22:30
if ph_cal > 6.39 then on
if ph_cal < 6.38 then off

in the morning
If time 08:30 to 13:59
If pH_cal > 6.40 Then ON
If pH_cal < 6.39 Then OFF

is this possible? Can Anyone share the correct programming?

in essence, a higher ph setpoint in the am turning on the regulator and a lower ph set point in the afternoon.

thanks for any help.
 
You can create a couple of virtual outputs, one for the morning and one for the afternoon, then use the status of these virtual outputs to control the reactor:

[pH_PM] -- virtual output
If ph_cal > 6.39 Then ON
If ph_cal < 6.38 Then OFF
If Time 22:31 to 13:59 Then OFF

[pH_AM] -- virtual output
If pH_cal > 6.40 Then ON
If pH_cal < 6.39 Then OFF
If Time 14:00 to 08:29 Then OFF

[Reactor]
Fallback OFF
Set OFF
If Output pH_AM = ON Then ON
If Output pH_PM = ON Then ON
If Alkx6 > 9.10 Then OFF
If Cax6 > 466 Then OFF
If pH < 8.04 Then OFF

If you're not familiar with virtual outputs, see my tutorial: https://www.reef2reef.com/ams/neptune-apex-programming-tutorials-part-5-virtual-outputs.703/
 
Dude, awesome. I need to read up on virtual outlets as I’ve heard of them but never used the programming.

thank you
 
Got an error when plugging that in

Send Failed

//Error: line 1 - Statement must start with If, OSC, Min, Set, Fallback // [pH_PM] -- virtual output
 
You don’t enter the [pH_PM] -- virtual output etc lines in the code, they are just formatting @SuncrestReef has used in his reply. You need to create a new VO called pH_PM and then enter the remainder of the code into Apex Fusion.

It is common for people to use [name] formatting in their posts to identify the output or VO in question.
 
Still reading up on the virtual outlets and how to set them up as well as their different uses. Lots to learn.

thanks for the help
 

IF YOU HAD TO TAKE A REEFING EXAM, WOULD YOU PASS?

  • Yes!

    Votes: 32 45.7%
  • Not yet, but I have one that I want to buy in mind!

    Votes: 9 12.9%
  • No.

    Votes: 26 37.1%
  • Other (please explain).

    Votes: 3 4.3%

New Posts

Back
Top