Siemens SINUMERIK 828D Programming Manual page 170

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

Advertisement

Flexible NC programming
1.25 Subprogram technique
Main program:
Program code
N1000 G0 X0 Y0 Z0
N1010 ...
...
N2050 SUBPROG1
N2060 ...
N2350 SUBPROG2
...
N3000 M30
Example 3: Revoking 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
170
Comments
; 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, 07/2010, 6FC5398-2BP40-0BA0
Job planning

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents