KVIT, BLOCK, UNBLOCK actions
Related pages:
[_retInt := ] KVIT alarmObjIdent
[_retInt := ] BLOCK alarmObjIdent
[_retInt := ] UNBLOCK alarmObjIdent
_retInt | out | Identifier of Int type - action success. |
alarmObjIdent | in | Reference to an Alarm type object, or to an object, which can generate a process alarm. |
Every action may be executed in two ways:
BEGIN INT _stav _stav := BLOCK alarm IF _stav = _ERR_NO_ERROR THEN MESSAGE "alarm has been blocked" ON srvskol1v.HIP _stav := KVIT alarm ;attempt to acknowledge a blocked alarm IF _stav = _ERR_NO_ERROR THEN MESSAGE "alarm has been acknowledged" ON srvskol1v.HIP ;cannot be executed ELSE MESSAGE "alarm cannot be acknowledged, it is blocked" ON srvskol1v.HIP ENDIF ELSE MESSAGE "failed to block an alarm" ON srvskol1v.HIP ENDIF END
Related pages:
Pridať komentár