Skip to content
This repository has been archived by the owner on Mar 24, 2022. It is now read-only.

Commit

Permalink
Update AlarmStates.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
sergirubio authored Jul 20, 2017
1 parent 5cda7d1 commit 9f6b477
Showing 1 changed file with 17 additions and 12 deletions.
29 changes: 17 additions & 12 deletions doc/recipes/AlarmStates.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,28 @@ AlarmStates
State transitions
-----------------

events will be received from the device or from the poll->read->read_hw chain
Alarm States and Severities are defined in panic.properties module.

With PyAlarm > 6.1; GUI will read the current Alarm state from the AlarmList attribute.



* ActiveAlarms doesn't cotain tag, alarm.active will be 0, state = NORM
For compatibility with older versions, the events of ActiveAlarms will be used instead:

* If ActiveAlarms doesn't cotain tag, alarm.active will be 0, state = NORM
* Activealarms contains tag, alarm.active = activealarms timestamp, state = ACTIVE
* ActiveAlarms is None or Exception, alarm.active will be set to -1. state = ERROR

Disabled States
---------------

Their meanings are:

* OOSRV = Device server is Off, no process running
* DSUPR = Enabled property is False
* SHLVD = Alarm is listed in DisabledAlarms attribute (temporary disabled)
* ERROR = Device is alive but the alarm is not being evaluated (thread dead or exception).

IEC 62682: AlarmStates Definition and related Actions
------------------------------------------------------

Expand Down Expand Up @@ -42,15 +57,5 @@ All of them are controlled by the Enable/Disable states/commands of PyAlarm.

In addition, PANIC adds ERROR State to raise problems with Tango devices.

Disabled States in PANIC
------------------------

Alarm States and Severities are defined in panic.properties module.

Their meanings are:

* OOSRV = Device server is Off, no process running
* DSUPR = Enabled property is False
* SHLVD = Alarm is listed in DisabledAlarms attribute (temporary disabled)
* ERROR = Device is alive but the alarm is not being evaluated (thread dead or exception).

0 comments on commit 9f6b477

Please sign in to comment.