Apex programming for hysteresis functionality

s_tooz_123

Community Member
View Badges
Joined
Nov 2, 2020
Messages
58
Reaction score
83
Location
Leesburg, Virginia
Rating - 0%
0   0   0
I have an ozone generator plugged into one of my EB832 ports. I currently have it programmed to turn on below 300:

Fallback OFF
Set OFF
If ORP < 300 Then ON

While the above keeps very tight control over the ORP, it causes frequent cycling of the EB832 port because it turns on at 299 and off at 300.

Ideally, I would like to reduce the number cycles of the port by providing a hysteresis like functionality. For example, I would like to turn on the port at ORP < 290 and turn if off when ORP > 310.

Any tips in how to accomplish this would be appreciated.
 

Sean Clark

7500 Club Member
View Badges
Joined
May 16, 2019
Messages
8,055
Reaction score
31,606
Location
Michigan
Rating - 0%
0   0   0
You can do this many ways here are two examples.

Cycle within a range of ORP values:
Fallback OFF
If PosORP > 310 Then OFF
If PosORP < 290 Then ON
If Output Skimmer = OFF Then OFF
Defer 004:00 Then ON

Cycle with a set "off" timer (10 minutes in this example) once the target ORP value has been achieved:
Fallback OFF
Set ON
If PosORP > 310 Then OFF
If Output Skimmer = OFF Then OFF
Min Time 010:00 Then OFF
 
Back
Top