Modal Subprogram Call (Mcall) - Siemens Sinumerik 840D sl Programming Manual

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

Advertisement

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.
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:
<program name>:
Examples
Example 1:
Program code
N10 G0 X0 Y0
N20 MCALL L70
N30 X10 Y10
N40 X50 Y50
Job planning
Programming Manual, 02/2011, 6FC5398-2BP40-1BA0
CAUTION
Command for the modal subprogram call
Name of subprogram
Comment
; Modal subroutine call.
; The programmed position is approached and then subprogram
; The programmed position is approached and then subprogram
L70 is executed.
L70 is executed.
Flexible NC programming
1.25 Subprogram technique
199

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840de slSinumerik 828d

Table of Contents