Programming help

Users Who Are Viewing This Thread (Total: 0, Members: 0, Guests: 0)

chanson

Active Member
View Badges
Joined
Dec 30, 2014
Messages
283
Reaction score
19
Location
thornton, co
Rating - 0%
0   0   0
Could someone help me with what lines add to have a max run time and if the max time has been hit to send email alert. My ato pump never runs over a minute so I want to have a max run time of 3 minutes and a alarm sent if it runs that long. This is my current ato program. Thanks
Screenshot_20220225-084011_APEX Fusion.jpg
Screenshot_20220225-084011_APEX Fusion.jpg
 
This is normally done using the When command. Add this line to your ATO program:

When On > 003:00 Then OFF

Then add this line to your EmailAlm program to send you the alarm notification:

If Error ATO Then ON

The When command triggers the error condition when the timer is exceeded, and it moves the ATO dashboard slider from AUTO to OFF. You’ll receive the alarm notification, then after you investigate and correct whatever caused the problem, move the ATO slider back to AUTO to resume normal operation.

You should also make a couple of other changes to your ATO code:

Fallback OFF
Set OFF
If SumpLo OPEN Then ON
If ResLo OPEN Then OFF
If SumpHi CLOSED Then OFF
If Output skimmermaint = ON Then OFF
When On > 003:00 Then OFF
Defer 000:10 Then ON
Defer 004:04 Then OFF
Min Time 030:00 Then OFF

This is the standard code used for Neptune’s ATK, and can also be used for any other ATO controlled by the Apex. Read my ATK tutorial for a description of how the code works:



See my whole series of Apex tutorials for more tips and programming examples:
 
Last edited:
I just wanted to say I really appreciate your tutorials/posts on the Apex. I just started setting up my first Apex, ATK, other modules etc.. this week, and went through this same process. I have been using your tutorials as a starting point and programming reference.
 
This is normally done using the When command. Add this line to your ATO program:

When On > 003:00 Then OFF

Then add this line to your EmailAlm program to send you the alarm notification:

If Error ATO Then ON

The When command triggers the error condition when the timer is exceeded, and it moves the ATO dashboard slider from AUTO to OFF. You’ll receive the alarm notification, then after you investigate and correct whatever caused the problem, move the ATO slider back to AUTO to resume normal operation.

You should also make a couple of other changes to your ATO code:

Fallback OFF
Set OFF
If SumpLo OPEN Then ON
If ResLo OPEN Then OFF
If SumpHi CLOSED Then OFF
If Output skimmermaint = ON Then OFF
When On > 003:00 Then OFF
Defer 000:10 Then ON
Defer 004:04 Then OFF
Min Time 030:00 Then OFF

This is the standard code used for Neptune’s ATK, and can also be used for any other ATO controlled by the Apex. Read my ATK tutorial for a description of how the code works:



See my whole series of Apex tutorials for more tips and programming examples:
Great write up, thanks so much for the help
 

IF YOU HAD TO TAKE A REEFING EXAM, WOULD YOU PASS?

  • Yes!

    Votes: 32 45.7%
  • Not yet, but I have one that I want to buy in mind!

    Votes: 9 12.9%
  • No.

    Votes: 26 37.1%
  • Other (please explain).

    Votes: 3 4.3%

New Posts

Back
Top