M_ClearStopReason
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
| PC (i386) | From Tc3_PackML_ V3 1.0.3 |