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

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

Advertisement

Supplementary commands

14.1

Messages (MSG)

Function
Using the MSG() command, any character string from the part program can be output as
message to the operator.
Syntax
MSG("<Message text>"[,<Execution>])
...
MSG ()
Significance
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 557]").
Fundamentals
Programming Manual 09/2011, 6FC5398-1BP40-2BA0
Keyword for programming a message text
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.
Optional parameters to define the instant in time when the message
is written.
Value
Significance
0 (default)
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
continuous-path mode is not interrupted.
1
To write the message, a dedicated main run
block is generated. Active continuous-path
mode is interrupted.
The actual message can be deleted by programming MSG() without
message text.
14
385

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents