Apex programming question.

braaap

Well-Known Member
View Badges
Joined
Jul 16, 2015
Messages
915
Reaction score
813
Location
Montana
Rating - 100%
3   0   0
So on my system I have a high water float that protects against overflows from the ATO. It is a last resort. When that triggers it kills the ato, return pump and triggers a 24v audible alarm.

I have a AFS that is running off a virtual outlet. When the AFS triggers it does its thing and when the time is up I want the return to turn on and then the MP10s to come on about 2 minutes later after the water level is back up. But what happens now is the AFS feed is over and the audible alarm triggers because the high water float is triggered.

Here are my codes.

vFeed
Set OFF
If Time 11:00 to 11:02 Then ON
If Time 18:30 to 18:32 Then ON
Defer 005:00 Then OFF

AFS
Fallback OFF
Set OFF
If Output vFeed = ON Then ON
If FeedC 000 Then ON
Defer 001:00 Then ON

Audible Alarm
Set OFF
If ALD1 CLOSED Then ON
If ALD2 CLOSED Then ON
If ALD3 CLOSED Then ON
If HIGHWT OPEN Then ON
If FeedA 005 Then OFF
If FeedC 005 Then OFF
If FeedD 005 Then OFF
If Output vFeed = ON Then OFF
Defer 008:00 Then OFF

I am sure I am missing something simple. I just can't figure out how to have the leak alarm off for a couple extra minutes until the return has come on and corrected the water level.
 

sean151

Community Member
View Badges
Joined
Sep 3, 2012
Messages
76
Reaction score
39
Location
MV, WA
Rating - 0%
0   0   0
If I'm reading correctly what's happening is you turn off the return when AFS is on? This is then causing HIGHWT OPEN status which triggers alarm state to be ON after the AFS finishes?

If I'm reading that correctly (some inferences made), then you will need to add a delay to the pump turning off from alarm or to the alarm setting.
 

Reefing threads: Do you wear gear from reef brands?

  • I wear reef gear everywhere.

    Votes: 20 13.8%
  • I wear reef gear primarily at fish events and my LFS.

    Votes: 10 6.9%
  • I wear reef gear primarily for water changes and tank maintenance.

    Votes: 1 0.7%
  • I wear reef gear primarily to relax where I live.

    Votes: 22 15.2%
  • I don’t wear gear from reef brands.

    Votes: 82 56.6%
  • Other.

    Votes: 10 6.9%
Back
Top