Apex code

rhostam

Well-Known Member
View Badges
Joined
Oct 12, 2020
Messages
806
Reaction score
1,045
Location
Aurora
Rating - 0%
0   0   0
At a minimum for the outlet in question:

Kalk Outlet Code:
Code:
OSC 000:00/015:00/240:00 Then ON

However, I would put the above in a virtual outlet named KALKMIXTIME and then put the following in the outlet code:

Virtual Outlet [KALKMIXTIME]:
Code:
OSC 000:00/015:00/240:00 Then ON

Kalk Outlet Code:
Code:
Fallback OFF
Set OFF
If Output KALKMIXTIME = ON Then ON
 
Last edited:
OP
OP
MichaelReefer

MichaelReefer

2500 Club Member
View Badges
Joined
Aug 13, 2019
Messages
2,606
Reaction score
2,728
Location
Roseville
Rating - 0%
0   0   0
Can anyone show me the apex code to have a kalk stirrer, stir every four hours for 15 min?

Thanks!
I tried this but it's still staying on the entire Time
 

Attachments

  • Screenshot_20210821-151732_APEX Fusion.jpg
    Screenshot_20210821-151732_APEX Fusion.jpg
    67.5 KB · Views: 26

SuncrestReef

That Apex guy
View Badges
Joined
Jan 18, 2018
Messages
4,214
Reaction score
9,212
Location
Oregon
Rating - 0%
0   0   0

Attachments​

Screenshot_20210821-152950_APEX Fusion.jpg

First, a dumb question: Is the output slider set to AUTO on your dashboard? Your code is fine, but if the slider is not on AUTO, the code is ignored.

Second, using that series of If Time commands is inefficient. OSC is the recommended way to implement repeating patterns of equal intervals:

Fallback OFF
OSC 020:00/015:00/205:00 Then ON

And again, set the slider to AUTO.

For details on how this works, watch my OSC Tutorial:
 

takitaj

Well-Known Member
View Badges
Joined
Jul 23, 2020
Messages
516
Reaction score
622
Location
Maine
Rating - 0%
0   0   0
Glad you got it sorted. Would you mind posting the solution? You could potentially help someone else that might have the same issue.

Besides that, those that helped would like to know how you solved it. :)
 
Back
Top