Results 1 to 2 of 2

Thread: Code to Limit Amount of Time an Outlet is On

  1. #1
    Regular Vistor
    Join Date
    Jul 2013
    Location
    Paradise
    Posts
    42

    Code to Limit Amount of Time an Outlet is On

    I'm writing a program for my auto water changing system and not sure what program code I can use to have one of my pumps not exceed a certain amount of time being on. Basically my plan is to have a pump turn on based on a pressure switch and it will shut off based on another pressure switch, but I also don't want the time to exceed say 3-5min or so. So if the water level hasn't reached that high pressure switch yet, I want the pump to shutdown. I was thinking of the "Min" time function but I'm kinda confused on how that function works. Any suggestions?

  2. #2
    Frequent Contributor zombie's Avatar
    Join Date
    Dec 2013
    Location
    Denver, CO
    Posts
    13,176
    Search the forums for "zombie ato lockout". I have numerous responses showing how to do a max runtime.

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

Similar Threads

  1. Need some code help to dose a specific amount based on ORP and time delay?
    By MrComment in forum Apex Programming for Dosing, ATO, and AWC
    Replies: 0
    Last Post: 03-04-2020, 13:04
  2. Help! Turing on outlet for a minimum amount of time
    By Brian King in forum Misc Apex Usage & Programming
    Replies: 14
    Last Post: 04-18-2019, 16:19
  3. Review My Program Have an outlet turn on twice a day for a set amount of time.
    By coryjac0b in forum Misc Apex Usage & Programming
    Replies: 2
    Last Post: 02-12-2017, 09:40
  4. Question: Turning off outlet after certain amount of time.
    By NYFishies in forum Misc Apex Usage & Programming
    Replies: 1
    Last Post: 07-21-2016, 14:43
  5. Outlet Amount Limit? And other performance occurrences
    By Attreui in forum Apex Classic/Apex Lite/Apex Jr
    Replies: 9
    Last Post: 12-28-2015, 21:04

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
  •