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
ActivateAlarmInstanceBOOLInput
pFBInstancePOINTER TO BYTE
Pointer to the template FB instance. Use THIS when inside the function block.
uiTemplateAlarmIdAlarm ID within the related alarm group template. The alarm ID is inside the enum Alm_<Name of the alarm group template>_Alarm_IDs