APEX OSC command

Passedyouby

Active Member
View Badges
Joined
Jan 17, 2019
Messages
472
Reaction score
314
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.
 

TOP 10 Trending Threads

Back
Top
Home
Post thread…
Market
What's new