Help with a code

Daniel Moura

New member
Hi,

I need help with a code, if possible !

I have a EB4 connected in a UPS and a EB8 connected a house energy. My question is How I set a outlet (eb4) to if eb8 lost energy wait 5 minuts to turn off the outlet.

Sorry for my English !

Daniel Moura
 
If I understand your question, you want to monitor the EB8 power and if that fails, wait 5 minutes to turn off an EB4 outlet. If so, this is what I would do:

[EB4 outlet]
all other normal statements here
If Power EB8_3 OFF 000 Then OFF
Defer 5:00 Then OFF

That will turn the outlet OFF but only after the Power condition is true for 5 minutes. Now, caution here. The Defer statement applies to all the outlet statements, not just the 'If Power'. So if you have any other statements in the EB4 outlet that end 'then OFF', the 5 minute defer applies to them as well. You can get around this with virtual outlets but it's a little more complicated.
 
Back
Top