M_AcknowledgeAllWarning

M_AcknowledgeAllWarning 1:

This method acknowledges all warnings in the Admin-Tags. Warning[].Trigger is set to FALSE and the value from Admin.PlcDateTime is entered in Warning[].AckDateTime. If all warnings are acknowledged, the method returns TRUE. The warnings remain in the Warning array until they are pushed out of the array by the next warnings.

M_AcknowledgeAllWarning 2:

So that a valid timestamp can be entered, the PML_AdminTime function block should be called cyclically in the program.

Syntax

METHOD M_AcknowledgeAllWarning : BOOL
VAR_IN_OUT
  stAdmin          : ST_PMLa;
END_VAR

Example call:

AllWarningAcknowledged := fbAdminAlarm.M_AcknowledgeAllWarning(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