Need help setting up apex programming

Swfiend

Active Member
View Badges
Joined
Mar 27, 2017
Messages
156
Reaction score
108
Rating - 0%
0   0   0
So I’m trying to set a program to control a dosing pump to dose h202 but is there a way to set it up so that it will dose 3 set times during the day and then between 12am and 6am dose every 15 mins?
 

Js.Aqua.Project

Reef Addict
View Badges
Joined
Apr 29, 2016
Messages
1,927
Reaction score
3,640
Location
Ocala, FL
Rating - 0%
0   0   0
Are you using a DOS or are you using a separate pump that you're trying to program by turning an outlet on/off?
 

Js.Aqua.Project

Reef Addict
View Badges
Joined
Apr 29, 2016
Messages
1,927
Reaction score
3,640
Location
Ocala, FL
Rating - 0%
0   0   0
I would probably recommend combining the OSC and Time commands to accomplish your goal.

The OSC command reads like:

OSC 000:00/000:00/000:00 Then ON (OFF/ON/OFF think of it like wait/on/off for the time it is allowed to operate)

Then use the if Time command to set the period the OSC command is allowed to be on:

IF Time 00:00 to 00:00 Then ON

Remember the Apex reads top to bottom so write it stacked something like:

Fallback OFF
Set OFF
OSC 000:00/000:00/000:00 Then ON
IF Time 00:00 to 00:00 Then ON

Calculate however long the OSC command needs to be on to dose your H202 amount and then add as many If Time commands as you need. Remember the If Time command will need to be for as long as your OSC command needs to run.

I am sure someone may come along with a simpler way, but since it seems like you are wanting a varied schedule with 3 times a day and then every 15 minutes from 12-6am I can only think of this as the simplest way.
 
OP
OP
Swfiend

Swfiend

Active Member
View Badges
Joined
Mar 27, 2017
Messages
156
Reaction score
108
Rating - 0%
0   0   0
Ya you have the same idea as I had as I have that program already I need to figure out how to add the 3 doses per day in addition of the 15 min intervals at night
 

TOP 10 Trending Threads

HOW DO YOU ADJUST YOUR CUC AS ALGAE DISAPPEARS?

  • Capture and re-home CUC

    Votes: 7 6.9%
  • Increase white light/hours in tank to spur algae growth to feed CUC

    Votes: 6 5.9%
  • Feed nori to support CUC

    Votes: 35 34.7%
  • Feed herbivore pellets to support CUC

    Votes: 34 33.7%
  • Allow attrition to balance CUC and algae

    Votes: 44 43.6%
  • Provide macro algae to feed CUC

    Votes: 6 5.9%
  • Introduce CUC predators

    Votes: 1 1.0%
  • Other (please explain)

    Votes: 11 10.9%
Back
Top