Results 1 to 4 of 4

Thread: ON/OFF time programming for sprinklers

  1. #1
    New User
    Join Date
    Mar 2017
    Location
    Chicago
    Posts
    8

    ON/OFF time programming for sprinklers

    I recently bought a neptune EB8 for my FW aquaponics setup, and love it so far. I hooked a water pump up to a customer sprinkler/misting system for my plants, but cant get it to turn on! My goal is to have the sprinkler EB8 outlet run ON for one minute, then turn OFF for 59 minutes, and repeat. This is what I have so far-

    Fallback OFF
    If Time 00:58 to 00:59 Then ON
    If Time 01:58 to 01:59 Then ON
    If Time 02:58 to 02:59 Then ON
    If Time 03:58 to 03:59 Then ON
    If Time 04:58 to 04:59 Then ON
    If Time 05:58 to 05:59 Then ON
    If Time 06:58 to 06:59 Then ON
    If Time 07:58 to 07:59 Then ON
    If Time 08:58 to 08:59 Then ON
    If Time 09:58 to 09:59 Then ON
    If Time 10:58 to 10:59 Then ON
    If Time 11:58 to 11:59 Then ON
    If Time 12:58 to 12:59 Then ON
    If Time 13:58 to 13:59 Then ON
    If Time 14:58 to 14:59 Then ON
    If Time 15:58 to 15:59 Then ON
    If Time 16:58 to 16:59 Then ON
    If Time 17:58 to 17:59 Then ON
    If Time 18:58 to 18:59 Then ON
    If Time 19:58 to 19:59 Then ON
    If Time 20:58 to 20:59 Then ON
    If Time 21:58 to 21:59 Then ON
    If Time 22:58 to 22:59 Then ON
    If Time 23:58 to 23:59 Then ON
    Set OFF

    Something must be wrong, because I cant get it working! Any thoughts??

    Thanks!!

  2. #2
    NSI Member eschulist's Avatar
    Join Date
    Nov 2015
    Location
    Minneapolis, MN USA
    Posts
    467
    Apex runs lines of code from top to bottom. Your last line is Set OFF so its turning it off all the time. Put it after Fallback OFF

    As for the rest of the code you can do OSC to keep it more simple.

    OSC 000:00/001:00/059:00 Then ON

    Start off for zero minutes, on for 1 minute, off for 59 minutes. Repeats every hour for 24 hours.

    If you want it to follow your timing exactly you can do it like this.

    OSC 059:00/001:00/000:00 Then ON

    Start off for 59 minutes minutes, on for 1 minute, off for zero minutes. Repeats every hour for 24 hours.


    You also had 58-59. This would have actually ran for 2 minutes. As it counts both as being on. You wrote 1 minute at the top so I gave the OSC code for that.

  3. #3
    Master Control Freak RussM's Avatar
    Join Date
    Dec 2012
    Location
    California - US Pacific
    Posts
    22,492
    To summarize... this is all you need:

    Fallback OFF
    OSC 0:00/001:00/0059:00 Then ON
    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.

  4. #4
    New User
    Join Date
    Mar 2017
    Location
    Chicago
    Posts
    8
    Great it working, thank you!!

Similar Threads

  1. Programming time help
    By Fdnavy in forum Misc Apex Usage & Programming
    Replies: 2
    Last Post: 03-10-2018, 20:46
  2. time programming Ozone
    By schaaped in forum Apex Programming for Dosing, ATO, and AWC
    Replies: 0
    Last Post: 02-26-2016, 13:53
  3. First Time Programming
    By Portsie in forum Misc Apex Usage & Programming
    Replies: 3
    Last Post: 03-24-2014, 11:50
  4. programming time not matching apex time
    By nathan634 in forum Misc Apex Usage & Programming
    Replies: 3
    Last Post: 01-26-2014, 09:31

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
  •