Apex dos coding help

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.
 
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.../
 

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%
Back
Top