Results 1 to 7 of 7

Thread: Separate heater program for certain days

  1. #1
    Hamburg Mattenfilter
    Join Date
    Nov 2014
    Location
    CA
    Posts
    253

    Separate heater program for certain days

    I have my second heater off during the day to save energy; but after my AWC which finished at 1300 - I want to program a VO and apply it to override the time command on M and Th. Do I also have to apply the If Temp </> command to the VO? Will this work?

  2. #2
    Hamburg Mattenfilter
    Join Date
    Nov 2014
    Location
    CA
    Posts
    253
    Heater_2
    Fallback OFF
    Set OFF
    If Temp < 82.1 Then ON
    If Temp > 82.3 Then OFF
    If Time 9:59 to 18:59 Then OFF
    If Outlet Heater_Safe = ON Then ON
    If Outlet DrainPump = ON Then OFF
    If Outlet AWC_Fill = ON Then OFF
    Min Time 002:00 Then OFF


    Heater_Safe
    Fallback OFF
    Set OFF
    If Temp < 79.0 Then ON
    If Temp > 82.0 Then OFF

    Does the Heater_Safe override the If Temp commands on the physical outlet?

  3. #3
    Frequent Contributor iamchadster's Avatar
    Join Date
    Aug 2013
    Location
    Wilsonville, Oregon
    Posts
    2,642
    The apex will evaluate statements from top to bottom and execute the last true statement. There are a couple exceptions to this which are min time and the defer statement. Those are executed regardless of their position. In your case the the Heater_Safe is lower and it would override the if temp statements as you have written. If by chance you turn on Heater_Safe right at the time the outlet switches off there will be about a two minute delay because you have a min time statement in there to keep the outlet off. Not that it will matter much, but if you are watching your programming execute and don't see anything happening that's something to keep in mind.

    BTW, virtual outlets do not need Fallback Statements, physical outputs/outlets will use fallback statements.
    Chad

  4. #4
    Hamburg Mattenfilter
    Join Date
    Nov 2014
    Location
    CA
    Posts
    253
    Quote Originally Posted by iamchadster View Post
    The apex will evaluate statements from top to bottom and execute the last true statement. There are a couple exceptions to this which are min time and the defer statement. Those are executed regardless of their position. In your case the the Heater_Safe is lower and it would override the if temp statements as you have written. If by chance you turn on Heater_Safe right at the time the outlet switches off there will be about a two minute delay because you have a min time statement in there to keep the outlet off. Not that it will matter much, but if you are watching your programming execute and don't see anything happening that's something to keep in mind.

    BTW, virtual outlets do not need Fallback Statements, physical outputs/outlets will use fallback statements.

    Thanks for the reminder.

    I know it evaluates it top to bottom [with exception to Defer and Min Time which apply to the entire outlet] - but that never made perfect sense to me. Does it go in order and execute the last true statement? If more than one statement is true; it chooses the last one?

  5. #5
    Master Control Freak RussM's Avatar
    Join Date
    Dec 2012
    Location
    California - US Pacific
    Posts
    22,489
    [QUOTE=Raul-7{If more than one statement is true; it chooses the last one?[/QUOTE]
    Yes, the last true statement
    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.

  6. #6
    Hamburg Mattenfilter
    Join Date
    Nov 2014
    Location
    CA
    Posts
    253
    Quote Originally Posted by RussM View Post
    Yes, the last true statement
    Heater_2
    Fallback OFF
    Set OFF
    If Temp < 82.1 Then ON
    If Temp > 82.3 Then OFF
    If Time 09:59 to 18:59 Then OFF
    If Outlet Heater_Safe = ON Then ON
    If Outlet DrainPump = ON Then OFF
    If Outlet AWC_Fill = ON Then OFF
    Min Time 002:00 Then OFF


    Heater_Safe
    Set OFF
    If Temp < 80.5 Then ON
    If Temp > 81.0 Then OFF
    If Outlet DrainPump = ON Then OFF
    If Outlet AWC_Fill = ON Then OFF


    Would that work? I want it as failsafe since after the AWC; temperature falls dramatically [I got a second EB8 and third heater for my RO tank] - but this is failsafe including for winter months when one heater cannot suffice.


    Should the If Temp > 81.0 Then OFF match the physical outlet at 82.3?

  7. #7
    Hamburg Mattenfilter
    Join Date
    Nov 2014
    Location
    CA
    Posts
    253
    Works perfectly; just FYI.

Similar Threads

  1. Help! Apex Programming for TECO TK2000 Chiller & separate Heater
    By Sentinel in forum Apex Programming for Heaters and Chillers
    Replies: 2
    Last Post: 08-22-2021, 11:23
  2. Help! How to program that a switch should work only on certain days
    By OurCoralReef in forum Misc Apex Usage & Programming
    Replies: 3
    Last Post: 10-26-2018, 11:40
  3. Program dos for every 3 days?
    By LAreefguy in forum DŌS & DDR – Dosing and Fluid Metering System
    Replies: 1
    Last Post: 04-09-2016, 15:36
  4. Help! try to program a dosing pump brs to come on different days
    By james2369 in forum Misc Apex Usage & Programming
    Replies: 4
    Last Post: 02-18-2014, 19:31
  5. Replies: 3
    Last Post: 01-08-2014, 04:27

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
  •