Apex programming outlet with 2 inputs

ctyler85

Active Member
View Badges
Joined
Sep 6, 2014
Messages
268
Reaction score
70
Location
Lutz, FL
Rating - 0%
0   0   0
So I am automating my water production. I have w 35gallon garbage cans 1 for salt and 1 for RODI for ATO, I was going to set them up with full switch and a low switch. Now I want it to turn on when the low switch is activated and off when the full switch is activated. Now I know apex doesn't use and statements cause normally I would think

If FULL and LOW OPEN then ON

If FULL and LOW CLOSED then OFF

So is it really as simple as just identifying the low and full?

Like

If LOW OPEN then ON

If FULL CLOSED then off

I know that's not the right syntax but you get the idea
 
I have not done this with a Apex but have with both a Archon and Hydros. I would suggest having a float valve in case there is an issue with the full switch as long as your RODI has an ASOV valve. My output also has a maxmum on time set of 4 hours. If the output is on that long it will turn off and send a alert. My cans are only 20 gallons so the amout of time required to fill your tanks from empty will be different. I am sure it is doable with the Apex. Hopefully someone will assist with that.
 
So I am automating my water production. I have w 35gallon garbage cans 1 for salt and 1 for RODI for ATO, I was going to set them up with full switch and a low switch. Now I want it to turn on when the low switch is activated and off when the full switch is activated. Now I know apex doesn't use and statements cause normally I would think

If FULL and LOW OPEN then ON

If FULL and LOW CLOSED then OFF

So is it really as simple as just identifying the low and full?

Like

If LOW OPEN then ON

If FULL CLOSED then off

I know that's not the right syntax but you get the idea
Yes. Apex runs top to bottom and executes last true statement.

so I would do

fallback off
If low open then on
If full closed then off

the only thing would miss is if your full sensor failed. I’d use two here have one slightly higher then the other. That way you have two operating ones and a backup emergency one.
 
This is my code for my RODI. I have a few other fill conditions so that my container won't be partially empty when I need to make more saltwater. Use a physical float valve as a safety backup for both. An infinite water supply is something I don't trust to my apex even with a backup float.

Fallback OFF
If LowROD OPEN Then ON
If Output JustMixed = ON Then ON
If Output NSWlowFill = ON Then ON
If Output SumpPump_1 = ON Then ON
If HigROD OPEN Then OFF
Defer 000:30 Then ON
Defer 000:10 Then OFF
 
Yes. Apex runs top to bottom and executes last true statement.

so I would do

fallback off
If low open then on
If full closed then off

the only thing would miss is if your full sensor failed. I’d use two here have one slightly higher then the other. That way you have two operating ones and a backup emergency one.
So this is how I have it programmed
Fallback OFF
Set OFF
If RoLo OPEN Then ON
If RoHi CLOSED Then OFF
Defer 001:00 Then ON

As soon as the lo switch is closed, it shuts off. Have I done something wrong?
 

IF YOU HAD TO TAKE A REEFING EXAM, WOULD YOU PASS?

  • Yes!

    Votes: 32 45.7%
  • Not yet, but I have one that I want to buy in mind!

    Votes: 9 12.9%
  • No.

    Votes: 26 37.1%
  • Other (please explain).

    Votes: 3 4.3%
Back
Top