Another APEX Programming Question

jonboyb

Member
Market
Messages
692
Reaction score
0
Trying to get the programming worked out for my dosing system. I need it to power my pump for 2 minutes every 30 minutes. Is this even possible???

What would the coding look like?

If Time >= 12:00 Then On
If Time >= 12:02 Then Off
If Time >= 12:30 Then On
If Time >= 12:32 Then Off

or

If Time >=12:00 AND <=12:02 Then On
Else Off


Etc. etc....and I'm just using generic coding to get my point across. I've been reading the manual and can't tell if it's possible to do multiple timesteps like this.
 
Try it... I think it will work. I am doing two time steps a day to send me tank stats, and I did have my powerheads to alternate for 20 minutes on, 20 minutes off.

I did not use the "=" sign, but it should work as you have shown.
 
Don't pay any attention to my actual code, I can't remember the APEX conventions off-hand so just wrote very generically.
 
Jon

I think there is an oscillating command that would work for that. Trying to find it now.
 
Back
Top