Alarm Coding

scar79

Member
I currently have an email alarm set up on a clients tank. Our tech was out doing service, spiked the pH when he dosed, and we got 4 emails in 4 minutes before I turned the alarm off.

Current code is as follows:
Set OFF
If Temp > 80.0 Then ON
If Temp < 75.0 Then ON
If pH > 8.20 Then ON
If pH < 7.70 Then ON
Defer 002:00 Then OFF

I would like to make two changes to the program:
1) Send one email per incident. I honestly can't remember what the logic is behind the "defer" line (got it from somebody on here), but could that be messing with it?
2) turn off the alarms when he is doing service. I don't want him to manually turn the alarm off because humans are imperfect and we NEED the alarms to turn back to auto every time. Service occurs regularly on Wednesday afternoons, could I program the alarms to turn off on Wednesdays between 1pm and 6pm?

Thanks
 
Havent dealt much with alarm coding. If the alarm code follows the same rules as all the other outlets then this should work. If you are going to do this say Wednesday from 200 pm to 400 pm.

Create a virtual outlet call it what you want I use Alaroff

(Alaroff)
Set OFF
If Time 14:00 to 16:00 Then ON
If DOW SMT-TFS Then OFF

Now in the alarm code. add this line to the bottom.

If Outlet Alaroff = ON Then OFF

If you have a BOB and a spare input a push button then this could be done with a virtual outlet as well just by pressing a button and would go back to its original state after a determined amount of time.

Hope that helps.

Mark
 
Back
Top