Siemens SINUMERIK 840D sl Programming Manual page 104

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

Advertisement

Subroutines, Macros
2.7 Modal subroutine (MCALL)
Caution
In a program run, only one MCALL call can apply at any one time. Parameters are only
transferred once with an MCALL. In the following situations the modal subroutine is also
called without motion programming: When programming the addresses S and F if G0 or G1
is active. G0/G1 is on its own in the block or was programmed with other G codes.
Example
N10 G0 X0 Y0
N20 MCALL L70
N30 X10 Y10
N40 X50 Y50
In blocks N30 to N40, the program position is approached and subroutine L70 is executed.
N10 G0 X0 Y0
N20 MCALL L70
N30 L80
In this example, the following NC blocks with programmed path axes are in subroutine L80.
L70 is called by L80.
2-20
Programming Manual, 03/2006 Edition, 6FC5398-2BP10-1BA0
Job planning

Advertisement

Table of Contents
loading

Table of Contents