IAlarmHandler7.RaiseEventAlarmInstanceByName (METH)ΒΆ
METHOD RaiseEventAlarmInstanceByName : BOOL
Raises an Event for a specified alarm template instance. If a function block is used in several alarm group templates this function can be used to obtain the correct alarm instance. This method uses semaphore synchronization with AlarmEvaluation_PRG.
- InOut:
Scope
Name
Type
Comment
Return
RaiseEventAlarmInstanceByNameBOOLInput
pFBInstancePOINTER TO BYTE
Pointer to the template FB instance. Use THIS when inside the function block.
uiTemplateAlarmIdThe Alarm ID within the related alarm group template, which should be raised. The name of the generated enum has to be passed: Alm_<Name of the alarm template group>_Alarm_IDs
stAlarmTemplateNameSTRING(255)Name of the related alarm group template of this template instance. In case of multiple alarm group template objects that use the same FB as type, specify the specific type.