PDA

View Full Version : How to configure FMM to refill ATO Reservoir


Stolireef
06/06/2017, 06:33 PM
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.

Stolireef
06/06/2017, 06:37 PM
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.

scuzy
06/06/2017, 06:45 PM
if the close and open postition is correct it looks fine to me. unless 'm missing something.

FullBoreReefer
06/06/2017, 06:56 PM
I would remove the Defer Off statement and try again

FullBoreReefer
06/06/2017, 07:02 PM
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

Stolireef
06/06/2017, 07:03 PM
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.

FullBoreReefer
06/06/2017, 07:13 PM
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.

Stolireef
06/06/2017, 07:28 PM
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).

FullBoreReefer
06/07/2017, 04:53 AM
Correct

ca1ore
06/07/2017, 09:26 AM
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.

Grayhead
06/07/2017, 09:55 AM
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

ca1ore
06/07/2017, 11:22 AM
If Swx26_1 OPEN Then ON

26! Thought I was obsessed (18 is my max) :lol:

spifftempo
06/07/2017, 01:29 PM
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.

Stolireef
06/07/2017, 04:38 PM
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.

ca1ore
06/07/2017, 05:54 PM
Got home and looked. Agree that the set command should be removed completely.

Stolireef
06/08/2017, 05:27 AM
Worked perfectly. Thank you

Sent from my SM-G935V using Tapatalk

FullBoreReefer
06/08/2017, 05:31 AM
Great, thanks for the update

ca1ore
06/08/2017, 12:50 PM
Worked perfectly. Thank you

Sent from my SM-G935V using Tapatalk

So, what code did you end up with?

Stolireef
06/09/2017, 01:29 PM
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.

scuzy
06/09/2017, 03:41 PM
Wait 10 second before coming on. Wait 4 second before turning off


Sent from my iPhone using Tapatalk Pro

FullBoreReefer
06/10/2017, 09:40 AM
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.

Have you tested the "When On" code to see if it works? Or that your timing is correct...just in case.

I haven't incorporated any of the "When On" statements yet into any of my programming.

Grayhead
06/10/2017, 01:17 PM
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.

For my system, I have 3 solenoids
1 for top off
1 for salt mix station
1 for booster pump(which controls RODI plus booster pump

I need mine to operate independently of each other, both using the booster pump. If I configure this as above, when it comes time to fill my salt mix, will it create a conflict with the top off telling the pump to stay off? I also want to a flush solenoid for the RODI to flush for 5 minutes each time it comes on.