Apex Defer Cancelation

NoFoolin

Community Member
View Badges
Joined
Jul 23, 2019
Messages
39
Reaction score
40
Location
Grand Rapids
Rating - 0%
0   0   0
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.
 
I think you will need a couple of VOs to achieve this. Here is an example.

[MaintTimer]
Set OFF
If SW60mn CLOSED Then ON
Defer 060:00 Then OFF

[MaintMode]
Set OFF
If Output MaintTimer = ON Then ON
If SWCanc CLOSED Then OFF

You can then use the state of MaintMode to control your outputs.
 
These commands are usually found in fusion
 
I think you will need a couple of VOs to achieve this. Here is an example.

[MaintTimer]
Set OFF
If SW60mn CLOSED Then ON
Defer 060:00 Then OFF

[MaintMode]
Set OFF
If Output MaintTimer = ON Then ON
If SWCanc CLOSED Then OFF

You can then use the state of MaintMode to control your outputs.
I see where you are going and I am already using such a scheme. However, the cancellation virtual outlet would need a long defer command as well. The timer on the cancellation defer would prevent the use of other defer commands. In other words, I can't restart the maintenance mode until the cancellation timer runs out. For example, I perform some maintenance and think I'm done so I push the cancellation button. Then I discover that I have a leak or something. I could no longer active the maintenance mode until the cancellation timer has completed.

I realize that I could use the app at any time but I was just hoping for an app free option because this is a work tank and not all employees have access to the app. Those that do rarely use it and probably don't understand or forget how to use it. I am trying to make a dummy proof system for when I am on vacation.
 

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