Flexible NC programming
1.25 Subprogram technique
Job planning
188 Programming Manual, 07/2010, 6FC5398-2BP40-0BA0
1.25.3.4 Modal subprogram call (MCALL)
Function
For a modal subprogram call with MCALL, the subprogram is automatically called and
executed after each block with path motion. This allows subprogram calls to be automated,
which are to be executed at different workpiece positions (for example to create drilling
patterns).
MCALL is used to deactivate the function without a subprogram call or by programming a new
modal subprogram call for a new subprogram.
CAUTION
Only one
MCALL call can be effective at one time in a program run. Parameters are only
transferred once for an
MCALL call.
In the following situations the modal subprogram is also called without motion
programming:
• Programming addresses
S and F if G0 or G1 is active.
• If
G0/G1 were programmed alone in the block or with additional G codes.
Syntax
MCALL <program name>
Significance
MCALL: Command for the modal subprogram call
<program name>: Name of subprogram