Mt_Gettext - Gets A Selected Text Line From A Message - ABB FlexLoader SC 6000 Product Manual

Table of Contents

Advertisement

G.2.6 MT_GetText - Gets a selected text line from a message
Usage
MT_GetText is used to get a selected text line from a specific message.
Basic examples
The following example illustrates the function MT_GetText. This will store the
header text from the message corresponding to identifier "myAlarm" to the variable
header. if no optional argument is used, the header text is returned.
Example 1
Return value
Data type: string
Arguments
Identifier
Data type: string
System unique string that gives the possibility to point to a specific message.
\Header
Data type: switch
Gets the header text line.
\Text1
Data type: switch
Gets the body text number 1.
\Text2
Data type: switch
Gets the body text number 2.
\Text3
Data type: switch
Gets the body text number 3.
\Text4
Data type: switch
Gets the body text number 4.
\Text5
Data type: switch
Gets the body text number 5.
Product manual - FlexLoader SC 6000
3HAC051768-001 Revision: D
G.2.6 MT_GetText - Gets a selected text line from a message
VAR string header;
header:=MT_GetText("myAlarm",\Header);
MT_GetText (Identifier, [\Header] | [\Text1] | [\Text2] | [\Text3]
| [\Text4] | [\Text5] | [\Text6] | [\Text7] | [\Text8])
© Copyright 2014-2020 ABB. All rights reserved.
G FlexLoader Library Add-in reference
RobotWare - OS
Continues on next page
251

Advertisement

Table of Contents
loading

Table of Contents