OnAlarmRaised

OnAlarmRaised 1:

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

OnAlarmRaised 2: 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.