Supplementary Commands; Output Messages (Msg) - Siemens Sinumerik 840D sl Programming Manual

Fundamentals
Hide thumbs Also See for Sinumerik 840D sl:
Table of Contents

Advertisement

Supplementary commands

15.1

Output messages (MSG)

Using the MSG() statement, any character string from the part program can be output as
message to the operator.
Syntax
MSG("<Message text>"[,<Execution>])
...
MSG ()
Meaning
MSG:
<message text>:
<Execution>:
MSG():
Note
If the message is to be output in the language active at the user interface, then the user requires
information about the language that is currently set at the HMI. This information can be
interrogated in the part program and in the synchronized actions using system variable
$AN_LANGUAGE_ON_HMI (see "Currently set language in the HMI (Page 508)").
Fundamentals
Programming Manual, 01/2015, 6FC5398-1BP40-5BA2
Predefined subprogram call for output of a message
Any character string to be displayed as message
Type:
STRING
Maximum length:
124 characters; the display takes up two lines (2*62
characters)
By using the link operator "<<", variables can also be output in the message
text.
Parameter to define the time when the message is written (optional)
Type:
INT
Value:
0 (basic set‐
ting)
1
The actual message can be deleted by programming MSG() without message
text. If not deleted, the display remains until the next message is present.
To write the message, a dedicated main run
block is not generated. This is realized in the next
NC block that can be executed. Active continu‐
ous-path mode is not interrupted.
To write the message, a dedicated main run
block is generated. Active continuous-path mode
is interrupted.
15
347

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents