Siemens SINUMERIK 802D Programming And Operating Manual page 223

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

Advertisement

Comment, remark
The instructions in the blocks of a program can be explained using comments (remarks). A
comment always starts with a semicolon " ; " and ends with end-of-block.
Comments are displayed together with the contents of the remaining block in the current
block display.
Messages
Messages are programmed in a separate block. A message is displayed in a special field
and remains active until a block with a new message is executed or until the end of the
program is reached. Max. 65 characters can be displayed in message texts.
A message without message text cancels a previous message.
MSG("THIS IS THE MESSAGE TEXT")
See also chapter "Service MSG".
Programming example
N10
N20
N30
N40 MSG("DRAWING NO.: 123677")
:50 G54 F4.7 S220 D2 M3
N60 G0 G90 X100 Z200
N70 G1 Z185.6
N80 X112
/N90 X118 Z180
N100 X118 Z120
N110 G0 G90 X200
N120 M2
Cylindrical grinding
Programming and Operating Manual, 07/2009, 6FC5398-4CP10-2BA0
10.1 Fundamental Principles of NC Programming
; G&S company, order no. 12A71
; Pump part 17, drawing no.: 123 677
; Program created by H. Adam, Dept. TV 4
;Main block
; Block can be suppressed
; End of program
Programming
223

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents