Functions; Mt_Getactivealarm - Get An Active Alarm Data - ABB FlexLoader SC 6000 Product Manual

Table of Contents

Advertisement

G FlexLoader Library Add-in reference
G.2.1 MT_GetActiveAlarm - Get an active alarm data
RobotWare - OS
G.2 Functions
G.2.1 MT_GetActiveAlarm - Get an active alarm data
Usage
Returns a complete active alarm data from the array of active alarms. If there are
no alarms or nothing on the index number asked, then an empty active alarm data
is returned.
Basic examples
The following example illustrates the function MT_GetActiveAlarm.
Example 1
This will fetch the complete active alarm data for message with index 1 (latest alarm
created) and store it into Alarm.
Return value
Data type: mtactivealarmdata
Arguments
\Index
Data type: num
Index of the alarm that should be returned from the active alarm list. If not used,
index 1 (latest created alarm) will be returned.
246
VAR mtactivealarmdata Alarm;
Alarm:=MT_GetActiveAlarm(\Index:=1);
MT_GetMessage ([\Index])
© Copyright 2014-2020 ABB. All rights reserved.
Product manual - FlexLoader SC 6000
3HAC051768-001 Revision: D

Advertisement

Table of Contents
loading

Table of Contents