Apex programming help please

Shorething

Active Member
View Badges
Joined
Oct 7, 2018
Messages
445
Reaction score
136
Rating - 0%
0   0   0
I have a powerhead in a mixing drum to mix salt water for water changes. I've programmed it to come on for 15 minutes every hour to keep the water from getting stagnant. I've added a switch to a BOB to be able to shut off the powerhead when draining the tank after I use the water for a water change. I cant get the programming right!
This is my current programming.

Fallback OFF
OSC 000:00/015:00/045:00 Then ON

This is what I have done but it gives me an error.

Fallback OFF
if mixnsy open then off
OSC 000:00/015:00/045:00 Then ON
 

TheHarold

5000 Club Member
View Badges
Joined
Oct 3, 2015
Messages
5,173
Reaction score
8,516
Rating - 0%
0   0   0
I have a powerhead in a mixing drum to mix salt water for water changes. I've programmed it to come on for 15 minutes every hour to keep the water from getting stagnant. I've added a switch to a BOB to be able to shut off the powerhead when draining the tank after I use the water for a water change. I cant get the programming right!
This is my current programming.

Fallback OFF
OSC 000:00/015:00/045:00 Then ON

This is what I have done but it gives me an error.

Fallback OFF
if mixnsy open then off
OSC 000:00/015:00/045:00 Then ON

Firstly, put the Switch line below the Oscillation statement. Apex logic is top down- the last line that is true is what will be implemented. How you have it, it will always do the oscillation statement (without the float cutoff). Typically you want to first give the conditions to be on, and then give the conditions that turns it off.

That said, I am not sure why it would be throwing an error. My best guess would be an incorrect switch name- double check it’s actually called mixnsy. You can see switch names in your System view.
 
OP
OP
S

Shorething

Active Member
View Badges
Joined
Oct 7, 2018
Messages
445
Reaction score
136
Rating - 0%
0   0   0
You were both correct and Thank you!

Fallback OFF
OSC 000:00/015:00/045:00 Then ON
If MixNsy Open Then OFF
No error when I programmed it this way!
 

TOP 10 Trending Threads

Back
Top