PDA

View Full Version : Clearing Alarm Status


timfrey
03/12/2008, 01:49 PM
Running the ACIII and just setup some notification using the onboard email alerts. When the values that I have set have been met the status changes from UNK to ON and the email is sent as it should. My question is...once things are back to within the normal range, how do you reset the alarm so that it doesn't keep sending email notifications?
Here are the two lines of code in question:
If pHA1 > 06.70 Then ALM ON
If pHA1 < 06.40 Then ALM ON

I've tried changing the ALM to manual off and the setting it back to AUTO but it keeps displaying ON and sending alerts.
Do I need an ALM OFF statement somewhere?

Any help would be greatly appreciated!

kenargo
03/12/2008, 03:00 PM
Towards the top of your program (before any conditions that would turn it on) add a line like this:

If Time > 00:00 Then ALM OFF

timfrey
03/13/2008, 09:11 AM
Awesome...I figured it was something simple. I've made this change and after updating the programming this has cleared the ALM status. I'll keep watching it the next time it happens and see if this does the trick once things are brought back within the parameters.

Thanks for the reply!