Supplementary Commands - Siemens SINUMERIK 828D Programming Manual

Hide thumbs Also See for SINUMERIK 828D:
Table of Contents

Advertisement

Supplementary commands

14.1 Output messages (MSG)
Examples
Example 1: Output/delete message
Program code
N10 G91 G64 F100
N20 X1 Y1
N... X... Y...
N20 MSG ("Machining part 1")
N30 X... Y...
N... X... Y...
N400 X1 Y1
N410 MSG ("Machining part 2",1)
N420 X1 Y1
N... X... Y...
N900 MSG ()
Example 2: Message text with variable
Program code
N10 R12=$AA_IW [X]
N20 MSG ("Check position of X axis"<<R12<<)
N...
N90 MSG ()
402
Comment
;
Continuous-path mode
;
The message is first output with N30.
;
Continuous-path mode is kept.
;
;
The message is output with N410.
;
Continuous-path mode is interrupted.
;
Delete message
Comment
;
Current position of the X axis in R12
;
Output message with variable R12
;
;
Delete message from N20
Programming Manual, 07/2010, 6FC5398-1BP40-0BA0
Fundamentals

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents