<value>:
Example
Program code
...
N40 FRAME P3
...
3.2.3.4
Modal subprogram call (MCALL)
The specified subprogram is not immediately called as a result of the modal subprogram
call MCALL <program name>. Instead, the call is performed as of this time in the part program
after each traversing block with path motion. Also across program levels.
Note
When a program is being executed, only the last modal subprogram call MCALL <program
name> is effective in each case. The current modal subprogram call replaces the one that has
been active up until then.
If parameters are transferred to the subprogram, the parameters are only transferred with call:
MCALL(<ProgName>(Par1, Par2, ...))
NC programming
Programming Manual, 12/2019, 6FC5398-2EP40-0BA0
Number of program repetitions
Type:
Range of values:
Comment
; The BORDER subprogram is to be executed three times one after
the other.
Main program
Subprogram
N40 FRAME P3
INT
1 ... 9999
(unsigned)
1
2
3
Work preparation
3.2 Subprogram technique
527