Results 1 to 5 of 5

Thread: Programming BRS Pump

  1. #1
    New User
    Join Date
    Feb 2017
    Location
    Toronto, Canada
    Posts
    5

    Programming BRS Pump

    I am still an APEX newbie... looking to confirm something I seem to have realized last night...

    I was messing around last night, simply looking to turn on my BRS dose pump for 5 minutes every day at the same time (Dosing fertilizer into my planted tank).

    I tried the following:
    Fallback OFF
    Set OFF
    If Time 13:50 to 14:00 Then ON

    My thoughts were that this would turn on the pump for 5 minutes, giving me exactly what I was looking for...

    However, when I tried it, it stayed on until the END of 14:00 and turned off when the clock hit 14:01... (was ON for 6 minutes... not 5)
    Am I to understand then that a switch will turn ON at the exact time programmed, but turn OFF at the END of the hour/minute programmed?

    I know this is really basic programming here, but is that the best method to achieve the desired outcome?

    Thanks,

  2. #2
    Frequent Contributor zombie's Avatar
    Join Date
    Dec 2013
    Location
    Denver, CO
    Posts
    13,176
    On your first question, the apex evaluates any time the statement is true. Since seconds aren't included in the if time statements, it does evaluate from the start of the minute of the first time to the end of the minute of the second time.

    Regarding your question on the best approach, using this calculator Russ made is the best way.

    https://www.reeftronics.net/adpg/dosingcalc.php

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

  3. #3
    New User
    Join Date
    Feb 2017
    Location
    Toronto, Canada
    Posts
    5
    Ok thanks Zombie, that makes sense regarding the clock. Perfect.

    I did take a look at the calculator... not sure my planted tank needs are that advanced. Just a simple 5minute ON for my dose pump is sufficient, thanks for sharing though.

  4. #4
    Frequent Contributor zombie's Avatar
    Join Date
    Dec 2013
    Location
    Denver, CO
    Posts
    13,176
    At this time yeah, time statement is fine for 1 5 min dose, but if/when you decide later that you need to dose more or want to dose twice a day or three times a day, etc. It saves you from doing the math and logic.

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

  5. #5
    Master Control Freak RussM's Avatar
    Join Date
    Dec 2012
    Location
    California - US Pacific
    Posts
    22,466
    That If Time statement behavior is one of the things covered in a series of posts in a sticky thread for new users; you may find some other nuggets of good info there : https://forum.neptunesystems.com/sho...ad-This-Thread!
    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.

Similar Threads

  1. Programming BRS dosing pump timer
    By Veeg378 in forum Misc Apex Usage & Programming
    Replies: 4
    Last Post: 10-29-2018, 03:07
  2. Review My Program Using Brs Dosing pump
    By reeferdood in forum Apex Programming for Dosing, ATO, and AWC
    Replies: 8
    Last Post: 06-16-2018, 02:56
  3. Brs dosing pump
    By Scotch57 in forum Apex Programming for Dosing, ATO, and AWC
    Replies: 2
    Last Post: 04-18-2018, 08:45
  4. brs dosing pump
    By windrunner1952 in forum Apex Programming for Dosing, ATO, and AWC
    Replies: 14
    Last Post: 04-22-2016, 14:40
  5. Review My Program BRS Dosing Pump Program
    By ThePriceSeliger in forum Misc Apex Usage & Programming
    Replies: 0
    Last Post: 07-08-2014, 19:36

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
  •