M_ClearStopReason

M_ClearStopReason 1:

This method deletes the StopReason from the Admin-Tags. StopReason.Trigger is set to FALSE. The method returns TRUE if the StopReason was deleted successfully. The StopReason remains in the Admin-Tags until it is replaced by a subsequent StopReason.

Syntax

METHOD M_ClearStopReason : BOOL
VAR_IN_OUT
  stAdmin          : ST_PMLa;
END_VAR

Example call:

StopReasonCleared := fbAdminAlarm.M_ClearStopReason(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