Let's say you want to dose 10ml at 8am and 8pm of alk, and 10ml of Ca at 8:30am and 8:30pm using 1ml/min dosing pumps. Here's the Apex code:
For Alk:
OSC 480:00/010:00/230:00 Then ON
For Ca:
OSC 510:00/010:00/200:00 Then ON
Explanation:
Since the main loop of the dosing is constant at 12 hours between dosing the total minutes in the OSC command should equal 12 hours (720 minutes).
The first parameter is to specify how many minutes to wait before dosing. For th alk example, 480 minutes equals 8 hours which is 8am. 510 minutes for Ca means 8:30am.
The second parameter is how many minutes to dose. 10 mins equal 10ml.
The third parameter is the wait time to make the whole loop. In this case it's 720 - (1st parameter + 2nd parameter).
If you want to change the number of minutes to dose, make sure you change the third parameter to compensate. So let's say if you want to dose alk for 17 minutes and 23 seconds, the whole statement will change to:
OSC 480:00/017:23/222:37 Then ON
Note that the total minutes when you add the 3 parameters is still 720 minutes (12 hours). Also note that you are adding time here and not decimal values.