M_ClearWarning
This method deletes a warning in the Admin-Tags. Warning[].Trigger is set to FALSE. The method returns TRUE if the warning was deleted successfully. The warning remains in the Warning array until it is pushed out of the array by the next warning.
Syntax
METHOD M_ClearWarning : BOOL
VAR_IN_OUT
stAdmin : ST_PMLa;
END_VAR
VAR_INPUT
stWarning : ST_PMLEvent;
END_VAR
Example call:
WarningCleared := fbAdminAlarm.M_ClearWarning(stAdmin := PackTags.Admin, stWarning := Warning);
Requirements
Development Environment | Target platform | PLC library to include |
---|---|---|
From TwinCAT
| PC (i386) | From Tc3_PackML_ V3 1.0.3 |