Results 1 to 12 of 12

Thread: Turning a doser off if ph greater than

  1. #1
    Frequent Visitor
    Join Date
    Jul 2017
    Location
    UK
    Posts
    129

    Turning a doser off if ph greater than

    I think I have this code right but would someone be so kind to double check this -

    Fallback ON
    If pH > 8.25 Then OFF
    If pH < 8.25 Then ON
    If Time 09:00 to 17:00 Then ON

    This outlet controls a 2 head Jebao doser which doses NOPOX during the day and kalkwasser at night. To ensure my pH does not continually climb during the night, I want to cut the power to the doser off if the pH rises above 8.25. I also want to ensure that it comes back on again between 9am-5pm where the doser is programmed to only dose NOPOX throughout the day and no kalkwasser.

    Many thanks for any help

  2. #2
    Frequent Visitor
    Join Date
    Dec 2013
    Location
    New Jersey
    Posts
    86
    That is only going to run from 9-5. Is that what you're looking for?

    Sent from my SM-G950U using Tapatalk

  3. #3
    Frequent Visitor
    Join Date
    Nov 2015
    Location
    Duluth, GA
    Posts
    163
    I may be wrong but, think that will work. I believe you should add a Set On to it as well.

    Sent from my SM-G955U using Tapatalk

  4. #4
    Master Control Freak RussM's Avatar
    Join Date
    Dec 2012
    Location
    California - US Pacific
    Posts
    22,486
    Your concept is OK but I would lower the threshold for the unit to kick on during the non-daytime period.

    Fallback ON
    If pH > 8.25 Then OFF
    If pH < 8.18 Then ON
    If Time 09:00 to 17:00 Then ON

    This prevents the addition of kalk if the pH is relatively close the your high threshold of 8.25; it won’t start until the pH has dropped several hundredths. It also adds hysteresis so that if the pH hovers at 8.25-8.26, the output will not bounce on and off frequently.
    Please do not send me PMs with technical questions or requesting assistance - use the forums for Apex help. PM me ONLY if the matter is of a private or personal nature. Thanks.

  5. #5
    Frequent Visitor
    Join Date
    Jul 2017
    Location
    UK
    Posts
    129
    @RussM, so this will only go off if pH is over 8.25 but once off, will stay off until ph drops to 8.18 when it will turn on. All other times the outlet will stay on?

  6. #6
    Frequent Contributor zombie's Avatar
    Join Date
    Dec 2013
    Location
    Denver, CO
    Posts
    13,176
    Quote Originally Posted by Clownfishy View Post
    @RussM, so this will only go off if pH is over 8.25 but once off, will stay off until ph drops to 8.18 when it will turn on. All other times the outlet will stay on?
    Yep

    You might be an engineer if...You have no life and can prove it mathematically.

  7. #7
    Frequent Visitor
    Join Date
    Jul 2017
    Location
    UK
    Posts
    129
    Many thanks for everyone's help, really appreciate it :-)

  8. #8
    Frequent Visitor
    Join Date
    Jul 2017
    Location
    UK
    Posts
    129
    The outlet went off at 17:01 but the pH was in range for it to be on. Is there an order I need to set these as I the only reason I put the time parameters is if the pH is above 8.25 during those times, I still want the outlet on as the Doser is not set to dose during those times?

  9. #9
    Frequent Contributor zombie's Avatar
    Join Date
    Dec 2013
    Location
    Denver, CO
    Posts
    13,176
    Then I would use this

    Fallback ON
    Set ON
    If pH > 8.25 Then OFF
    If Time 09:00 to 17:00 Then ON
    Min Time 010:00 Then OFF





    You might be an engineer if...You have no life and can prove it mathematically.

  10. #10
    Frequent Visitor
    Join Date
    Jul 2017
    Location
    UK
    Posts
    129
    Just tested this by changing the pH value lower to force it to switch off. The changed the value to greater than 8.25 saved it and it did not come back on. As soon as I removed the line stating the time saved it, it came back in. It does not seem to like the the time parameter once the greater than statement from off to on

    - - - Updated - - -

    I need to be able to use some "or" and "and" commands but I don't think that is possible is it?

  11. #11
    Frequent Contributor zombie's Avatar
    Join Date
    Dec 2013
    Location
    Denver, CO
    Posts
    13,176
    Quote Originally Posted by Clownfishy View Post
    Just tested this by changing the pH value lower to force it to switch off. The changed the value to greater than 8.25 saved it and it did not come back on. As soon as I removed the line stating the time saved it, it came back in. It does not seem to like the the time parameter once the greater than statement from off to on

    - - - Updated - - -

    I need to be able to use some "or" and "and" commands but I don't think that is possible is it?
    You just didn't wait long enough. The min time forces it off for 10 minutes.

    You might be an engineer if...You have no life and can prove it mathematically.

  12. #12
    Frequent Visitor
    Join Date
    Jul 2017
    Location
    UK
    Posts
    129
    DOH!!! Just tested it again and it works if I just wait as stated :-). Thank you for your help :-)

Similar Threads

  1. ASM reading greater than 100%
    By DBR_Reef in forum Advanced Sensor Module (ASM) and PAR Monitoring Kit
    Replies: 4
    Last Post: 01-12-2021, 08:10
  2. Help! Turning on a float switch and turning off after time elapsed help
    By sfox365 in forum Apex Programming for Dosing, ATO, and AWC
    Replies: 2
    Last Post: 05-21-2019, 11:35
  3. Help! Can not add > (Greater then) sign?!
    By sford8680 in forum Misc Apex Usage & Programming
    Replies: 4
    Last Post: 12-23-2017, 07:22
  4. Review My Program Dosing at intervals greater than 24 hours
    By desertcelt in forum Apex Programming for Dosing, ATO, and AWC
    Replies: 2
    Last Post: 08-21-2016, 15:25
  5. Turning my skimmer on on apex fusion is turning my TV off lol
    By throughstream in forum EnergyBars 832 / 632 / 8 / 6 / 4
    Replies: 1
    Last Post: 04-19-2015, 13:56

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
  •