Siemens SINUMERIK 840D sl Programming Manual page 213

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

Advertisement

Example
Direct call with STRING constant:
Program code
...
CALL "/_N_WKS_DIR/_N_SUBPROG_WPD/_N_PART1_SPF"
...
Indirect call via variable:
Program code
...
DEF STRING[100] PROGNAME
PROGNAME="/_N_WKS_DIR/_N_SUBPROG_WPD/_N_PART1_SPF"
CALL PROGNAME
...
Job Planning
Programming Manual, 06/2009, 6FC5398-2BP20-0BA0
Flexible NC programming
1.25 Subprogram technique
Comment
; Direct call to subprogram
PART1 with CALL.
Comment
; Define variable.
; Assign subprogram
PART1 to the
PROGNAME variable.
; Indirect call to
subprogram PART1 via
CALL and the
PROGNAME variable.
213

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents