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
VAR dionum AlarmActive;
AlarmActive:=MT_IsAlarmActive();
AlarmActive will be 1 if any alarm is active in the system.
Example 2
AlarmActive:=MT_IsAlarmActive(\Identifier:="myAlarm");
AlarmActive will be 1 if the alarm with identifier “myAlarm” is active.
Return value
Data type:
dionum
Arguments
MT_IsAlarmActive ([\Identifier] , [\WildCardTexts{*}] , [\Category]
, [\StationName])
\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
Product manual - FlexLoader SC 6000
3HAC051768-001 Revision: D
© Copyright 2014-2020 ABB. All rights reserved.
G FlexLoader Library Add-in reference
G.2.8 MT_IsAlarmActive - Check if an specific alarm is active
RobotWare - OS
Summary of Contents for FlexLoader SC 6000
Page 1: ...ROBOTICS Product manual FlexLoader SC 6000 ...
Page 8: ...This page is intentionally left blank ...
Page 12: ...This page is intentionally left blank ...
Page 78: ...This page is intentionally left blank ...
Page 172: ...This page is intentionally left blank ...
Page 174: ...This page is intentionally left blank ...
Page 176: ...This page is intentionally left blank ...
Page 178: ...This page is intentionally left blank ...
Page 182: ...This page is intentionally left blank ...
Page 184: ...This page is intentionally left blank ...
Page 186: ...This page is intentionally left blank ...
Page 192: ...This page is intentionally left blank ...
Page 224: ...This page is intentionally left blank ...
Page 283: ......