PDA

View Full Version : code help?


richierich2000
01/08/2008, 02:43 PM
I am trying to use A-5 as PM4 for some reason it is not showing up when I pull up the status? is there a pump limit or something? or how many things can show up?
I was messing around putting it inplace of othere stuff and in the status instead of being on or off it was UNK?

this is what I have
LT1$-A1
PM3#-A2
PM1#-A3
LT3$-A4
COL%-A5
PM4#-A6
OZN&-A7
CO2&-A8
LT4$-B3
HET%-B1
LT6$-B4
PM2#-B2

If Time > 10:00 Then LT1 ON
If Time > 16:00 Then LT1 OFF
If Time > 23:00 Then LT3 ON
If Time > 06:00 Then LT3 OFF
If Time > 16:00 Then LT4 ON
If Time > 21:00 Then LT4 OFF
If Time > 15:30 Then LT6 ON
If Time > 20:00 Then LT6 OFF
If ORP < 340 Then OZN ON
If ORP > 345 Then OZN OFF
If Time > 04:30 Then PM2 ON
If Time > 21:20 Then PM2 OFF
If FeedA 000 Then PM2 OFF
OSC 020/010 ON/OFF Then PM3 ON
OSC 010/015 ON/OFF Then PM1 ON

LT1 ON
PM3 ON
PM1 OFF
LT3 OFF
OZN OFF
LT4 OFF
LT6 ON
PM2 ON

dhoch
01/08/2008, 04:58 PM
I see nothing that defines the status of PM4 in your program...start their... at least define a status for it.

Default on is: It Time > 0:00 Then PM4 ON

Dave

richierich2000
01/08/2008, 07:24 PM
cool that was it thank you