Results 1 to 7 of 7

Thread: When On /Off interaction with Defer

  1. #1
    Frequent Visitor Reefman's Avatar
    Join Date
    Jan 2013
    Location
    NE coast of England
    Posts
    240

    When On /Off interaction with Defer

    How does the defer command interact with the new When On / Off command
    My recently revised ATU programme (I’m not using the ATK) – Output Kalk_PM is a virtual outlet to trigger kalk additions during lights out.

    1. Fallback OFF
    2. Set OFF
    3. If SumpLo CLOSED Then ON
    4. If pH < 7.70 Then ON
    5. If Output Kalk_PM = ON Then ON
    6. Defer 002:00 Then ON
    7. When On > 05:00 Then OFF
    8. If pH > 8.30 Then OFF
    9. If ROLo CLOSED Then OFF
    10. If SumpHi CLOSED Then OFF

    I’d like to incorporate a Defer statement to ensure that the float is consistently OPEN for 1 min before switching the outlet off but confusing myself as to how to configure the code.
    Can I just add in the command?
    11. Defer 01:00 Then OFF

    Which I appreciate would also mean that both the statements at 9 & 10 would also be impacted and deferred by 1 minute or do I also need to add another line to get the result I want?

    If Sump_Lo OPEN Then OFF

    Does the defer command impact on the When on statement? In this scenario meaning that the 10 minute running time for the output is effectively increased to 11 minutes

    Thanks all

  2. #2
    Master Control Freak RussM's Avatar
    Join Date
    Dec 2012
    Location
    California - US Pacific
    Posts
    22,463
    You're overthinking it The 'When' timing starts at the time the output actually turns on, regardless of the presence of a Defer.

    Where is that "10 minute running time" coming from? I see nothing that does that in your posted programming. Do you have a 10-minute Defer or Min Time statement in the Kalk_PM VO?
    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 Reefman's Avatar
    Join Date
    Jan 2013
    Location
    NE coast of England
    Posts
    240
    Thanks that clarified it - but sorry I meant 6 minutes not 10 (5 in line 7 from When On +1 for the defer)

    So I can just add the Defer 01:00 Then OFF statement ?

  4. #4
    Frequent Contributor zombie's Avatar
    Join Date
    Dec 2013
    Location
    Denver, CO
    Posts
    13,176
    Quote Originally Posted by Reefman View Post
    Thanks that clarified it - but sorry I meant 6 minutes not 10 (5 in line 7 from When On +1 for the defer)

    So I can just add the Defer 01:00 Then OFF statement ?
    Yes. Defers do apply to the entire outlet programming (exception being when statement) so it will also delay on sump hi. If that doesn't sound like something you would like, you can increase the defer then on statement to a larger value like 10 minutes to achieve the same effect.

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

  5. #5
    Frequent Visitor Reefman's Avatar
    Join Date
    Jan 2013
    Location
    NE coast of England
    Posts
    240
    No ideally I'd not want the defer on either lines 9 (ro low) or 10 (sump high) but I'm not sure I understand how increasing the defer then on would have the same effect though as once the float changes to open as the level increases then I'd get the same effect with rapid switching on/off when if there is any surface disturbance in the chamber

  6. #6
    Frequent Contributor zombie's Avatar
    Join Date
    Dec 2013
    Location
    Denver, CO
    Posts
    13,176
    Quote Originally Posted by Reefman View Post
    No ideally I'd not want the defer on either lines 9 (ro low) or 10 (sump high) but I'm not sure I understand how increasing the defer then on would have the same effect though as once the float changes to open as the level increases then I'd get the same effect with rapid switching on/off when if there is any surface disturbance in the chamber
    It has the same effect because it prevents rapid changes from off to on and when large enough the amount of evaporation forces the pump to also be on longer to make up the evaporation.

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

  7. #7
    Frequent Visitor Reefman's Avatar
    Join Date
    Jan 2013
    Location
    NE coast of England
    Posts
    240
    Thanks - I get it now and that probably my best option

Similar Threads

  1. Question: Documentation for Interaction/Setup between a Trident and DOS
    By MtnRunner in forum DŌS & DDR – Dosing and Fluid Metering System
    Replies: 1
    Last Post: 10-07-2019, 06:20
  2. Review My Program Defer then Off
    By 350Chris in forum Misc Apex Usage & Programming
    Replies: 5
    Last Post: 07-26-2018, 00:31
  3. COR interaction with optical sensors?
    By Sleepydoc in forum Fluid Monitoring Module (FMM), FMK, ATK, LDK, and FMM Accessories
    Replies: 9
    Last Post: 01-16-2018, 09:24
  4. DEFER vrs DEFER THEN ON/OFF
    By LHillman in forum Misc Apex Usage & Programming
    Replies: 5
    Last Post: 08-23-2016, 01:38
  5. Not certain on interaction of OSC Outlet Ctrl and Defer
    By marc in forum Misc Apex Usage & Programming
    Replies: 2
    Last Post: 11-15-2013, 17: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
  •