MxReEfEr92
05/10/2014, 02:30 AM
I am trying to write the code for having an ATO low email alert and I keep getting an error message.
This is what I am trying to put in for EmailAlarm
Set OFF
If Temp > 82.0 Then ON
If Temp < 75.0 Then ON
If ATOLOW Is CLOSED Then ON
If ATOLOW Is OPEN Then OFF
But I get a message saying:
//Error: line 4 - Expected CLOSED or OPEN // If ATOLOW Is CLOSED Then ON
//Error: line 5 - Expected CLOSED or OPEN // If ATOLOW Is OPEN Then OFF
What am I doing wrong?
This is what I am trying to put in for EmailAlarm
Set OFF
If Temp > 82.0 Then ON
If Temp < 75.0 Then ON
If ATOLOW Is CLOSED Then ON
If ATOLOW Is OPEN Then OFF
But I get a message saying:
//Error: line 4 - Expected CLOSED or OPEN // If ATOLOW Is CLOSED Then ON
//Error: line 5 - Expected CLOSED or OPEN // If ATOLOW Is OPEN Then OFF
What am I doing wrong?