OnAlarmRaised
This method is called if the state of an alarm changes from Clear to Raised.
Syntax
METHOD OnAlarmRaised : HRESULT
VAR_INPUT
fbEvent : REFERENCE TO FB_TcEvent;
END_VAR
If the implementation of the callback method returns a return code <> S_OK
, further callback calls will be paused until the next execution.
Inputs
Name | Type | Description |
---|---|---|
fbEvent | REFERENCE TO FB_TcEvent | Reference to the alarm that has occurred. This reference must not be copied, e.g. through assignment. |