Return the current status of an alarm.


a( alarmno )

This function returns the current status of a given alarm.


alarmno Alarm number (1 - 200)

Return value

Returns the current status of the alarm. The return value will be 0 if the alarm is not active. If the alarm is active, the return value is 1.

Note that the returned status depends on the holdoff and restore conditions of the alarm. The alarm condition may not be true, but if the restore condition is not met (yet) this function will still return 1 (true).

Example usage


Returns 1 if the alarm is active. Otherwise returns 0.

  • ezeio2/expref/a.txt
  • Last modified: 2019-09-02 18:46
  • by andreh