Siemens SINUMERIK 840D sl Programming Manual page 508

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

Advertisement

Work preparation
3.2 Subprogram technique
Program code
...
N6040 R10 = 66 X100
...
N7000 M17
Main program:
Program code
N1000 G0 X0 Y0 Z0
N1010 ...
...
N2050 SUBPROG1
N2060 ...
N2350 SUBPROG2
...
N3000 M30
Example 3: Revoke suppression of the current block display
Subprogram SUB1 with suppression:
Program code
PROC SUB1 DISPLOF
...
N300 SUB2
...
N500 M17
Subprogram SUB2 without suppression:
Program code
PROC SUB2 DISPLON
...
N200 M17
508
Comment
; Trigger alarm 12080
Comment
; Alarm output = "12080 channel K1 block N9040 syntax
error for text R10="
; Alarm output = "12080 channel K1 block N2350 syntax
error for text R10="
Comment
; Suppress current block display in SUB1 subprogram.
Instead, the block is to be displayed with the SUB1
call.
; Call subprogram SUB2.
Comment
; Revoke suppression of the current block display in
subprogram SUB2.
; Return to subprogram SUB1. Suppression of the cur-
rent block display is restored in SUB1.
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