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

Commit

Permalink
Merge branch 'documentation' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
sergirubio committed Sep 22, 2017
2 parents 34fa2b2 + e4742d9 commit 76eec9d
Showing 1 changed file with 20 additions and 2 deletions.
22 changes: 20 additions & 2 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 (not exported), 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 (exported=1 and thread dead or exception).

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

Expand Down Expand Up @@ -41,3 +56,6 @@ OOSRV is permanent (device disabled).
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.



0 comments on commit 76eec9d

Please sign in to comment.