Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
www.reef2reef.com
Would this sensor be the same/similar to the one Avast uses for the ATO switch?First of all, before discussing the optical sensor idea, I want to point out you're misunderstanding how the Defer timers work. The Apex only allows a single Defer ON and a single Defer OFF per output. It does not execute the Defer delays in sequence with the commands above or below it. Instead, Defer is a global option that is applied after the decision has been made to change the output from off to on, or from on to off. The placement of Defer, Min Time, When, and Fallback do not make any difference in how they behave.
I created this illustration to better explain it:
![]()
So your code can be simplified down to this:
Fallback ON
Set ON
If FeedA 030 Then OFF
If Output vFeed = ON Then OFF
If Output Vector = OFF Then OFF
If Skim1 CLOSED Then OFF
Defer 005:00 Then ON
Any of the conditions that tell it to turn OFF will happen right away. But each time it turns back ON, it will always have the 5 minute delay due to that single Defer timer. See my tutorial on Apex Timers for more details:
![]()
Neptune Apex Programming Tutorials, Part 2: Timers
Part 2 of a series on learning how to program your Neptune Apex. Today's article is all about timers: OSC, If Time, DOW, Defer, When, and Min Time.www.reef2reef.com
OK, now about the optical sensor. In general optical sensors are not a good choice for a skimmer. They are very susceptible to false readings if the sensor is dirty, and a skimmer cup is commonly filled with foamy skimmate that will stick to the sensor. Float switches are also a bad choice since foamy skimmate can eventually gum up the movement of the float. The only reliable type of sensor for a skimmer is an air pressure switch connected to a tube. As the skimmate level rises, it causes the air pressure in the tube to increase until the switch is triggered. The skimmate never actually comes into contact with the switch, so it can't get gummed up. I have my skimmer drain into a separate skimmate locker from Avast Marine that's monitored by a pressure switch. It has worked flawlessly for about 4 years now. You could probably incorporate the same air pressure tube into the skimmer cup directly.
Yes, that's half of the setup, but you also need the actual switch that measures the pressure in the tube: https://www.avastmarine.com/products/pressure-switch?_pos=1&_sid=c15f15fa1&_ss=rWould this sensor be the same/similar to the one Avast uses for the ATO switch?
![]()
Pressure Sensor Tube
Replacement sensor tube for all pressure sensor switches, including our ATOs and Davy Jones' Skimmate Lockers. Comes complete with sensor, 5-6' tubing and John Guest coupler.www.avastmarine.com
First of all, before discussing the optical sensor idea, I want to point out you're misunderstanding how the Defer timers work. The Apex only allows a single Defer ON and a single Defer OFF per output. It does not execute the Defer delays in sequence with the commands above or below it. Instead, Defer is a global option that is applied after the decision has been made to change the output from off to on, or from on to off. The placement of Defer, Min Time, When, and Fallback do not make any difference in how they behave.
I created this illustration to better explain it:
![]()
So your code can be simplified down to this:
Fallback ON
Set ON
If FeedA 030 Then OFF
If Output vFeed = ON Then OFF
If Output Vector = OFF Then OFF
If Skim1 CLOSED Then OFF
Defer 005:00 Then ON
Any of the conditions that tell it to turn OFF will happen right away. But each time it turns back ON, it will always have the 5 minute delay due to that single Defer timer. See my tutorial on Apex Timers for more details:
![]()
Neptune Apex Programming Tutorials, Part 2: Timers
Part 2 of a series on learning how to program your Neptune Apex. Today's article is all about timers: OSC, If Time, DOW, Defer, When, and Min Time.www.reef2reef.com
OK, now about the optical sensor. In general optical sensors are not a good choice for a skimmer. They are very susceptible to false readings if the sensor is dirty, and a skimmer cup is commonly filled with foamy skimmate that will stick to the sensor. Float switches are also a bad choice since foamy skimmate can eventually gum up the movement of the float. The only reliable type of sensor for a skimmer is an air pressure switch connected to a tube. As the skimmate level rises, it causes the air pressure in the tube to increase until the switch is triggered. The skimmate never actually comes into contact with the switch, so it can't get gummed up. I have my skimmer drain into a separate skimmate locker from Avast Marine that's monitored by a pressure switch. It has worked flawlessly for about 4 years now. You could probably incorporate the same air pressure tube into the skimmer cup directly.
Suncrestreef,First of all, before discussing the optical sensor idea, I want to point out you're misunderstanding how the Defer timers work. The Apex only allows a single Defer ON and a single Defer OFF per output. It does not execute the Defer delays in sequence with the commands above or below it. Instead, Defer is a global option that is applied after the decision has been made to change the output from off to on, or from on to off. The placement of Defer, Min Time, When, and Fallback do not make any difference in how they behave.
I created this illustration to better explain it:
![]()
So your code can be simplified down to this:
Fallback ON
Set ON
If FeedA 030 Then OFF
If Output vFeed = ON Then OFF
If Output Vector = OFF Then OFF
If Skim1 CLOSED Then OFF
Defer 005:00 Then ON
Any of the conditions that tell it to turn OFF will happen right away. But each time it turns back ON, it will always have the 5 minute delay due to that single Defer timer. See my tutorial on Apex Timers for more details:
![]()
Neptune Apex Programming Tutorials, Part 2: Timers
Part 2 of a series on learning how to program your Neptune Apex. Today's article is all about timers: OSC, If Time, DOW, Defer, When, and Min Time.www.reef2reef.com
OK, now about the optical sensor. In general optical sensors are not a good choice for a skimmer. They are very susceptible to false readings if the sensor is dirty, and a skimmer cup is commonly filled with foamy skimmate that will stick to the sensor. Float switches are also a bad choice since foamy skimmate can eventually gum up the movement of the float. The only reliable type of sensor for a skimmer is an air pressure switch connected to a tube. As the skimmate level rises, it causes the air pressure in the tube to increase until the switch is triggered. The skimmate never actually comes into contact with the switch, so it can't get gummed up. I have my skimmer drain into a separate skimmate locker from Avast Marine that's monitored by a pressure switch. It has worked flawlessly for about 4 years now. You could probably incorporate the same air pressure tube into the skimmer cup directly.
Looks good!Suncrestreef,
I just plugged in my Avast Marine skimmate locker. This is a beautiful piece of equipment. I got the breakout box that connect to directly to the apex. This is my programming for the skimmer outlet.
Fallback ON
Set ON
If FeedA 030 Then OFF
If Output VFeed = ON Then OFF
If Output Vectra = OFF Then OFF
IF LOCKER OPEN THEN OFF
Defer 005:00 Then ON

