IAlarmHandler7.GetInstanceAlarm (METH)ΒΆ
METHOD GetInstanceAlarm : IAlarm8
Provides access to alarm specific data of instantiated function blocks using the alarm group template that this block is associated with. Returns NULL if no alarm is found.
- InOut:
Scope
Name
Type
Comment
Return
GetInstanceAlarmInput
pFBInstancePOINTER TO BYTE
Pointer to the template FB instance. Use THIS when inside the fucntion block.
uiTemplateAlarmIdAlarm ID within the related alarm group template.
Output
usiAlarmGroupIDId of the related alarm group. Can be used to acknowledge this alarm by using methods like IAlarmHandler.AcknowlegeOneOfGroup.
uiAlarmidAlarm ID of this alarm in the related alarm group. Can be used to acknowledge this alarm by using methods like IAlarmHandler.AcknowlegeOneOfGroup.