Apex Programming for Two Klir Filter Rollers

Mike Jenkins

Community Member
View Badges
Joined
Dec 31, 2019
Messages
87
Reaction score
144
Location
Fredericksburg, Va.
Rating - 0%
0   0   0
I have two Klir DI-7 filter rollers that I have by-passed the factory controller and I am running directly with 2 outlets on my apex along with an apex optical sensor in my sock tray. Everything is working fine but when the optical sensor trips, both rollers roll. I would like to come up with a way to have them alternate operation. It sounds like a simple task using a virtual outlet but I can't seen to wrap my brain around how to implement it. Here is the code that I have for each of the Klir outlets currently:


Fallback OFF
Set OFF
If Tray Closed Then ON
If Output RETPUMP1 = OFF Then OFF
If Output RETPUMP2 = OFF Then OFF
Defer 000:30 Then ON
When On > 000:10 Then OFF
When Off > 480:00 Then OFF

(The when statements are there to allow me to get an error message through the alarm if either the optical sensor or filter paper is stuck or if the roll is out.)
 

mike550

Valuable Member
View Badges
Joined
Oct 13, 2019
Messages
2,269
Reaction score
2,328
Location
Chicago
Rating - 0%
0   0   0
I have two Klir DI-7 filter rollers that I have by-passed the factory controller and I am running directly with 2 outlets on my apex along with an apex optical sensor in my sock tray. Everything is working fine but when the optical sensor trips, both rollers roll. I would like to come up with a way to have them alternate operation. It sounds like a simple task using a virtual outlet but I can't seen to wrap my brain around how to implement it. Here is the code that I have for each of the Klir outlets currently:


Fallback OFF
Set OFF
If Tray Closed Then ON
If Output RETPUMP1 = OFF Then OFF
If Output RETPUMP2 = OFF Then OFF
Defer 000:30 Then ON
When On > 000:10 Then OFF
When Off > 480:00 Then OFF

(The when statements are there to allow me to get an error message through the alarm if either the optical sensor or filter paper is stuck or if the roll is out.)
Do you have to have the filters alternate each time? It would be easy if you activated using DOW. Not perfect but close.
 

SuncrestReef

That Apex guy
View Badges
Joined
Jan 18, 2018
Messages
4,214
Reaction score
8,688
Location
Oregon
Rating - 0%
0   0   0
I have two Klir DI-7 filter rollers that I have by-passed the factory controller and I am running directly with 2 outlets on my apex along with an apex optical sensor in my sock tray. Everything is working fine but when the optical sensor trips, both rollers roll. I would like to come up with a way to have them alternate operation. It sounds like a simple task using a virtual outlet but I can't seen to wrap my brain around how to implement it. Here is the code that I have for each of the Klir outlets currently:


Fallback OFF
Set OFF
If Tray Closed Then ON
If Output RETPUMP1 = OFF Then OFF
If Output RETPUMP2 = OFF Then OFF
Defer 000:30 Then ON
When On > 000:10 Then OFF
When Off > 480:00 Then OFF

(The when statements are there to allow me to get an error message through the alarm if either the optical sensor or filter paper is stuck or if the roll is out.)
This will probably keep me up at night thinking of a solution. If I come up with something, I'll let you know.
 
OP
OP
Mike Jenkins

Mike Jenkins

Community Member
View Badges
Joined
Dec 31, 2019
Messages
87
Reaction score
144
Location
Fredericksburg, Va.
Rating - 0%
0   0   0
This will probably keep me up at night thinking of a solution. If I come up with something, I'll let you know.
Thanks, I know the feeling. It’s been swimming around in my head now for a couple of weeks. I feel like it could be a simple VO that switches on and off each time one of them operates with a if statement in each of filter programs, but I can’t figure out how to initiate it.
 

DWill

Active Member
View Badges
Joined
Jan 11, 2020
Messages
444
Reaction score
363
Rating - 0%
0   0   0
I think I would add a second optical sensor or float switch. Then run each filter off its own outlet and sensor/float. That would solve problem and add redundancy.

If you both filter off of one sensor if that sensor fails both filters are affected. Running them off there own sensor makes the independent.

That just the aviator in me. Redundancies are good.
 

evignola

New Member
View Badges
Joined
Jun 8, 2021
Messages
1
Reaction score
0
Location
Levis
Rating - 0%
0   0   0
I have two Klir DI-7 filter rollers that I have by-passed the factory controller and I am running directly with 2 outlets on my apex along with an apex optical sensor in my sock tray. Everything is working fine but when the optical sensor trips, both rollers roll. I would like to come up with a way to have them alternate operation. It sounds like a simple task using a virtual outlet but I can't seen to wrap my brain around how to implement it. Here is the code that I have for each of the Klir outlets currently:


Fallback OFF
Set OFF
If Tray Closed Then ON
If Output RETPUMP1 = OFF Then OFF
If Output RETPUMP2 = OFF Then OFF
Defer 000:30 Then ON
When On > 000:10 Then OFF
When Off > 480:00 Then OFF

(The when statements are there to allow me to get an error message through the alarm if either the optical sensor or filter paper is stuck or if the roll is out.)
How did you by-passed the factory controller?
 

sdreef

Well-Known Member
View Badges
Joined
Dec 24, 2015
Messages
940
Reaction score
3,012
Rating - 0%
0   0   0
There is probably a more elegant programming solution, but if each roller is running through an apex outlet, you could consider setting the outlets to be on at alternating times using the time function. For example, roller one could be on from midnight to noon. The second filter roll could be on from noon to midnight.

This would allow you to extend the life of the filter roll paper. Depending on the time interval you select, you would potentially need to adjust to alarm code to notify you when the roller is jammed. Just one possible solution to allow you to only run one roller at a time using a single optical sensor.
 

wotis11

Active Member
View Badges
Joined
Nov 4, 2020
Messages
102
Reaction score
61
Location
Syracuse
Rating - 0%
0   0   0
I know this is an old thread but if the water level gets high enough to activate the optical sensor the fleece in both Klir roller would have to be plugged and both would need to advance. So I don’t understand what the benefit would be of having only one advance at a time
 

mpoletiek

Active Member
View Badges
Joined
Aug 3, 2022
Messages
100
Reaction score
100
Location
TX
Rating - 0%
0   0   0
Don't mean to zombie, but I'm looking for some instructions on setting up 2 klir 7s to my apex when I came across this thread.

The pseudo logic for this problem would be something like.

Toggle=false
If sensor=true
If Toggle == false
Toggle = true
Run Klir1
Else
Toggle = false
Run Klir2
 

TOP 10 Trending Threads

HOW DO YOU ADJUST YOUR CUC AS ALGAE DISAPPEARS?

  • Capture and re-home CUC

    Votes: 7 7.1%
  • Increase white light/hours in tank to spur algae growth to feed CUC

    Votes: 6 6.1%
  • Feed nori to support CUC

    Votes: 35 35.4%
  • Feed herbivore pellets to support CUC

    Votes: 33 33.3%
  • Allow attrition to balance CUC and algae

    Votes: 43 43.4%
  • Provide macro algae to feed CUC

    Votes: 6 6.1%
  • Introduce CUC predators

    Votes: 1 1.0%
  • Other (please explain)

    Votes: 11 11.1%
Back
Top