Results 1 to 14 of 14

Thread: Heater Failure Code

  1. #1
    Regular Vistor robocop1906's Avatar
    Join Date
    Jun 2018
    Location
    us, central ime
    Posts
    45

    Heater Failure Code

    Hello,

    I'm running two heaters and wanted to have an alert if one of them stopped working. So, if one was on but drawing no voltage.

  2. #2
    Frequent Contributor zombie's Avatar
    Join Date
    Dec 2013
    Location
    Denver, CO
    Posts
    13,176
    If Output Heatername Watts < X Then ON

    Where X is about 75% of it's normal wattage draw

    Sent from my SM-G965U using Tapatalk

  3. #3
    Regular Vistor
    Join Date
    Feb 2018
    Location
    Louisiana
    Posts
    30
    Quote Originally Posted by zombie View Post
    If Output Heatername Watts < X Then ON

    Where X is about 75% of it's normal wattage draw

    Sent from my SM-G965U using Tapatalk
    My heaters turn on and off during the heating process. How can I code it so if it’s alerts me if the < x is for 2 min?

    Thanks


    Sent from my iPhone using Tapatalk

  4. #4
    Frequent Contributor zombie's Avatar
    Join Date
    Dec 2013
    Location
    Denver, CO
    Posts
    13,176
    Quote Originally Posted by Iansu View Post
    My heaters turn on and off during the heating process. How can I code it so if it’s alerts me if the < x is for 2 min?

    Thanks


    Sent from my iPhone using Tapatalk
    You would need to use a VO

    Heat1Fail
    Set OFF
    If Output HeaterName Watts < X Then ON
    Defer 002:00 Then ON

    Email add
    If Output Heat1Fail = ON Then ON

    Sent from my SM-G965U using Tapatalk

  5. #5
    Regular Vistor
    Join Date
    Feb 2018
    Location
    Louisiana
    Posts
    30
    Quote Originally Posted by zombie View Post
    You would need to use a VO

    Heat1Fail
    Set OFF
    If Output HeaterName Watts < X Then ON
    Defer 002:00 Then ON

    Email add
    If Output Heat1Fail = ON Then ON

    Sent from my SM-G965U using Tapatalk
    Thank you


    Sent from my iPhone using Tapatalk

  6. #6
    New User
    Join Date
    Dec 2017
    Location
    Toronto
    Posts
    10
    Quote Originally Posted by zombie View Post
    You would need to use a VO

    Heat1Fail
    Set OFF
    If Output HeaterName Watts < X Then ON
    Defer 002:00 Then ON

    Email add
    If Output Heat1Fail = ON Then ON

    Sent from my SM-G965U using Tapatalk
    is there a way to do it based on temp. like

    If temp >78.1 AND heater1 w<X Then ON
    or
    IF temp < 77.4 AND heater1 W>X Then ON

  7. #7
    Regular Vistor robocop1906's Avatar
    Join Date
    Jun 2018
    Location
    us, central ime
    Posts
    45
    Hello, if I have the heaters on two cycles how would I update the code?

    Alarm Code:
    If Output Heater1 Watts < 175 Then ON
    If Output Heater2 Watts < 100 Then ON

    Heater Code:

    Heater 1:
    Fallback OFF
    If Time 21:00 to 08:59 Then OFF
    If Tmp < 78.0 Then ON
    If Tmp > 78.3 Then OFF

    Heater 2:
    Fallback OFF
    If Time 09:00 to 20:59 Then OFF
    If Tmp < 78.0 Then ON
    If Tmp > 78.3 Then OFF

  8. #8
    Regular Vistor robocop1906's Avatar
    Join Date
    Jun 2018
    Location
    us, central ime
    Posts
    45
    Any ideas on this one?

  9. #9
    NSI Member
    Join Date
    Jan 2013
    Location
    MN
    Posts
    2,552
    Quote Originally Posted by robocop1906 View Post
    Any ideas on this one?
    It looks like you are trying to do my dual heater program. You have the time statements in the wrong place. Here's the thread with the current version of that programing.

    https://forum.neptunesystems.com/sho...Heater-Program

  10. #10
    Regular Vistor robocop1906's Avatar
    Join Date
    Jun 2018
    Location
    us, central ime
    Posts
    45
    Well, the question is really around the alert, not the dual program. I'll try this and see if ti works.

    The idea is the alert won't alarm while the heater is in it's off period as it would be expected to draw zero watts.

    Set OFF
    If Output Heater1 Watts < 175 Then ON
    If Time 09:00 to 20:59 Then OFF
    If Output Heater2 Watts < 100 Then ON
    If Time 21:00 to 08:59 Then OFF

  11. #11
    Master Control Freak RussM's Avatar
    Join Date
    Dec 2012
    Location
    California - US Pacific
    Posts
    22,463
    Quote Originally Posted by robocop1906 View Post
    Well, the question is really around the alert, not the dual program. I'll try this and see if ti works.

    The idea is the alert won't alarm while the heater is in it's off period as it would be expected to draw zero watts.

    Set OFF
    If Output Heater1 Watts < 175 Then ON
    If Time 09:00 to 20:59 Then OFF
    If Output Heater2 Watts < 100 Then ON
    If Time 21:00 to 08:59 Then OFF
    This unnecessary. The Apex already handles this situation for you.

    Power consumption alarm options and programming statements will be ignored if the specified output is manually OFF or the output is in AUTO and the output state is OFF due to programming. This behavior prevents false alarms about low watts or amps when an EB832 output is OFF.

    As an example, let’s say that you have your return pump output programmed to turn the pump off while FeedA is active (If FeedA 000 Then OFF). You would not want an alarm about your return pump drawing 0 watts while your FeedA Cycle is active and the return pump is shut off. A watts reading of 0 is normal while the return pump is OFF in this case, so the Apex takes this into account, and will not trigger an alarm because the watts measurement is expected to be zero.
    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.

  12. #12
    Regular Vistor robocop1906's Avatar
    Join Date
    Jun 2018
    Location
    us, central ime
    Posts
    45
    Quote Originally Posted by RussM View Post
    This unnecessary. The Apex already handles this situation for you.

    Power consumption alarm options and programming statements will be ignored if the specified output is manually OFF or the output is in AUTO and the output state is OFF due to programming. This behavior prevents false alarms about low watts or amps when an EB832 output is OFF.

    As an example, let’s say that you have your return pump output programmed to turn the pump off while FeedA is active (If FeedA 000 Then OFF). You would not want an alarm about your return pump drawing 0 watts while your FeedA Cycle is active and the return pump is shut off. A watts reading of 0 is normal while the return pump is OFF in this case, so the Apex takes this into account, and will not trigger an alarm because the watts measurement is expected to be zero.
    Yeah well, I tried it and it keeps setting off alarms even when it was off cycle.

    I came up with the following which seems to work.
    Set OFF
    If Output Heater1 Watts < 175 Then ON
    If Time 09:00 to 20:59 Then OFF
    If Output Heater2 Watts < 100 Then ON
    If Time 21:00 to 08:59 Then OFF

  13. #13
    NSI Member
    Join Date
    Jan 2013
    Location
    MN
    Posts
    2,552
    Quote Originally Posted by robocop1906 View Post
    Yeah well, I tried it and it keeps setting off alarms even when it was off cycle.

    I came up with the following which seems to work.
    Set OFF
    If Output Heater1 Watts < 175 Then ON
    If Time 09:00 to 20:59 Then OFF
    If Output Heater2 Watts < 100 Then ON
    If Time 21:00 to 08:59 Then OFF
    The issue with that is you would never get an alert between 21:00 and 8:59. Programs evaluate every line from top to bottom and the outlet sets to whatever the state is at the end. The last line would shut it off no matter what between those times. You can do this with 2 virtual outlets instead of trying to do it all in one.

  14. #14
    Master Control Freak RussM's Avatar
    Join Date
    Dec 2012
    Location
    California - US Pacific
    Posts
    22,463
    Quote Originally Posted by robocop1906 View Post
    Yeah well, I tried it and it keeps setting off alarms even when it was off cycle.

    I came up with the following which seems to work.
    Set OFF
    If Output Heater1 Watts < 175 Then ON
    If Time 09:00 to 20:59 Then OFF
    If Output Heater2 Watts < 100 Then ON
    If Time 21:00 to 08:59 Then OFF
    As nicholb pointed out, the program logic here is incorrect, and will not do what you want it to do., But the greater issue is that you are trying to fix a problem that isn't being caused by what you think it is. The behavior of the If Output output-name Watts < ### Then ON is as I described -- the If Output output-name Watts < ### Then ON statement will not be TRUE if the referenced EB832 output is OFF (either manual OFF or OFF due to programming)

    There is even a delay built into the underlying logic that gives allows several seconds after the EB832 outlets gets turned on for the device plugged into the EB832 to come up to speed (for example, a AC-powered pump) before the If Output output-name Watts < ### Then ON statement could become TRUE.

    There is something else going on.

    • What heaters do you use?
    • Do they have internal thermostats?
    • Are you using any external temperature controllers, like Inkbird or Ranco?


    Lastly, did you fix the programming error nicholb had previously pointed out:

    You had:

    Heater 1:
    Fallback OFF
    If Time 21:00 to 08:59 Then OFF
    If Tmp < 78.0 Then ON
    If Tmp > 78.3 Then OFF

    Heater 2:
    Fallback OFF
    If Time 09:00 to 20:59 Then OFF
    If Tmp < 78.0 Then ON
    If Tmp > 78.3 Then OFF

    It should be:


    Heater 1:
    Fallback OFF
    If Tmp < 78.0 Then ON
    If Tmp > 78.3 Then OFF
    If Time 21:00 to 08:59 Then OFF

    Heater 2:
    Fallback OFF
    If Tmp < 78.0 Then ON
    If Tmp > 78.3 Then OFF
    If Time 09:00 to 20:59 Then OFF
    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.

Similar Threads

  1. Solved: Heater Failure Monitoring based on Temperature and Wattage Draw
    By Bradford in forum Apex Programming for Heaters and Chillers
    Replies: 0
    Last Post: 05-29-2020, 15:47
  2. Chiller / Heater code
    By jamiequ in forum Apex Programming for Heaters and Chillers
    Replies: 2
    Last Post: 10-10-2019, 06:47
  3. Question: Code to turn on skimmer after power failure
    By RonN in forum Apex Classic/Apex Lite/Apex Jr
    Replies: 1
    Last Post: 03-14-2017, 11:56
  4. Heater Failure need help with a quick programming update
    By sfb911 in forum Apex Programming for Heaters and Chillers
    Replies: 0
    Last Post: 02-06-2016, 12:23
  5. Review My Program Heater Code
    By Nola26 in forum Apex Programming for Heaters and Chillers
    Replies: 5
    Last Post: 05-22-2015, 05:28

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
  •