I have a modem connected directly to my AquaController II and it is set up to page me in the event of an alarm condition. I have the repaging delay set to 60 minutes. When an alarm condition exists, the AquaController pages me continuously until the alarm condition clears. I am wondering whether I have a logic problem in my programming that is causing the alarm to set and clear every cycle, bypassing the configured delay.
This is a snippet of my code:
If Time > 00:00 Then ALM OFF
If Temp > RT+1.4 Then ALM ON ; Set off alarms
If Temp < RT+-1.4 Then ALM ON
If pH < 7.80 Then ALM ON
If pH > 8.60 Then ALM ON
If Switch1 CLOSED Then ALM ON
I am suspicious of the first line of code. Is there a better way to reset the alarm?
This is a snippet of my code:
If Time > 00:00 Then ALM OFF
If Temp > RT+1.4 Then ALM ON ; Set off alarms
If Temp < RT+-1.4 Then ALM ON
If pH < 7.80 Then ALM ON
If pH > 8.60 Then ALM ON
If Switch1 CLOSED Then ALM ON
I am suspicious of the first line of code. Is there a better way to reset the alarm?