combined statements(OSC & Timer)

KEB

New member
I can not get the "OSC" and "If Timer xxx =" keywords to work together on my III Pro. the OSC statement won't start. The controlled equipment won't start, it stays off. Any ideas?
 
Here is the program, the KAL and PH1 program wont run
LT3$-A1
LT4$-A2
LT2$-B1
LT1$-A3
MH1$-A4
HET%-A5
COL%-A6
OZN&-A7
CO2&-A8
ALM&-A9
MP1%-B5
PH1%-B4
TZ1%-B6
KAL%-B3
SK1%-B7
SK2%-B8
ALN&-B10
FAN%-D1
If Time > 09:30 Then MH1 ON
If Time > 18:00 Then MH1 OFF
If Temp > 79.0 Then MH1 OFF
If Power Fail Then MH1 OFF
Max Change 028 M Then MH1 OFF
If Time > 08:30 Then LT1 ON
If Time > 20:00 Then LT1 OFF
If Temp > 80.0 Then LT1 OFF
If Power Fail Then LT1 OFF
Max Change 024 M Then LT1 OFF
If Time > 08:00 Then LT2 ON
If Time > 08:35 Then LT2 OFF
If Time > 19:56 Then LT2 ON
If Time > 23:00 Then LT2 OFF
If Time > 10:30 Then LT3 ON
If Time > 20:30 Then LT3 OFF
If Temp > 79.5 Then LT3 OFF
If Power Fail Then LT3 OFF
Max Change 032 M Then LT3 OFF
If Time > 10:00 Then LT4 ON
If Time > 21:30 Then LT4 OFF
If Temp > 80.0 Then LT4 OFF
If Power Fail Then LT4 OFF
Max Change 036 M Then LT4 OFF
If Temp > 78.0 Then COL ON
If Temp < 77.5 Then COL OFF
If Temp < 74.0 Then HET ON
If Temp > 74.5 Then HET OFF
If Temp < 65.0 Then HET OFF
If Time > 00:00 Then ALM OFF
If Temp < 73.0 Then ALM ON
If Temp > 80.0 Then ALM ON
If Power Fail Then ALM ON
If pH > 08.50 Then ALM ON
If Timer ALM = ON Then ALN ON
Max Change 220 M Then ALN ON
If Timer ALM = OFF Then ALN OFF
If Time > 00:00 Then MP1 ON
If Feed cycle Then MP1 OFF
If Power Fail Then MP1 OFF
Max Change 005 M Then MP1 OFF
OSC 230/030 ON/OFF Then PH1 ON ******** these are the lines of code
If Timer LT1 = OFF Then PH1 OFF ********
If Time > 00:00 Then TZ1 ON
If Power Fail Then TZ1 OFF
Max Change 020 M Then TZ1 OFF
OSC 015/120 ON/OFF Then KAL ON *******
If Timer LT4 = ON Then KAL OFF *****
If pH > 08.50 Then KAL OFF ******
Max Change 005 M Then KAL OFF *****
If Time > 00:00 Then SK1 ON
If Power Fail Then SK1 OFF
Max Change 120 M Then SK1 OFF
If Time > 00:00 Then SK2 ON
If Timer SK1 = OFF Then SK2 OFF
If Temp > 80.0 Then SK2 OFF
Max Change 005 M Then SK2 OFF
If Temp > 77.4 Then FAN ON
If Temp < 77.2 Then FAN OFF
Thanks,
Ken
 
Im assuming it works properly if you take out the statement:

If Timer LT1 = OFF Then PH1 OFF

(?)

Dave
 
Yes , without the timer statement it seems to run OK. I had to change the KAL & PH1 programs completely in order to get close to what I needed.
 
What about if you put it back in but take the max change statement away (I think that may be the culprit)....

Dave
 
There is an issue with the OSC command and the "If Timer" command, I am also have problems with this, hopefully Curt will figure this out. This portion of my program is VERY simple, but does not work as it should.

If Time > 08:00 Then KLK OFF
If Time > 18:00 Then KLK ON
OSC 005/010 ON/OFF Then DOS ON
If Timer KLK = OFF Then DOS OFF

At 18:01 the DOS timer should oscillate, but fails to do so. I know this does not help, but you are not alone.
 
I took the Max change statement out but it made no difference. The timer statement seems to prevent the OSC statement from starting automaticly. If I remember correct, when I pushed the update programs button and the other statements were false the OSC statement started but when the other statements came true, the OSC would not start up again.
At least I know its not just my programing skills now.
 
Yep, that sounds exactly like my problem, I also tried a Max change command, did not help. And yeah, if I update the program through Aquanotes when the KLK timer is ON it works, but fails to restart the next time around.
 
I'd like to see the programs for the keywords OSC & If Timer, then maybe we could help solve the problem.
 
KEB, just thought you would like to know, Curt just emailed me and he has found the problem, it will be fixed in the next firmware update.
 
Back
Top