Apex Defer Cancelation

  • Thread starter Thread starter NoFoolin
  • Start date Start date
  • Tagged users Tagged users None

NoFoolin

Community Member
View Badges
Joined
Jul 23, 2019
Messages
39
Reaction score
40
Location
Grand Rapids
What state or country do you live in
Michigan
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.
 

TOP 10 Trending Threads

As a buyer, how important are auctions to you on the NEW market?

  • As a buyer I like them

    Votes: 31 32.0%
  • As a buyer I don’t care for them

    Votes: 41 42.3%
  • I don’t care either way.

    Votes: 25 25.8%
Back
Top
Home
Post thread…
Market
What's new