Statement Conflict?

Acroholic

Premium Member
Would these statements conflict with each other if Switch1 opened when the Conductivity was less than 53.0, or if switch1 was closed when the Conductivity went over 54.5?

If Cond >54.5 Then H2O ON
If Cond < 53.0 Then H2O OFF
If Switch1 OPEN Then H2O ON
If Switch1 CLOSED Then H2O OFF

Or if you have any other suggestions that will get me the same results.
 
The SWITCH1 statements will override the COND statements because they come later in the program. What are you trying to do with this program?
 
Aquaduck said:
The SWITCH1 statements will override the COND statements because they come later in the program. What are you trying to do with this program?

Thanks Aquaduck,
H20 Is a pump in my freshwater Ro/Di Holding tank.
I wanted to write statements that will pump freshwater into my sump if conductivity reaches a certain level.
And also use this same pump to top off water level in sump via a float switch (Switch1) placed in sump.
 
In my opinion I don't think you need to do both. Since conductivity rises as a result of evaporation using the conductivity measurement to determine when freshwater is to be added, will keep your water at the correct level. Unless you are manually removing water, then your water level will drop because the conductivity would not have been affected.

I would use the float switch as a limit switch in your case. Should the water level go too high, the float switch would rise and shut off the flow of fresh water to the sump by programming the controller accordingly.
 
Good Point Aquaduck!
Maybe I am trying to do too much.......thanks for the insight.
I do have a habit of over engineering things......
 
Back
Top