APEX OSC command

Passedyouby

Active Member
View Badges
Joined
Jan 17, 2019
Messages
471
Reaction score
324
Rating - 0%
0   0   0
Hello everyone!

I have a float switch programmed to turn on a virtual outlet (SumpLoVirt) when my water level drops. I tried to set up a 24v 1/4 water valve to open when the virtual switch is is on and that works, but now I want it to turn on for 30 seconds, then off for 1 minute to let the fresh water dissipate some and make sure the float valve isn't stuck or anything.

My command isn't working. I understand apex follows the bottom command, so I understand why this failed, but I'm not sure how to resolve without another virtual outlet, but that seems messy!


Screenshot_20200306-175503_Apex Fusion.jpg
 
You could change the sequence of events to first have it attempt to turn on and off the valve with OSC, then after a period of time if the float is still indicating an issue to leave the valve open with a Defer timer:

[24v port]
OSC 000:00/000:30/001:00 Then ON
If Output SumpLoVirt = ON Then ON
If Float CLOSED Then OFF

[SumpLoVirt]
Set OFF
If Float OPEN Then ON
Defer 001:30 Then ON

This code assumes the float switch is named "Float" and also assumes it is OPEN when the water is too low.
 

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