Siemens SINUMERIK 840DE sl Commissioning Manual page 1137

Basesoftware and operating software
Hide thumbs Also See for SINUMERIK 840DE sl:
Table of Contents

Advertisement

Programming
Syntax:
Description:
Parameter:
Example
IF Var1 > Var2
DLGL("Value too large!")
ENDIF
6.3.13
DEBUG
Description
The DEBUG function provides an analysis help during the draft phase of Run MyScreen user
screens. An expression in brackets transferred with the DEBUG function is evaluated during
runtime. The result is attached to the "easyscreen_log.txt" logbook as a separate entry.
Each entry has the current time stamp in square brackets as prefix (see example below).
It is recommended that the DEBUG outputs are removed in time-critical parts when possible.
Particularly after completing the draft phase, it is recommended that you comment out the
DEBUG outputs. The write access to the constantly expanding "easyscreen_log.txt" logbook
may slow down the processing.
Programming
Syntax:
Description:
Parameter:
Example
IF Var1 > Var2
DEBUG("Value of ""Var1"": " << Var1)
ENDIF
SINUMERIK Integrate Run MyScreens (BE2)
Programming Manual, 12/2017, 6FC5397-1DP40-6BA1
("String ")
DLGL
Outputs text in the dialog line
String
Text, which is displayed in the dialog line
; The text "Value too large!" appears in the dialog
line if variable1 > variable2.
(expression) )
DEBUG
Makes an entry in the "easyscreen_log.txt" logbook
Expression to be evaluated from which an entry is generated in the logbook
; Entry in the "easyscreen_log_txt:
[10:22:40.445] DEBUG: Value of "Var1":
123.456
Programming commands
6.3 Functions
151

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840d sl

Table of Contents