Note: This thread was originally posted under Ditto's "Switching Controllers from Apex to GHL". At the suggestion of others, I have copied and pasted here. Sorry for the duplication and inconvenience....I'm new to GHL and the GHL forums....(but I've been in the hobby since it's infancy.... 50+ years).
-------------------------------------------
Feb 17, 2020
Before I go too far with attempting to set up and program my ATO System, I'm hoping if someone can tell me IF it is even possible to do what I'm hoping to do, and answer some basic questions:
With Float valves, when the float is UP, does that turn on or off a socket? I'm guessing that it depends if the INVERTED BOX is checked? (If so, does a checked box turn on or off the socket?)
Below is a picture of my proposed SENSOR setup showing 3 sensors: The main sensor will be the OPTICAL sensor in the middle. The 2 FLOAT sensors, one above and one below the OPTICAL sensor, will act as "backups." So, if the OPTICAL sensor fails in the "off" position, the LOWER FLOAT would turn on the pump(s); if the OPTICAL sensor fails in the "on" position, the UPPER FLOAT will turn off the pump(s). Is it possible to have all 3 sensors control the same pump, or would there be a conflict necessitating a separate pump for the OPTICAL and a separate pump for the 2 FLOAT sensors?
I'm also wondering if I can control different pumps depending on the pH. My plan would be:
-If pH is < 8.3 then a "KALKwasser PUMP" will be activated.
-if pH is > 8.3 then a "NON-KALK PUMP" will be activated.
I'm not asking for someone to "set this up" for me, I'm just wondering if it is possible. I'm thinking that it may not be, because I don't see a way to plug in pH values. I see on the SWITCHES/OUTLETS that you can choose "pH Value-1", then "Control downwards, or, upwards" ….. but I don't think that is going to help me do what I want....unless I'm hopefully missing something. So, if there is a way to plug in pH values somewhere, steering me in the right direction would be appreciated!
To complicate matters even more, I am hoping to have a 3d, "Backup Pump," that would be activated if the other 2 pumps fail. Actually, to simplify matters, I was thinking of just having this Backup Pump be activated at the same time as the KALK or NON-KALK pumps BUT with a set DELAY. That way, it would only come on after giving the other pumps a chance to replace the evaporated water. I think the maximum delay is only 60 seconds, so I'm not sure if that would be enough time, but it would be OK for this pump to run along with the other pump(s) for a while if necessary.
My 3d layer of redundancy will be a gravity fed float valve, positioned below the lowest FLOAT valve!
I know all of this will take a lot of layers of Programmable Logic, but it will be a good "brain exercise" for me! First step is to just learn if it is all possible....so I thank anybody who might comment and/or point me in the right direction.
--------------------------------------------------------
Ditto Replied:
Lets start with the Sensors.
You could use all 3. Advance Program Logic would be used. You could use the two sensors for ATO which would be your low and High. Or you could use Senor 1 as ATO, Senor 2 as ATO. And Then Sensor 3 as Leak Detector or High Sump. We would then apply all 3 in Advance program Logic, and then apply that to the switch outlet. A few options
For the PH yes it would be based on the PH Nominal Value and the Hysterias Value. Then you would do the PH Control Downward or Upward on the Switch Outlet.
So what you would do is Set your PH Value lets say 8.3 and then your Hysteresis of .20 for example. At 8.4 would activate the downwards, and at 8.2 would be the upwards. (I believe this is right, sometimes I get it reversed)
The Hysteresis value and the Nominal Value determine the amount of the swing and the activation point. Remember what ever Hysteresis value you set it is 1/2 that value before it activated
-----------------------------------------------
Dr. Jim replied:
What happens if the pH is below 8.2, the lower set value? Would the socket still become activated if set on "upwards" ?
Ditto: I noticed that your 3 options for sensors didn't include what I was hoping to do. Are you saying I can't use my idea being:
the middle Optical Sensor would be the "main" control (i.e. turns off and on pump(s) as needed), with the upper and lower Float sensors as a backup (so they would turn off or on the same pump(s) that the Optical sensor controls IF the Optical sensor fails?
When the float rises, does it turn off or on a switch/socket?
--------------------------------------------
Ditto replied:
Ok, maybe I miss understood the request
Sensor 2 would be ato. So it would control the pump.
Do you want sensor 3 (upper sensor) to turn the pump on or off when it activates? For example it would be on till activated meaning water raised the sensor Is activated.
Do you want sensor 1 to turn the pump on or off with it activates. Meaning when the sensor activated meaning low water it activates until the sensor activated.
The issue is failure, If the optical sensor fails it going to fail closed meaning the sensor is going to think water is there and is not. That is done as safety and you also have a max on time also which helps which is the max time Setting which is the max time the outlet can be on before it fails and shut it down.
Yes 8.2 and below so if it was 8.1 it will still activate.
------------------------------------------
Dr. Jim replied:
I'm sorry if I'm not explaining this well....
The middle sensor (OPTICAL) would be the main sensor. When the water level drops, it would turn on a pump; when the water rises and covers the sensor, it would shut the pump off. QUESTION: Does the sensor turn ON or OFF a socket when the water drops below the sensor? I'm trying to get a handle on the INVERTED BOX and when to check it.
The LOWER FLOAT is a backup that would turn on a pump if for some reason the OPTICAL SENSOR failed to turn on the pump. Again, does the sensor activate (turn on) a socket when the float is down or up? And, does checking the INVERTED BOX make it do the opposite?
The UPPER FLOAT is just a backup. If the OPTICAL sensor fails to shut off a pump, then this float would shut it off.
----------------------------------------
Ditto replied:
QUESTION: Does the sensor turn ON or OFF a socket when the water drops below the sensor?
With any level sensor yes it will turn on or off if the water drops below the sensor.
It depends on the funciton you choose and the impact on the invert function.
Let me pull my sensor and my Powerbar out and see if I can do a quick video showing how invert works
--------------------------------------------
Lasse replied:
With the ATO function it turn the socket on when it's down. Yes - inverted means opposite.
Sincerely Lasse
------------------------------------------
Feb 18, 2020
Dr Jim posted:
MY ATO:
Just in case anyone is interested in getting ideas for an ATO with layers of redundancy, and the use of pumps influenced by pH (for use of kalkwasser), I will present it here:
Here are the PUMPS and SENSORS used for ATO, with their “assigned names”:
PUMPS
-“KALK”: pumps water from RO/DI reservoir thru kalk reactor then to sump; (Sicce pump)
-Activated when pH < 8.3
-“NON-KALK”: pumps water from RO/DI reservoir directly to sump; (GHL MAXI DOSER)
-Activated when pH > 8.3 (Note: I may change pH settings; hysteresis may not allow activation at these exact values.)
-“BACK-UP”: pumps water from RO/DI reservoir directly to sump if either or both of above 2 pumps fail; (Sicce pump)
SENSORS (top to bottom); See picture in an earlier post.
-“HIGH FLOAT SENSOR”: (used to turn off all 3 pumps in case of failure)
-“OPTICAL SENSOR”: (Main sensor used to control KALK and Non-KALK pumps)
-“LOW FLOAT SENSOR”: (Turns on BACKUP PUMP in case of failure of OPTICAL sensor)
-there is a gravity-fed float valve below the LOW FLOAT SENSOR which is part of Red Sea 170 sump for a 3d layer of redundancy. Not relevant to discussion though.
SOCKETS and PROGRAMMABLE LOGIC (P.L.)
AND and OR refer to the FUNCTION in P.L.
#6 – KALK PUMP: P.L. 6 = HIGH FLOAT “ON” AND P.L. 2
(P.L. 2 = pH UP AND OPTICAL SENSOR “ON”)
“ON” refers to the DOWN position of the float.
#13 – NON-KALK PUMP. (Socket assigned to GHL MAXI Doser):
P.L. 7 = HIGH FLOAT “ON” AND P.L.3
(P.L. 3 = pH DOWN AND OPTICAL SENSOR “ON”)
“ON” refers to water level BELOW the Optical Sensor
#8 – BACKUP PUMP: P.L. 9 = P.L. 5 AND P.L. 8
P.L. 5 = LOW FLOAT “ON” AND HIGH FLOAT “ON”
P.L. 8 = OPTICAL SENSOR “ON” OR “OFF” (just in case the OPTICAL sensor fails)
So...that's it! Simple, huh?!
Thank you again for everyone that helped!
--------------------------------------------------------------------------
Feb 20, 2020
Dr. Jim posted:
I see that I'm not getting much response to my previous posts so I won't drag this on.... but I'd like to mention that I did run into two problems with the OPTICAL sensor being coupled with "pH upwards (increase)" for my kalk pump; and, "pH downwards (decrease)" for the "non-kalk" pump. (The "BACKUP PUMP," working off the float sensors, works fine and the OPTICAL sensor works fine when I remove the "pH control" from the programming.)
1) First, am I correct in using the pH upwards (increase) for the pump I want to use for adding kalk or should I be using the pH downwards (decrease) for that pump? (I want to increase the pH using kalk). (I'm pretty sure I got it right, but wouldn't mind confirmation).
2) I found that to get them to work, I had to check the INVERTED BOX for the "pH upwards" and "pH downwards." I'm happy to have them working but I'm trying to understand what the checked INVERTED BOX is doing in this case, (and why it is needed). If anybody could explain this, I would find it very helpful and interesting.
3) After fussing with the programming again tonight, I'm finding that sometimes both pumps come on at the same time. I'm guessing it may be because my pH tonight is exactly 8.25 and that is what I have my pH probe set at, with a 0.05 hysteresis. I'm guessing that I may only get one pump at a time to run (either the Kalk or non-Kalk pump) only if the pH strays below 8.20 (8.25-0.05) or above 8.30 (8.20+0.05), respectively. Does that make sense?
Thanks for helping!
-----------------------------------------
Feb 21,2020
Lasse replied:
It could be very good if you do like @robbyg say. Publish in an own thread.
Can you publish your PL for the kalk pump and for the "normal" pump?
Sincerely Lasse
-------------------------------------------
Feb 17, 2020
Before I go too far with attempting to set up and program my ATO System, I'm hoping if someone can tell me IF it is even possible to do what I'm hoping to do, and answer some basic questions:
With Float valves, when the float is UP, does that turn on or off a socket? I'm guessing that it depends if the INVERTED BOX is checked? (If so, does a checked box turn on or off the socket?)
Below is a picture of my proposed SENSOR setup showing 3 sensors: The main sensor will be the OPTICAL sensor in the middle. The 2 FLOAT sensors, one above and one below the OPTICAL sensor, will act as "backups." So, if the OPTICAL sensor fails in the "off" position, the LOWER FLOAT would turn on the pump(s); if the OPTICAL sensor fails in the "on" position, the UPPER FLOAT will turn off the pump(s). Is it possible to have all 3 sensors control the same pump, or would there be a conflict necessitating a separate pump for the OPTICAL and a separate pump for the 2 FLOAT sensors?
I'm also wondering if I can control different pumps depending on the pH. My plan would be:
-If pH is < 8.3 then a "KALKwasser PUMP" will be activated.
-if pH is > 8.3 then a "NON-KALK PUMP" will be activated.
I'm not asking for someone to "set this up" for me, I'm just wondering if it is possible. I'm thinking that it may not be, because I don't see a way to plug in pH values. I see on the SWITCHES/OUTLETS that you can choose "pH Value-1", then "Control downwards, or, upwards" ….. but I don't think that is going to help me do what I want....unless I'm hopefully missing something. So, if there is a way to plug in pH values somewhere, steering me in the right direction would be appreciated!
To complicate matters even more, I am hoping to have a 3d, "Backup Pump," that would be activated if the other 2 pumps fail. Actually, to simplify matters, I was thinking of just having this Backup Pump be activated at the same time as the KALK or NON-KALK pumps BUT with a set DELAY. That way, it would only come on after giving the other pumps a chance to replace the evaporated water. I think the maximum delay is only 60 seconds, so I'm not sure if that would be enough time, but it would be OK for this pump to run along with the other pump(s) for a while if necessary.
My 3d layer of redundancy will be a gravity fed float valve, positioned below the lowest FLOAT valve!
I know all of this will take a lot of layers of Programmable Logic, but it will be a good "brain exercise" for me! First step is to just learn if it is all possible....so I thank anybody who might comment and/or point me in the right direction.
--------------------------------------------------------
Ditto Replied:
Lets start with the Sensors.
You could use all 3. Advance Program Logic would be used. You could use the two sensors for ATO which would be your low and High. Or you could use Senor 1 as ATO, Senor 2 as ATO. And Then Sensor 3 as Leak Detector or High Sump. We would then apply all 3 in Advance program Logic, and then apply that to the switch outlet. A few options
For the PH yes it would be based on the PH Nominal Value and the Hysterias Value. Then you would do the PH Control Downward or Upward on the Switch Outlet.
So what you would do is Set your PH Value lets say 8.3 and then your Hysteresis of .20 for example. At 8.4 would activate the downwards, and at 8.2 would be the upwards. (I believe this is right, sometimes I get it reversed)
The Hysteresis value and the Nominal Value determine the amount of the swing and the activation point. Remember what ever Hysteresis value you set it is 1/2 that value before it activated
-----------------------------------------------
Dr. Jim replied:
What happens if the pH is below 8.2, the lower set value? Would the socket still become activated if set on "upwards" ?
Ditto: I noticed that your 3 options for sensors didn't include what I was hoping to do. Are you saying I can't use my idea being:
the middle Optical Sensor would be the "main" control (i.e. turns off and on pump(s) as needed), with the upper and lower Float sensors as a backup (so they would turn off or on the same pump(s) that the Optical sensor controls IF the Optical sensor fails?
When the float rises, does it turn off or on a switch/socket?
--------------------------------------------
Ditto replied:
Ok, maybe I miss understood the request
Sensor 2 would be ato. So it would control the pump.
Do you want sensor 3 (upper sensor) to turn the pump on or off when it activates? For example it would be on till activated meaning water raised the sensor Is activated.
Do you want sensor 1 to turn the pump on or off with it activates. Meaning when the sensor activated meaning low water it activates until the sensor activated.
The issue is failure, If the optical sensor fails it going to fail closed meaning the sensor is going to think water is there and is not. That is done as safety and you also have a max on time also which helps which is the max time Setting which is the max time the outlet can be on before it fails and shut it down.
Yes 8.2 and below so if it was 8.1 it will still activate.
------------------------------------------
Dr. Jim replied:
I'm sorry if I'm not explaining this well....
The middle sensor (OPTICAL) would be the main sensor. When the water level drops, it would turn on a pump; when the water rises and covers the sensor, it would shut the pump off. QUESTION: Does the sensor turn ON or OFF a socket when the water drops below the sensor? I'm trying to get a handle on the INVERTED BOX and when to check it.
The LOWER FLOAT is a backup that would turn on a pump if for some reason the OPTICAL SENSOR failed to turn on the pump. Again, does the sensor activate (turn on) a socket when the float is down or up? And, does checking the INVERTED BOX make it do the opposite?
The UPPER FLOAT is just a backup. If the OPTICAL sensor fails to shut off a pump, then this float would shut it off.
----------------------------------------
Ditto replied:
QUESTION: Does the sensor turn ON or OFF a socket when the water drops below the sensor?
With any level sensor yes it will turn on or off if the water drops below the sensor.
It depends on the funciton you choose and the impact on the invert function.
Let me pull my sensor and my Powerbar out and see if I can do a quick video showing how invert works
--------------------------------------------
Lasse replied:
With the ATO function it turn the socket on when it's down. Yes - inverted means opposite.
Sincerely Lasse
------------------------------------------
Feb 18, 2020
Dr Jim posted:
MY ATO:
Just in case anyone is interested in getting ideas for an ATO with layers of redundancy, and the use of pumps influenced by pH (for use of kalkwasser), I will present it here:
Here are the PUMPS and SENSORS used for ATO, with their “assigned names”:
PUMPS
-“KALK”: pumps water from RO/DI reservoir thru kalk reactor then to sump; (Sicce pump)
-Activated when pH < 8.3
-“NON-KALK”: pumps water from RO/DI reservoir directly to sump; (GHL MAXI DOSER)
-Activated when pH > 8.3 (Note: I may change pH settings; hysteresis may not allow activation at these exact values.)
-“BACK-UP”: pumps water from RO/DI reservoir directly to sump if either or both of above 2 pumps fail; (Sicce pump)
SENSORS (top to bottom); See picture in an earlier post.
-“HIGH FLOAT SENSOR”: (used to turn off all 3 pumps in case of failure)
-“OPTICAL SENSOR”: (Main sensor used to control KALK and Non-KALK pumps)
-“LOW FLOAT SENSOR”: (Turns on BACKUP PUMP in case of failure of OPTICAL sensor)
-there is a gravity-fed float valve below the LOW FLOAT SENSOR which is part of Red Sea 170 sump for a 3d layer of redundancy. Not relevant to discussion though.
SOCKETS and PROGRAMMABLE LOGIC (P.L.)
AND and OR refer to the FUNCTION in P.L.
#6 – KALK PUMP: P.L. 6 = HIGH FLOAT “ON” AND P.L. 2
(P.L. 2 = pH UP AND OPTICAL SENSOR “ON”)
“ON” refers to the DOWN position of the float.
#13 – NON-KALK PUMP. (Socket assigned to GHL MAXI Doser):
P.L. 7 = HIGH FLOAT “ON” AND P.L.3
(P.L. 3 = pH DOWN AND OPTICAL SENSOR “ON”)
“ON” refers to water level BELOW the Optical Sensor
#8 – BACKUP PUMP: P.L. 9 = P.L. 5 AND P.L. 8
P.L. 5 = LOW FLOAT “ON” AND HIGH FLOAT “ON”
P.L. 8 = OPTICAL SENSOR “ON” OR “OFF” (just in case the OPTICAL sensor fails)
So...that's it! Simple, huh?!
Thank you again for everyone that helped!
--------------------------------------------------------------------------
Feb 20, 2020
Dr. Jim posted:
I see that I'm not getting much response to my previous posts so I won't drag this on.... but I'd like to mention that I did run into two problems with the OPTICAL sensor being coupled with "pH upwards (increase)" for my kalk pump; and, "pH downwards (decrease)" for the "non-kalk" pump. (The "BACKUP PUMP," working off the float sensors, works fine and the OPTICAL sensor works fine when I remove the "pH control" from the programming.)
1) First, am I correct in using the pH upwards (increase) for the pump I want to use for adding kalk or should I be using the pH downwards (decrease) for that pump? (I want to increase the pH using kalk). (I'm pretty sure I got it right, but wouldn't mind confirmation).
2) I found that to get them to work, I had to check the INVERTED BOX for the "pH upwards" and "pH downwards." I'm happy to have them working but I'm trying to understand what the checked INVERTED BOX is doing in this case, (and why it is needed). If anybody could explain this, I would find it very helpful and interesting.
3) After fussing with the programming again tonight, I'm finding that sometimes both pumps come on at the same time. I'm guessing it may be because my pH tonight is exactly 8.25 and that is what I have my pH probe set at, with a 0.05 hysteresis. I'm guessing that I may only get one pump at a time to run (either the Kalk or non-Kalk pump) only if the pH strays below 8.20 (8.25-0.05) or above 8.30 (8.20+0.05), respectively. Does that make sense?
Thanks for helping!
-----------------------------------------
Feb 21,2020
Lasse replied:
To solve that problem - please read the manual according virtual probes. Virtual probs let you use different nominal values to the same physical probe. Very handsome in a case like thisDr. Jim said:
sometimes both pumps come on at the same time. I'm guessing it may be because my pH tonight is exactly 8.25 and that is what I have my pH probe set at, with a 0.05
It could be very good if you do like @robbyg say. Publish in an own thread.
Can you publish your PL for the kalk pump and for the "normal" pump?
Sincerely Lasse