Call Subprogram With Path Specification And Parameters (Pcall) - Siemens SINUMERIK 840D sl Programming Manual

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

Advertisement

Work preparation
3.2 Subprogram technique
Additional information about the ISO mode: Function Manual ISO Dialects
Syntax
ISOCALL <program_name>
Meaning
ISOCALL:
<program name>:
Example: Calling a contour with cycle programming from ISO mode
Program code
0122_SPF
N1010 G1 X10 Z20
N1020 X30 R5
N1030 Z50 C10
N1040 X50
N1050 M99
N0010 DEF STRING[5] PROGNAME = "0122"
...
N2000 R11 = $AA_IW[X]
N2010 ISOCALL PROGNAME
N2020 R10 = R10+1
...
N2400 M30
3.2.3.8

Call subprogram with path specification and parameters (PCALL)

With PCALL, you can call subprograms with the absolute path and parameter transfer.
Syntax
PCALL <path/program name>(<parameter 1>,...,<parameter n>)
532
Keyword for an indirect subprogram call with which the ISO mode set in
the machine data is activated.
Name of the program programmed in an ISO language (variable or con‐
stant, type STRING)
Comment
; Contour description in ISO mode
; Siemens part program (cycle)
; Execute program 0122.spf in ISO mode
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