Apex dos coding help

Heres_doe_

Valuable Member
View Badges
Joined
May 29, 2021
Messages
1,269
Reaction score
643
Location
USA
Rating - 100%
1   0   0
How can I tell my dos to turn off for 4 hours if ALK gets higher than 9.2?
 

SuncrestReef

That Apex guy
View Badges
Joined
Jan 18, 2018
Messages
4,214
Reaction score
8,688
Location
Oregon
Rating - 0%
0   0   0
How can I tell my dos to turn off for 4 hours if ALK gets higher than 9.2?
You asked the same question on the Neptune Facebook group, and I replied with a question, but you didn't answer it there.

Please don't cross-post to different forums as it just leads to confusion on tracking the conversation.
 

SuncrestReef

That Apex guy
View Badges
Joined
Jan 18, 2018
Messages
4,214
Reaction score
8,688
Location
Oregon
Rating - 0%
0   0   0
For those following along here on R2R, here's the solution I posted to the Facebook group:

You'll need to create two virtual outputs, one that tracks the Alkx reading, and one to act as the 4 hour timer, then reference that output in the Advanced tab on your DOS:

[Pause_Alk]
Set OFF
If Alkx# > 9.2 Then ON
If Output Alk_Timer = ON Then OFF
(substitute # in Alkx# with the AquaBus address of your Trident)

[Alk_Timer]
Set OFF
If Output Pause_Alk = ON Then ON
Defer 240:00 Then ON
Min Time 120:00 Then ON

Place this code into your DOS Advanced tab:

If Output Pause_Alk = ON Then OFF

If you're not familiar with virtual outputs, see my tutorial here:
https://www.reef2reef.com/.../neptune-apex-programming.../
 

TOP 10 Trending Threads

Back
Top