Mt_Isalarmactive - Check If An Specific Alarm Is Active - ABB FlexLoader SC 6000 Product Manual

Table of Contents

Advertisement

G FlexLoader Library Add-in reference
G.2.8 MT_IsAlarmActive - Check if an specific alarm is active
RobotWare - OS
G.2.8 MT_IsAlarmActive - Check if an specific alarm is active
Usage
MT_IsAlarmActive is used to check if an specific alarm is currently active.
Combine category and station if needed to check currently active alarm on a specific
station of a specific category.
Basic examples
The following examples illustrates the function MT_IsAlarmActive.
Example 1
AlarmActive will be 1 if any alarm is active in the system.
Example 2
AlarmActive will be 1 if the alarm with identifier "myAlarm" is active.
Return value
Data type: dionum
Arguments
\Identifier
Data type: string
System unique string that gives the possibility to point to a specific message.
\WildCardTexts{*}
Data type: string array
String array of wild cards text to look for. All text must match to get a result 1 back.
This argument only has a meaning if used at the same time as the identifier
argument.
\Category
Data type: icondata
Only return result 1 if an alarm matches this category. This argument can't be used
together with Identifier argument.
\StationName
Data type: string
Only return true if there is an active alarm which is connected to this station. This
argument can't be used together with Identifier argument.
254
VAR dionum AlarmActive;
AlarmActive:=MT_IsAlarmActive();
AlarmActive:=MT_IsAlarmActive(\Identifier:="myAlarm");
MT_IsAlarmActive ([\Identifier] , [\WildCardTexts{*}] , [\Category]
, [\StationName])
© Copyright 2014-2020 ABB. All rights reserved.
Product manual - FlexLoader SC 6000
3HAC051768-001 Revision: D

Advertisement

Table of Contents
loading

Table of Contents