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

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

Advertisement

Fundamentals

2.14 Supplementary commands

2.14
Supplementary commands
2.14.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 on the user interface, then the user
requires information about the language that is currently set on the HMI. This information can
be interrogated in the part program and in synchronized actions by the the system
variable $AN_LANGUAGE_ON_HMI (Page 1303)
348
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.
Programming Manual, 12/2019, 6FC5398-2EP40-0BA0
NC programming

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840de sl

Table of Contents