• For a Limited Time the R2R Partner Membership is NOW OPEN! Get some cool swag and chances to win part of over $20,000 in prizes! Click here for more details

Apex Defer Cancelation

NoFoolin

Community Member
View Badges
Joined
Jul 23, 2019
Messages
28
Reaction score
30
Location
Grand Rapids
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.
 

Tastee

Well-Known Member
View Badges
Joined
Oct 19, 2018
Messages
873
Reaction score
688
Location
Sydney, Australia
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.
 
OP
NoFoolin

NoFoolin

Community Member
View Badges
Joined
Jul 23, 2019
Messages
28
Reaction score
30
Location
Grand Rapids
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.
 

How often do you have some type of algae issue?

  • Constantly Something

    Votes: 219 41.9%
  • Every Month

    Votes: 30 5.7%
  • Every Few Months

    Votes: 61 11.7%
  • A Few Times A Year

    Votes: 73 14.0%
  • Once A Year Or So

    Votes: 57 10.9%
  • Every Few years

    Votes: 28 5.4%
  • Never.....(are you lying?)

    Votes: 36 6.9%
  • Other (please explain)

    Votes: 19 3.6%

Online statistics

Members online
1,136
Guests online
3,156
Total visitors
4,292
Industrial Test Systems, Inc.
Top