IAlarmHandler9.DeactivateAlarmInstance (METH)ΒΆ

METHOD DeactivateAlarmInstance : BOOL

This method only works if alarm has been activated with IAlarmHandler9.ActivateAlarmInstance. Returns TRUE if the operation was successful and the alarm was found. This method uses semaphore synchronization with AlarmEvaluation_PRG.

InOut:

Scope

Name

Type

Comment

Return

DeactivateAlarmInstance

BOOL

Input

pFBInstance

POINTER TO BYTE

Pointer to the template FB instance. Use THIS when inside the function block.

uiTemplateAlarmId

ALARM_ID

Alarm ID within the related alarm group template. The alarm ID is inside the enum Alm_<Name of the alarm group template>_Alarm_IDs