program Apex "latching"

Burly

New member
I'm wondering if anybody has ideas on how to program an outlet to stay in a state. For example, I have a float switch SumpTooLow that will send me a warning email if for some reason the sump is too low. (This is not the switch for topoff.) Now I would like to have my skimmer turn off in response to this signal to increase the sump level until I can get there to address the problem. But when the skimmer goes off the level rises and SumpTooLow turns off, so then skimmer turns back on, water level drops, and the cycle repeats. Is there some way to have the outlet "latch" to a state and stay there until I get home even if the float switch turns back off when the level increases?
 
Isn't there a way to do this with one of the virtual outlets? Like set the virtual on when your condition is hit, and then have an if outlet in the skimmer program?
 
If you want to manually set the latch I think something like this will work:

If SwitchA Closed Then Off

Note the lack of any 'on' command (no set). If you do a manual ON it will turn the outlet on and then change to auto (which should leave the outlet on). Then when the switch closes it will turn off and even if the switch opens there is nothing in the program to reset the outlet to ON so it will remain off until you reset it.
 
An alternative would be to use the TopOff switch to reset:

[SumpLow]
If Switch1 CLOSED Then ON
If Switch2 OPEN Then OFF


where Switch1 is the low level float and Switch2 is the normal level float. This assumes that Switch1 is CLOSED when down and Switch2 is OPEN when up.

Todd
 
Back
Top