Setting Alarm for an "ON" input

I can’t find the syntax I need to set an alarm / make an entry in the Alarm log every time a certain input is “ON”. Here’s my best shot at it…
10 ALARM FANGN IS ON, OFF, NORTH FAN CAME ON
20 DALARM FANGS , 15 , SOUTH FAN CAME ON FOR AT LEAST 15 SECS
30 END
Line 20 works, but line 10 has an error. The docs don’t give me any guidance on this.

For line10, just go

10 DALARM FANGN , 10, FAN CAME ON

FANGN evalyates to true or false on its own, IS ON isnt quite a proper statement. Replying from my phone so cant test this out just now, will check on this when we return to work on FEB11

Maurice Duteau

That worked great. Thanks fir your help.