Flexible NC programming
1.25 Subprogram technique
1.25.3.5
Indirect subprogram call (CALL)
Function
Depending on the prevailing conditions at a particular point in the program, different
subprograms can be called. The name of the subprogram is stored in a variable of type
STRING. The subprogram call is realized with CALL and the variable name.
The indirect subprogram call is only possible for subprograms without parameter transfer.
For a direct subprogram call, save the name in a STRING constant.
Syntax
CALL <program name>
Significance
CALL:
<program name>:
212
CAUTION
Command for the indirect subprogram call.
Name of the subprogram (variable or constant)
Type:
STRING
Programming Manual, 06/2009, 6FC5398-2BP20-0BA0
Job Planning