first time using program logic, help with skimmer delay please

grafxalien

Community Member
View Badges
Joined
Nov 16, 2014
Messages
28
Reaction score
21
Location
United States
Rating - 0%
0   0   0
Hello- This is my first time using program logic and I need a little help. I tried the GHL support forum but there has been no response, so I figured I would try here. I think I have things working, but I ran into an error I can't explain and I'm not sure this is the most efficient way to code it.

I am trying to program a few different controls for my skimmer and return pump
Feed 1 - Pump off 10 min, skimmer off 15
Feed 2 - pump off 10 min, skimmer off 4 hr
Maint 1 - Pump and skimmer off; then skimmer delay 5 min after return pump on
Float sensor to monitor sump level and turn off skimmer if to high

Here was my first attempt

Control Circuit 2 - Leakage detection - input 3

Program logic
Gate 1 - Delayed on - Filter 1 - 300s
Gate 2 - Delayed on - Filter 2 - 14400s
Gate 3 - Delayed off - maintenance 1
Gate 4 - PL1 AND PL2
Gate 5 - PL4 AND PL3(INVERT)
Gate 6 - PL5 AND Fill water 2

Gate 7 - Filter 1 AND Filter 2
Gate 8 - PL7 OR Maintenance 1

Sockets

Return pump - PL8
Skimmer - PL6


The Return pump seemed to function correctly, but the skimmer did not. After some troubleshooting I realized no matter what I put in gate 2 I couldn't get the socket to function properly; so I tried the same code but instead of using gate 2, I used gate 10. For some reason, this seemed to fix the problem. Anyone have any ideas why this would happen? Also, if anyone has a more simple method of doing this please let me know.

New Code that seems to work:

Control Circuit 2 - Leakage detection - input 3

Program logic
Gate 1 - Delayed on - Filter 1 - 300s

Gate 3 - Delayed off - maintenance 1
Gate 4 - PL1 AND PL10
Gate 5 - PL4 AND PL3(INVERT)
Gate 6 - PL5 AND Fill water 2

Gate 7 - Filter 1 AND Filter 2
Gate 8 - PL7 OR Maintenance 1

Gate 10 - Delayed on - Filter 2 - 14400s

Sockets

Return pump - PL8
Skimmer - PL6
 

Variant

Well-Known Member
View Badges
Joined
Oct 23, 2018
Messages
586
Reaction score
583
Rating - 0%
0   0   0
@Ohashimz I don't have a direct answer for this but I can share with you what I did...

I needed similar funcationality as you described. When my return is off, the sump level increases, impacting my skimmer, my rollermat, and my UV at the very least. That said, I also had two level sensors (one optical and one float). The optical sensor was the primary for my ATO while the float was a fail safe (in addition to the max run time). I simply programmed the float switch to turn off not only the ATO, but my skimmer, UV, and rollermat.

Scenario:
  1. I turn return pump off
  2. Water level starts to increase in sump
  3. Float sensor, which is placed near the skimmer section water level, is triggered
  4. ATO is off (already was), Skimmer turns off, Rollermat turns off, etc.
  5. Then I turn my return pump back on
  6. Once sump water level normalizes, everything turns back on automatically.
Yes, the float switch is another physical thing that could jam up at some point, but electronics can also go bad too, The float switch is already being used as a failsafe anyways, so why not? (:
 

ingchr1

Valuable Member
View Badges
Joined
Sep 9, 2018
Messages
1,720
Reaction score
1,256
Rating - 0%
0   0   0
Glanced over your post the first time and missed the part where it looks like PL2 is not working correctly.

Not sure if how I have mine setup is any easier than what you have.
 

Ditto

Valuable Member
View Badges
Joined
Apr 25, 2017
Messages
2,229
Reaction score
2,933
Location
Albany, NY
Rating - 0%
0   0   0
Sorry for the delayed response what firmware version are you on?

It should have worked on 2 and 10 the same. Could be a bug, should open a support ticket to let them confirm.

The logic is sound that your posted and I am not seeing anything I would do different.
 
OP
OP
G

grafxalien

Community Member
View Badges
Joined
Nov 16, 2014
Messages
28
Reaction score
21
Location
United States
Rating - 0%
0   0   0
Sorry for the delayed response what firmware version are you on?

It should have worked on 2 and 10 the same. Could be a bug, should open a support ticket to let them confirm.

The logic is sound that your posted and I am not seeing anything I would do different.

Firmware 7.21.
will get a ticket posted.

thanks for the input!
 

TOP 10 Trending Threads

WHAT AMOUNT OF LIVE ROCK AND SAND SHOULD BE PRIORITIZED FOR OPTIMAL BIODIVERSITY/FILTRATION?

  • 100% live rock + bagged sand

    Votes: 34 28.3%
  • 100% dry rock + 100% live sand

    Votes: 41 34.2%
  • 50/50 live/dry rock, 50/50 live/bagged sand

    Votes: 27 22.5%
  • 75% live rock, 25% live sand

    Votes: 10 8.3%
  • 25% live rock, 75% live sand

    Votes: 8 6.7%
Back
Top