Results 1 to 3 of 3

Thread: Trying to add a delay on alarm before getting a low-flow alert

  1. #1
    Frequent Visitor
    Join Date
    Jun 2014
    Location
    Madison, WI
    Posts
    87

    Trying to add a delay on alarm before getting a low-flow alert

    I have a virtual outlet setup for my flow meter on my return pump. Every once in a while, the flow registers at like half speed, but only for a tiny blip. I keep getting alerts everytime this happens, and I want to add a delay so that the flow has to be low for at least 5 minutes before alerting me. I added the DEFER statement to my code, but it doesn't work as I keep getting alerts. Any ideas what is wrong with this?

    [v-AlrmRtnFlw]
    Set OFF
    If FLWRTN > 950 Then ON
    If FLWRTN < 890 Then ON
    If Output Return-8_3 = OFF Then OFF
    Defer 000:05 Then ON

    Thanks for any help.

    Bob

  2. #2
    Master Control Freak RussM's Avatar
    Join Date
    Dec 2012
    Location
    California - US Pacific
    Posts
    22,464
    Quote Originally Posted by BraenDead View Post
    I want to add a delay so that the flow has to be low for at least 5 minutes before alerting me. I added the DEFER statement to my code, but it doesn't work as I keep getting alerts. Any ideas what is wrong with this?
    Your Defer is incorrect - you have 5 seconds, not 5 minutes. It should be:

    Defer 005: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.

  3. #3
    Frequent Visitor
    Join Date
    Jun 2014
    Location
    Madison, WI
    Posts
    87
    Wow. That should've been obvious. Thanks for the help, I appreciate it!

    Sent from my Pixel 2 XL using Tapatalk

Similar Threads

  1. Help! Alarm ON with low Ph but, no code to set the alarm off with low Ph...
    By JFDuarte in forum Misc Apex Usage & Programming
    Replies: 1
    Last Post: 08-18-2019, 12:35
  2. Question: Return pump low flow alarm from FFM flow sensor
    By Cpage101 in forum APEX Fusion
    Replies: 3
    Last Post: 08-09-2019, 11:37
  3. Replies: 3
    Last Post: 03-11-2019, 08:08
  4. Low Voltage Alert?
    By chadowens in forum A2 Apex/ApexEL and A3 Apex Pro/Apex/Apex Jr
    Replies: 8
    Last Post: 07-27-2018, 14:01
  5. Question: Add a delay for RO production
    By kalledybvik in forum APEX Fusion
    Replies: 1
    Last Post: 05-01-2015, 11:26

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
  •