If either well pump is on for more than 10 minutes, I’ve run out of water, so I want to turn on output 6 to light a light or start a buzzer or play polka music. I got this program to work but is there a way to use a VAR set to 10 minutes so that if either pump is on more than 10 minutes it will turn OUT6 on? I couldn’t find a way to make an alarm turn on an output unless I missed it?
If either pump pulls more than 1 amp for more than 10 minutes it will turn output 6 on and I have to manually turn it off to reset the alarm.
10 IF WELLPUMP1 > 1 THEN GOTO 50
20 IF WELLPUMP2 > 1 THEN GOTO 50
30 WAIT 00:00:10
40 GOTO 10
50 WAIT 00:10:00
60 IF WELLPUMP1 > 1 THEN GOTO 100
70 IF WELLPUMP2 > 1 THEN GOTO 100
80 WAIT 00:00:10
90 GOTO 10
100 START OUT6
I found TIME-ON command in the manual, and wrote it like this, but not sure how write it to do time on more that 10 minutes from an input being more than 1 amp?
10 IF WELLPUMP1 > 1 THEN START OUT1 ELSE STOP OUT1
20 IF WELLPUMP2 > 1 THEN START OUT2 ELSE STOP OUT2
30 IF TIME-ON ( OUT1 ) > 00:10:00 THEN START OUT6
40 IF TIME-ON ( OUT2 ) > 00:10:00 THEN START OUT6