I put in some new momentary buttons for the Apex break out box and added some virtual outputs. I need some help with the virtual outlet programming below.
Set OFF
If SW60mn CLOSED Then ON
Defer 060:00 Then OFF
If SwCanc CLOSED Then OFF
SW60mn is a momentary switch that activates the outlet which would shut off some equipment while I do maintenance for an hour. When activated the outlet stays on for 60 minutes. I was hoping to have a second momentary switch, SwCanc, to turn off the outlet should I finish maintenance early. The program above does not cancel the countdown when I press SwCanc.
Set OFF
If SW60mn CLOSED Then ON
Defer 060:00 Then OFF
If SwCanc CLOSED Then OFF
SW60mn is a momentary switch that activates the outlet which would shut off some equipment while I do maintenance for an hour. When activated the outlet stays on for 60 minutes. I was hoping to have a second momentary switch, SwCanc, to turn off the outlet should I finish maintenance early. The program above does not cancel the countdown when I press SwCanc.