Siemens SINUMERIK 840D sl Programming Manual page 171

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

Advertisement

Main program:
Program code
PROC MAIN_PROG
...
N30 SUB_PROG(1.0,2.0,3.0)
...
N100 M30
Examples for the subprogram call in N30 with incomplete parameter transfer:
N30 SUB_PROG( ,2.0,3.0)
N30 SUB_PROG(1.0, ,3.0)
N30 SUB_PROG(1.0,2.0)
N30 SUB_PROG( , ,3.0)
N30 SUB_PROG( , , )
CAUTION
Call-by-reference parameter transfer
Parameters transferred using call-by-reference must not be left out of the subprogram call.
CAUTION
AXIS data type
AXIS data type parameters must not be left out of the subprogram call.
Job Planning
Programming Manual, 06/2009, 6FC5398-2BP20-0BA0
Comment
; Subprogram call with complete parameter transfer:
X=1.0, Y=2.0, Z=3.0
; X=0.0, Y=2.0, Z=3.0
; X=1.0, Y=0.0, Z=3.0
; X=1.0, Y=2.0, Z=0.0
; X=0.0, Y=0.0, Z=3.0
; X=0.0, Y=0.0, Z=0.0
Flexible NC programming
1.25 Subprogram technique
171

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents