# Thread: Delta GCL+ Cycle Timer

1. Regular Guest
Join Date
Jan 2012
Location
Denver
Posts
33
Post Likes

## Delta GCL+ Cycle Timer

Good afternoon,
I am working on trying to program a cycle timer with ORCA... Trying to cycle pumps continuosly every 10 minutes during cold weather... 10 mins on and 10 mins off...
I am not the Delta genius... I think I am close and can play around some more tomorrow... but wondering if any Delta pros can weigh in on this...

For instance...
IF OAT<45 THEN
(PUMP = ON) AND (LOWTEMP = ON)
END IF
IF (PUMP = ON) ONFOR 10M
(PUMP = OFF)
END IF
IF (LOWTEMP = ON) AND ((PUMP = OFF) OFFOR 10M) THEN
(PUMP = ON)
END IF
IF (LOWTEMP = OFF)
PUMP = OFF

2. Professional Member
Join Date
Dec 2014
Location
Vancouver, BC
Posts
34
Post Likes
The tricky thing with the OnFor and OffFor is that they should really be called "True For" and "False For"
So if you write the following:
If (BV1 = Off) OffFor 5M then
BV2 = On
EndIf
That is a double negative, it will execute when BV1 has been ON for 5 minutes.

Also, when commanding multiple things within one If statement, just write to them on the next line. Using the AND operator asks a question it doesn't write to the point.

Here's what you are looking to do:

//ENABLE/DISABLE LOW TEMPERATURE MODE
If OAT < 45 Then
LOWTEMP = On
End If
If OAT > 50 Then
LOWTEMP = Off
End If

//CYCLE PUMP ON 10 MIN INTERVALS WHEN LOW TEMP MODE IS ACTIVE
If (LOWTEMP = On) And (PUMP OffFor 10M) Then
PUMP = On
End If
If PUMP OnFor 10M Then
PUMP = Off
End If