- Joined
- Jul 18, 2018
- Messages
- 1,903
- Reaction score
- 5,121
- Location
- Lima, OH
- What state or country do you live in
- Ohio
I have a virtual output named
The equipment that I would like to be turned off when
This works as expected; when
The issue that I am having is that my alarm is triggered when I manually turn
The alarm that is being triggered is
The code for my
The above code for the
Can you help me understand what code I need, where to add it, and why to add it there?
P.S. I build iOS applications and other software for a career and for a hobby, so if you struggle to understand how to program a controller, don't feel bad about it. That's why forums like this exist. We are all here to help each other and share in this amazing hobby.
TOPDOWNVIEW, which turns off all equipment that is responsible for moving water within the display so that I can easily view my corals, using a top-down perspective. Currently, the only code within TOPDOWNVIEW is:
Code:
Set OFF
The equipment that I would like to be turned off when
TOPDOWNVIEW is manually turned on, such as my return pump and circulation pumps, contain the following code:
Code:
// ... code
If Output TOPDOWNVIEW = ON Then OFF
// ... code
This works as expected; when
TOPDOWNVIEW is manually turned on, all pumps turn off. When TOPDOWNVIEW is manually turned off, all pumps turn on.The issue that I am having is that my alarm is triggered when I manually turn
TOPDOWNVIEW off after being on. When I manually turn TOPDOWNVIEW on, the alarm is not triggered. However, the alarm is triggered as soon as I manually turn TOPDOWNVIEW off. My alarm code follows:
Code:
Set OFF
If Output ALARMATO = ON Then ON
If ATOEMP OPEN Then ON
If ATKHI CLOSED Then ON
If Error RETPMP Then ON
If Error ATK Then ON
If Output TOPDOWNVIEW = ON Then OFF
The alarm that is being triggered is
ATKHI CLOSED. It seems that I need code to prevent the ATKHI CLOSED alarm from being triggered for ~15 seconds after TOPDOWNVIEW is manually turned off.The code for my
ALARM output follows:
Code:
Fallback OFF
Set OFF
If ATKLOW OPEN Then ON
If ATKHI CLOSED Then OFF
When On > 005:00 Then OFF
Defer 000:10 Then ON
Defer 000:04 Then OFF
Min Time 060:00 Then OFF
The above code for the
ALARM output was created by the ATK Task.Can you help me understand what code I need, where to add it, and why to add it there?
P.S. I build iOS applications and other software for a career and for a hobby, so if you struggle to understand how to program a controller, don't feel bad about it. That's why forums like this exist. We are all here to help each other and share in this amazing hobby.


