PDA

View Full Version : Programming all pumps off with an OSC cycle


Sycamoron
12/31/2008, 09:21 AM
I have 2 closed loop pumps (PML and PMU) on an oscillating cycle. I need both pumps to shut off unattended at 10 AM for 15 minutes while an automated feeder runs. How do I program that?

This is the programming for the oscillating cycle:
OSC 015/015 ON/OFF Then PML ON
If Timer PML = ON Then PMU OFF
If Timer PML = OFF Then PMU ON

I tried inserting this programming before and after the OSC sequence and neither attempt worked:
If Time > 10:00 Then PML OFF
If Time > 10:00 Then PMU OFF
If Time > 10:15 Then PML ON

Thanks.

d0ughb0y
12/31/2008, 11:28 AM
OSC statements need to be the first statement in the program (for the device), and really should not be mixed with if time statement (for the same device), as unpredictable result will occur, as you have already found out.

you will need to use a dummy device, say DUM and add

if Time > 10:00 Then DUM OFF
if Time > 10:15 Then DUM ON

then add this to the end of the three lines of code you shown

If Timer DUM = OFF Then PMU OFF
If Timer DUM = OFF Then PML OFF

Sycamoron
12/31/2008, 07:26 PM
Thanks! My education continues.