G.1.5 MT_ErrWrite - Creates error log message in local language
Usage
MT_ErrWrite
is used to write a message to the robot event log.
Basic examples
The following example illustrates the instruction
MT_ErrWrite
.
This will write the message which match to identifier “myAlarm” to the robot event
log. Depending on defined category it will show in event log with matching category.
If category is not used for the message it will appear in the event log as an error
type. The text will appear with wildcard {1} replaced with “AddText”.
Example 1
PROC ErrWriteExample()
VAR mtmsgdata Alarm;
Alarm:=MT_GetMessage("myAlarm");
MT_ErrWrite Alarm,\WildCardTexts:=["AddText"];
ENDPROC
Arguments
MT_ErrWrite Message, [\WildCardTexts{*}]
Message
Data type:
mtmsgdata
The message data that should be used to write message to error log.
WildCardTexts{*}
Data type:
string array
String array of wild card text to replace wild cards in message texts.
230
Product manual - FlexLoader SC 6000
3HAC051768-001 Revision: D
© Copyright 2014-2020 ABB. All rights reserved.
G FlexLoader Library Add-in reference
G.1.5 MT_ErrWrite - Creates error log message in local language
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: ......