M_GetAlarmCategory

M_GetAlarmCategory 1:

This method returns the highest AlarmCategory (smallest value) in the alarms of the Admin-Tags.

Syntax

METHOD M_GetAlarmCategory : BOOL
VAR_IN_OUT
  stAdmin          : ST_PMLa;
END_VAR

Example call:

AlarmCategory := fbAdminAlarm.M_GetAlarmCategory(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