Results 1 to 3 of 3

Thread: Help me understand why line of code triggers an alert

  1. #1
    Frequent Visitor
    Join Date
    May 2017
    Location
    Los Angeles, CA
    Posts
    110

    Question Help me understand why line of code triggers an alert

    Trying to better understand coding. Let's look at the below code from my Neptune ATK

    Code:
    Fallback OFF
    Set OFF
    If Swx5_1 OPEN Then ON
    If Swx5_2 CLOSED Then OFF
    When On > 005:00 Then OFF
    Defer 000:10 Then ON
    Defer 000:04 Then OFF
    Min Time 060:00 Then OFF
    When the pump runs greater than 5 minutes, it turns off the ATK (slider actually turns off and won't automatically turns on) and sets an alert via email with the code "If Error ATK_L Then ON"

    Any other "Then OFF" doesn't cause an alert. Is it because of the "When On > X" that is causing the alert?

  2. #2
    Master Control Freak RussM's Avatar
    Join Date
    Dec 2012
    Location
    California - US Pacific
    Posts
    22,463
    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
    May 2017
    Location
    Los Angeles, CA
    Posts
    110
    Quote Originally Posted by RussM View Post
    Awesome write up! Thank you.

    I was @ Reef-A-Palooza and attended the meetup. I heard you were also there. Wanted to stop by and say hi. Each time I walked by, there was a big crowd.

Similar Threads

  1. Inactivating a Line of Code
    By ChaoticReefer in forum Misc Apex Usage & Programming
    Replies: 4
    Last Post: 06-11-2019, 00:05
  2. Question: Float alert code
    By xxplastaxx in forum Misc Apex Usage & Programming
    Replies: 2
    Last Post: 12-05-2016, 02:29
  3. Help! Broken Breakout? And programing included, code line question
    By mrdanlambert in forum APEX Fusion
    Replies: 23
    Last Post: 05-26-2015, 09:08
  4. Stop (shut off) a line of code
    By hkgar in forum Apex Classic/Apex Lite/Apex Jr
    Replies: 2
    Last Post: 03-01-2015, 15:24
  5. Question: Outlet code line disabling?
    By Currentz in forum Misc Apex Usage & Programming
    Replies: 3
    Last Post: 02-21-2015, 17:05

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
  •