M_AcknowledgeStopReason
This method acknowledges the StopReason in the Admin-Tags. StopReason.Trigger is set to FALSE and the value from Admin.PlcDateTime is entered in StopReason.AckDateTime. If the StopReason was successfully acknowledged, the method returns TRUE. The StopReason remains in the Admin-Tags until it is replaced by a subsequent StopReason.
![]() | So that a valid timestamp can be entered, the PML_AdminTime function block should be called cyclically in the program. |
Syntax
METHOD M_AcknowledgeStopReason: BOOL
VAR_IN_OUT
stAdmin : ST_PMLa;
END_VAR
Example call:
StopReasonAcknowledged := fbAdminAlarm.M_AcknowledgeStopReason(stAdmin := PackTags.Admin);
Requirements
Development Environment | Target platform | PLC library to include |
---|---|---|
From TwinCAT
| PC (i386) | From Tc3_PackML_ V3 1.0.3 |