IAlarmHandler9.ActivateAlarmInstance (METH)ΒΆ

METHOD ActivateAlarmInstance : BOOL

The alarm can be deactivated by calling IAlarmHandler9.DeactivateAlarmInstance. 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

ActivateAlarmInstance

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