Apex programming help please

Shorething

Active Member
View Badges
Joined
Oct 7, 2018
Messages
370
Reaction score
138
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
 
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.
 
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!
 

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%

New Posts

Back
Top