Mt_Log - Creates A Log Message In Log File - ABB FlexLoader SC 6000 Product Manual

Table of Contents

Advertisement

G.1.9 MT_Log - Creates a log message in log file
Usage
MT_Log is used to create a log message in log file.
Basic examples
The following example illustrates the instruction MT_Log.
Example 1
Creates a new log in log file if log level warning is active. Depending on date and
time the output in the csv file could look like below.
Arguments
Level
Data type: mtloglevel
Specifies the log level of this log message.
Source
Data type: string
Specifies the source of this log message, for normally routine name. Free for user
to use it as something else than routine name.
msg{*}
Data type: string array
An array of log message lines.
Product manual - FlexLoader SC 6000
3HAC051768-001 Revision: D
MT_Log MT_LVL_WARNING,"main",["Log message row 1","Log message row
2","Log message row 3"];
MT_Log [Level] , [Source] , [Msg{*}]
© Copyright 2014-2020 ABB. All rights reserved.
G FlexLoader Library Add-in reference
G.1.9 MT_Log - Creates a log message in log file
RobotWare - OS
235

Advertisement

Table of Contents
loading

Table of Contents