Assistance please - Code Checking

psionicdragon

Active Member
View Badges
Joined
Dec 13, 2009
Messages
176
Reaction score
15
Location
bay area
Rating - 0%
0   0   0
Hi!

I am trying to have the Ozone outlet do a few things. I want the outlet to turn on the ozone from 8am to 8pm, but if the ORP exceeds 300, I want it to be off regardless of the time.

Will the configuration achieve this task?



1570391800038.png
 
Yes, your code will work. Though to be nit-picky, the If Time values are inclusive, so technically your code will turn the output off at 8:01pm. If you really want it off at 8:00pm, change it to:

Fallback OFF
Set OFF
If Time 08:00 To 19:59 Then ON
If ORP > 300 Then OFF

For more details on If Time and other timer-related topics, see my programming tutorial on Apex Timers here: https://www.reef2reef.com/ams/neptune-apex-programming-tutorials-part-2-timers.689/
 
Thanks! I am ok if it is off +/- 10 min. Was more concern about overdosing ozone. My orp reading looks low at 200
 
May want to put a defer line in to prevent cycling of the ozonizer around the 300 mark

Defer 001:00 Then OFF
 

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%

New Posts

Back
Top