M_ClearAllWarning

M_ClearAllWarning 1:

This method deletes all warnings in the Admin-Tags. Warning[].Trigger is set to FALSE. The method returns TRUE if the warning was deleted successfully. The warnings remain in the Warning array until they are pushed out of the array by the next warnings.

Syntax

METHOD M_ClearAllWarning : BOOL
VAR_IN_OUT
  stAdmin          : ST_PMLa;
END_VAR

Example call:

AllWarningCleared := fbAdminAlarm.M_ClearAllWarning(stAdmin := PackTags.Admin);

Requirements

Development Environment

Target platform

PLC library to include

From TwinCAT

  • 3.1 Build 4024.63

PC (i386)

From Tc3_PackML_ V3 1.0.3