How to configure FMM to refill ATO Reservoir

Stolireef

Active member
I have an FMM and I have attached two optical sensors to it. FM1 is the low water sensor and FM2 is the high sensor.

What I want it to do:
1. When FM1 is open (meaning I think, out of the water) open solenoid and start refilling ATO reservoir.
2. When FM2 is closed (high sensor now under water) close solenoid valve.

When I tried to configure this using Fusion tasks it programmed the FMM as follows:
Fallback OFF
Set OFF
If Swx8_1 OPEN Then ON
If Swx8_2 CLOSED Then OFF
When On > 005:00 Then OFF
Defer 000:10 Then ON
Defer 000:04 Then OFF
Min Time 060:00 Then OFF

This doesn't look right to me. Any help would be appreciated.

Thanks.
 
When I tried just using the first four lines of the code, it would open the solenoid for a second or two and then it would close. It doesn't make any sense though since, I think, once the low sensor is open, the solenoid should stay open until the high sensor closes. So what is your resident APEX idiot missing in this equation.
 
if the close and open postition is correct it looks fine to me. unless 'm missing something.
 
What I would do is, plug in the FMM, plug in your sensors, and your solenoid. Find the outlet created for the 24v Link(your solenoid) and program the code below...

Fallback OFF
Set OFF
If Swx8_1 OPEN Then ON
Defer 000:10 Then ON
When On > 005:00 Then OFF
If Swx8_2 CLOSED Then OFF
Defer 000:10 Then Off
 
Last edited:
I hate to be dense, but could you explain what the additional code does. Teach a man to fish and all that.

Thanks so much.
 
I hate to be dense, but could you explain what the additional code does. Teach a man to fish and all that.

Thanks so much.

What I would do is, plug in the FMM, plug in your sensors, and your solenoid. Find the outlet created for the 24v Link(your solenoid) and program the code below...

Fallback OFF
Set OFF
If Swx8_1 OPEN Then ON When low sensor is uncovered it turns the solenoid "on"
Defer 000:10 Then ONBUT, it will wait 10 secs then turn "on"
When On > 005:00 Then OFFIf the solenoid is on for MORE than 5mins, it will automatically turn "off", saving you from an overflow
If Swx8_2 CLOSED Then OFFWhen High sensor is covered it will turn the solenoid "off"
Defer 000:10 Then OffBUT, it will wait 10 secs then turn "off"

You can shorten or lengthen the Defer statements to use more water before refilling, or add more water if you can't get your sensor high enough.

Or shorten the maximum run time to prevent overflow.
 
Since I'm filling a 10 gallon reservoir, would I set the on for about 2 hours (that's about how long it takes to refill).
 
Fallback OFF
Set OFF
If Swx8_1 OPEN Then ON
If Swx8_2 CLOSED Then OFF

OK, going from memory here, but I think if you do 'Set ON' it will work as you want. Trouble with what you have is that as soon as the low Swx8_1 closes, the outlet reverts to the set state - which is off. I think this would fill the ATO reservoir, but you'd then have to turn the RODI off once filled otherwise it will iterate.
 
I am following this thread as well. I purchased the ATK kit with 2 optical sensors for the top off tank. I am trying to set the top off tank to fil automatically once the lower sensor trips. Part of my issue is I also have my salt mix tank utilizing the same RODI system. I control everything manually now. I purchased a second FMM module and 2 more optical sensors to have more control over the salt tank. I am waiting for the neptune solenoids to show up to integrate them in my system. I will have 4 to hook up. 1 for RODI, 1 for Booster pump, 1 for Salt mix tank, and 1 to flush the RO membrane everytime the setup kicks on. I know it will be a bit complex, but the code is where I will have the most issues I think. I just tried to set up the ATK and the hi?low for the top off tank with no luck. Here is my code.
Fallback OFF
Set OFF
If Swx26_1 OPEN Then ON
If Swx26_2 CLOSED Then OFF
When On > 005:00 Then OFF
Defer 000:10 Then ON
Defer 000:04 Then OFF
Min Time 060:00 Then OFF
If Output Main_Pump = OFF Then OFF
Defer 005:00 Then ON
If RODI_L OPEN Then RODI ON
If RODI_L OPEN Then BOOSTER_MAIN ON
If RODI_H OPEN Then RODI OFF
If RODI_H OPEN Then BOOSTER_MAIN OFF

Hope you dont mind me piggybacking on your thread. We seem to have similar issues going on
 
Fallback OFF
Set OFF
If Swx8_1 OPEN Then ON
If Swx8_2 CLOSED Then OFF
When On > 005:00 Then OFF
Defer 000:10 Then ON
Defer 000:04 Then OFF
Min Time 060:00 Then OFF


The issue with both of these configurations is the "Set Off" at the top of the program. Correct me if I'm wrong, but you want the fill to occur when the first sensor (x8_1) becomes "uncovered" or "open". You do not want it turn off till the second sensor (x8_2) becomes "covered" or "closed". How your program is written currently indicates that turn solenoid on when 8_1 becomes open, then when it becomes closed the next true statement is "Set Off," so therefore, the solenoid closes immediately once x8_1 is closed. The corrected configuration should remove the "Set Off" and should be:

Fallback OFF
If Swx8_1 OPEN Then ON
If Swx8_2 CLOSED Then OFF
When On > 005:00 Then OFF
Defer 000:10 Then ON
Defer 000:04 Then OFF
Min Time 060:00 Then OFF

I haven't tested this, but should give you the behavior you are looking for.
 
Thanks for all of the help. I'm testing this tonight (waiting for the water level in the reservoir to drop about 1/2 inch at this point.
 
This did the trick

Fallback OFF
If Swx8_1 OPEN Then ON
If Swx8_2 CLOSED Then OFF
When On > 145:00 Then OFF
Defer 000:10 Then ON
Defer 000:04 Then OFF

I'm not sure what the defer is for but it didn't hurt anything.
 
Wait 10 second before coming on. Wait 4 second before turning off


Sent from my iPhone using Tapatalk Pro
 
Back
Top