Subprograms, Macros
2
2.8 Calling subprogram with path specification and parameters,
840D
840D
NCU 571
NCU 572
NCU 573
2.8
Calling subprogram with path specification and parameters, PCALL
With PCALL you can call subprograms with the
absolute path and parameter transfer:
PCALL path/program name (parameter 1, ..., parameter n)
Explanation
PCALL
Path name
Parameters 1 to n
Example:
PCALL/_N_WCS_DIR/_N_SHAFT_WPD/SHAFT(parameter1, parameter2, ...>)
2-106
FM-NC
810D
840Di
Vocabulary word for subprogram call with
absolute path name
Absolute path name beginning "/",
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 you want the program name to be
programmed with the leading _N_ and the
extension, you must declare it explicitly with
the leading _N_ and the extension as
Extern.
Current parameters in accordance with
the PROC statement of the subprogram
SINUMERIK 840D/840Di/810D/FM-NC Programming Guide Advanced (PGA) − 04.00 Edition
12.98
2
Siemens AG 2000. All rights reserved