Flexible NC programming
1.25 Subprogram technique
Syntax
EXTERNAL <program name>(<type_Par1>,<type_Par2>,<type_Par3>)
...
<program name>(<value_Par1>,<value_Par2>,<value_Par3>)
The subprogram call must always be programmed in a separate NC block.
Significance
<program name>:
EXTERN:
<type_par1>,<type_par2>,<type_par3>:
<value_par1>,<value_par2>,<value_par3>: Variable values for the parameters to
206
CAUTION
Name of subprogram
Keyword to declare a subprogram
with parameter transfer.
Note:
You only have to specifyEXTERNALif
the subprogram is in the workpiece
or in the global subprogram
directory. Cycles do not have to be
declared as EXTERN.
Variable types of the parameters to
be transferred in the sequence of the
transfer
be transferred
Programming Manual, 06/2009, 6FC5398-2BP20-0BA0
Job Planning