Siemens SINUMERIK 840D sl Programming Manual page 174

Job planning
Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

Flexible NC programming
1.24 Subprogram technique
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
174
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
current block display is restored in SUB1.
Programming Manual, 03/2013, 6FC5398-2BP40-3BA1
Job Planning

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents