OnAlarmRaised
This method is called if the state of an alarm changes from Clear to Raised.
Syntax
METHOD OnAlarmRaised : HRESULT
VAR_INPUT
ipContext : I_TcListenerContext;
fbEvent : REFERENCE TO FB_TcEvent;
END_VAR
Inputs
Name | Type | Description |
---|---|---|
ipContext | I_TcListenerContext | Context of the different EventLoggers |
fbEvent | REFERENCE TO FB_TcEvent | Reference to the alarm that has occurred. This reference must not be copied, e.g. by assignment. |