Siemens SINUMERIK 840Di sl Programming Manual page 67

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

Advertisement

Programming messages
Messages can be programmed to provide the user with information about the current
machining situation during program execution.
A message in an NC program is generated when the message text is typed after keyword
"MSG" in round parentheses "()" and double quotation marks.
A message can be deleted using "MSG ()".
Example of activating/deleting messages
N10 MSG ("Roughing the contour")
N20 X... Y...
N ...
N90 MSG ()
Note
A message text can be up to 124 characters long and is displayed in two lines
(2*62 characters). Contents of variables can also be displayed in message texts.
Example of message texts
N10 R12=$AA_IW [X]
N20 MSG ("Check position of X axis"<<R12<<)
N ...
N90 MSG ()
Or
N20 MSG ("Check position of X axis"<<$AA_IW[X]<<)
Fundamentals
Programming Manual, 11/2006, 6FC5398-1BP10-2BA0
Fundamental Principles of NC Programming
2.2 Language elements of the programming language
;Activate message
;Clear message from N10
;Current position of the X axis in R12
;Clear message from N20
67

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents