M_HasStopReason
This method checks whether an active StopReason is entered in the Admin-Tags and the method returns TRUE
Syntax
METHOD M_SetStopReason : BOOL
VAR_IN_OUT
stAdmin : ST_PMLa;
END_VAR
Example call:
HasStopReason := fbAdminAlarm.M_HasStopReason (stAdmin := PackTags.Admin);
Requirements
Development Environment | Target platform | PLC library to include |
---|---|---|
From TwinCAT
| PC (i386) | From Tc3_PackML_ V3 1.0.3 |