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

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

Advertisement

1.25.3.8

Calling subroutine with path specification and parameters (PCALL)

Function
With PCALL you can call subprograms with the absolute path and parameter transfer.
Syntax
PCALL <path/program name>(<parameter 1>,...,<parameter n>)
Significance
PCALL:
<path/program name>:
<parameter 1>, etc.:
Example
Program code
PCALL/_N_WKS_DIR/_N_WELLE_WPD/WELLE(parameter1,parameter2,...)
Job Planning
Programming Manual, 06/2009, 6FC5398-2BP20-0BA0
Keyword for subprogram call with absolute path name
Absolute path name beginning with "/", including
subprogram names
If no absolute path name is specified, PCALL behaves like
a standard subprogram call with a program identifier.
The program identifier is written without the leading _N_
and without an extension.
If the program name is to be programmed with leading
character and extension, then it must be explicitly
declared with leading character and extension using the
EXTERN command.
Actual parameters in accordance with the PROC operation
of the subprogram.
Flexible NC programming
1.25 Subprogram technique
217

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents