Results 1 to 6 of 6

Thread: Adjusting Two pH dosing periods by time

  1. #1
    Regular Vistor
    Join Date
    Nov 2014
    Location
    Bismarck, ND
    Posts
    33

    Adjusting Two pH dosing periods by time

    I recently finished learning to program a lights-on and lights-off pH dosing periods with the gracious help of Zombie. It works fine, except I would like to have the (lights-on) pH period to run 1-2 hours prior to the lights going on and turn off the (lights-on) pH period 1 hour before the lights actually go off. I am not sure if you continue to use the virtual outlets that are currently being utilized, and use time periods instead?
    I don't have very much experience with programming reasonably complex commands in Apex. Any help is certainly appreciated.
    I tried to change the virtual outlets programming by changing the lighting outlet command and replacing it with a time period like: (If time 14:00 to 22:00 then ON) for CO2Day
    and a corresponding: (If time 22:01 to 13:59 than ON) for CO2Night.
    However the pH solenoid would then run without any control!

    My current program to adjust pH does not show much separation in pH between Day and Night, however I plan to increase the separation once I get this programming figured out.

    My current program for pH is listed below:

    Solenoid_pH (Physical outlet)

    Fallback OFF
    Set OFF
    If Output CO2Day = ON Then ON
    If Output CO2Night = ON Then ON

    CO2Day (virtual outlet)

    If pHpro > 6.40 Then ON
    If pHpro < 6.30 Then OFF
    If Output Light1_I1 = OFF Then OFF

    CO2Night (virtual outlet)

    If pHpro > 6.60 Then ON
    If pHpro < 6.50 Then OFF
    If Output Light1_I1 = ON Then OFF

    Thanks

    Skipd1

  2. #2
    Frequent Contributor zombie's Avatar
    Join Date
    Dec 2013
    Location
    Denver, CO
    Posts
    13,176
    Replace the If output lines with time statements

    For the day one, you want it to turn OFF for your night hours and the night one you want it to turn OFF during the day hours.

    Sent from my SM-G965U using Tapatalk

  3. #3
    Regular Vistor
    Join Date
    Nov 2014
    Location
    Bismarck, ND
    Posts
    33
    Okay, like this:

    CO2Day
    (virtual outlet)

    If pHpro > 6.40 Then ON
    If pHpro < 6.30 Then OFF
    If time 23:01 to 13:59 Then OFF

    CO2Night (virtual outlet)

    If pHpro > 6.60 Then ON
    If pHpro < 6.50 Then OFF
    If Time 14:00 to 23:00 Then OFF

    Quote Originally Posted by zombie View Post
    Replace the If output lines with time statements

    For the day one, you want it to turn OFF for your night hours and the night one you want it to turn OFF during the day hours.

    Sent from my SM-G965U using Tapatalk

  4. #4
    Frequent Contributor zombie's Avatar
    Join Date
    Dec 2013
    Location
    Denver, CO
    Posts
    13,176
    Quote Originally Posted by skipd1 View Post
    Okay, like this:

    CO2Day
    (virtual outlet)

    If pHpro > 6.40 Then ON
    If pHpro < 6.30 Then OFF
    If time 23:01 to 13:59 Then OFF

    CO2Night (virtual outlet)

    If pHpro > 6.60 Then ON
    If pHpro < 6.50 Then OFF
    If Time 14:00 to 23:00 Then OFF
    Yep

    Sent from my SM-G965U using Tapatalk

  5. #5
    Regular Vistor
    Join Date
    Nov 2014
    Location
    Bismarck, ND
    Posts
    33
    I'll give this a try and let you know.
    Thanks again

    Skipd1

  6. #6
    Regular Vistor
    Join Date
    Nov 2014
    Location
    Bismarck, ND
    Posts
    33
    Zombie

    Yes the programming works fine. Thanks again, your a great resource for the Apex Community.

    Skipd1

Similar Threads

  1. Help! Adjusting pH via Co2 Dosing - Need Programming Help
    By surge seaweed in forum Misc Apex Usage & Programming
    Replies: 2
    Last Post: 05-11-2022, 12:58
  2. Help! Controlled dosing not adjusting properly
    By jokerman826 in forum Trident Marine Aquarium Water Analyzer
    Replies: 1
    Last Post: 11-11-2020, 07:12
  3. Adjusting for one time dose.
    By porifera23 in forum Apex Programming for Dosing, ATO, and AWC
    Replies: 5
    Last Post: 10-11-2020, 14:29
  4. Question: change after adjusting time
    By peepee in forum Apex Programming for Dosing, ATO, and AWC
    Replies: 1
    Last Post: 04-08-2019, 13:15
  5. Question: Adjusting DOS dosing rate
    By tastyfish in forum DŌS & DDR – Dosing and Fluid Metering System
    Replies: 5
    Last Post: 11-23-2017, 10:41

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •