apex code dosing alk help noob

LOVEROCK

Valuable Member
View Badges
Joined
Feb 22, 2018
Messages
1,289
Reaction score
607
Rating - 0%
0   0   0
Select the desired offset (in minutes) after the top of the hour for each dose what does this mean? int he bottom generated code helper


Fallback OFF
OSC 010:00/001:37/228:23 Then ON
If Time 20:00 to 11:59 Then OFF Also, anyone can tell me what exactly does this code do
 

SuncrestReef

That Apex guy
View Badges
Joined
Jan 18, 2018
Messages
4,214
Reaction score
9,227
Location
Oregon
Rating - 0%
0   0   0
OSC uses three timers to turn on and off an output in a repeating pattern. In your example above the three timers are:

010:00 - Start the cycle by leaving the output Off for 10 minutes offset from midnight.
001:37 - Turn the output On for 1 minute 37 seconds.
228:23 - Turn the output Off and leave it off for 228 minutes 23 seconds (3 hours 48 minutes 23 seconds)

When you add up these three timers, the full cycle takes exactly 4 hours, so it will turn on at the exact same times each day:

00:10
04:10
08:10
12:10
16:10
20:10 (the If Time 20:00 to 11:59 command prevents it from running at this last time slot)

See my Apex Timers tutorial for more details and examples of OSC and other Apex timer commands: https://www.reef2reef.com/ams/neptune-apex-programming-tutorials-part-2-timers.689/
 
Last edited:
OP
OP
LOVEROCK

LOVEROCK

Valuable Member
View Badges
Joined
Feb 22, 2018
Messages
1,289
Reaction score
607
Rating - 0%
0   0   0
OSC uses three timers to turn on and off an output in a repeating pattern. In your example above the three timers are:

010:00 - Start the cycle by leaving the output Off for 10 minutes offset from midnight.
001:37 - Turn the output On for 1 minute 37 seconds.
228:23 - Turn the output Off and leave it off for 228 minutes 23 seconds (3 hours 48 minutes 23 seconds)

When you add up these three timers, the full cycle takes exactly 4 hours, so it will turn on at the exact same times each day:

00:10
04:10
08:10
12:10
16:10
20:10 (the If Time 20:00 to 11:59 command prevents it from running at this last time slot)

See my Apex Timers tutorial for more details and examples of OSC and other Apex timer commands: https://www.reef2reef.com/ams/neptune-apex-programming-tutorials-part-2-timers.689/
having a headache reading it lol
 
OP
OP
LOVEROCK

LOVEROCK

Valuable Member
View Badges
Joined
Feb 22, 2018
Messages
1,289
Reaction score
607
Rating - 0%
0   0   0
00:10 - 12:10 AM off . (the If Time 20:00 to 11:59 command prevents it from running
04:10 - 4:10 AM off (the If Time 20:00 to 11:59 command prevents it from running
08:10 8:10 AM off? (the If Time 20:00 to 11:59 command prevents it from running
12:10- runs dosing
16:10- runs dosing
20:10 (the If Time 20:00 to 11:59 command prevents it from running at this last time slot) OFF?

so 12:10 , and 16:10 it runs ? 2 times a day? but i input to run 6 mins 1:37 x 2 is near where near it
unless im not understanding it right
 

SuncrestReef

That Apex guy
View Badges
Joined
Jan 18, 2018
Messages
4,214
Reaction score
9,227
Location
Oregon
Rating - 0%
0   0   0
00:10 - 12:10 AM off . (the If Time 20:00 to 11:59 command prevents it from running
04:10 - 4:10 AM off (the If Time 20:00 to 11:59 command prevents it from running
08:10 8:10 AM off? (the If Time 20:00 to 11:59 command prevents it from running
12:10- runs dosing
16:10- runs dosing
20:10 (the If Time 20:00 to 11:59 command prevents it from running at this last time slot) OFF?

so 12:10 , and 16:10 it runs ? 2 times a day? but i input to run 6 mins 1:37 x 2 is near where near it
unless im not understanding it right

Yes, you're correct on the times. I didn't read the If Time values closely when I posted my previous reply.

I can't comment on your 6 minutes question because I don't see where you would enter that on the dosing program generator. Can you post s screenshot of the values you're entering?
 
OP
OP
LOVEROCK

LOVEROCK

Valuable Member
View Badges
Joined
Feb 22, 2018
Messages
1,289
Reaction score
607
Rating - 0%
0   0   0
Yes, you're correct on the times. I didn't read the If Time values closely when I posted my previous reply.

I can't comment on your 6 minutes question because I don't see where you would enter that on the dosing program generator. Can you post s screenshot of the values you're entering?
00:10 - 12:10 AM off . (the If Time 20:00 to 11:59 command prevents it from running
04:10 - 4:10 AM off (the If Time 20:00 to 11:59 command prevents it from running
08:10 8:10 AM off? (the If Time 20:00 to 11:59 command prevents it from running
12:10- runs dosing
16:10- runs dosing
20:10 (the If Time 20:00 to 11:59 command prevents it from running at this last time slot) OFF?

so 12:10 , and 16:10 it runs ? 2 times a day? but i input to run 6 mins 1:37 x 2 is near where near it
unless im not understanding it right

image.jpg

ops i mean 6 ML, does the code reflect to dose 6 ml a day?
 

SuncrestReef

That Apex guy
View Badges
Joined
Jan 18, 2018
Messages
4,214
Reaction score
9,227
Location
Oregon
Rating - 0%
0   0   0
You want 6 ml per day. The code generator uses the values you entered to produce this code:

Fallback OFF
OSC 010:00/001:37/228:23 Then ON
If Time 20:00 to 11:59 Then OFF

This will cause the doser to run twice per day (at 12:10 and 16:10) for 1 minute 37 seconds (1.6166 minutes) each time.

Your dosing pump runs at 1.85 ml per minute, so here's the math:

1.85 ml per minute
x 1.6166 minutes
--------------------------
= 2.99083 ml per run
x 2 runs per day
--------------
= 5.98167 ml per day

That's about as close as you can get to exactly 6 ml.
 

Tentacled trailblazer in your tank: Have you ever kept a large starfish?

  • I currently have a starfish in my tank.

    Votes: 34 30.4%
  • Not currently, but I have kept a starfish in the past.

    Votes: 28 25.0%
  • I have never kept a starfish, but I hope to in the future.

    Votes: 25 22.3%
  • I have no plans to keep a starfish.

    Votes: 24 21.4%
  • Other.

    Votes: 1 0.9%
Back
Top