<value>: Number of program repetitions
Type: INT
Range of values: 1 … 9999
(unsigned)
Example
Program code Comment
...
N40 FRAME P3 ; The BORDER subprogram is to be executed three times one after
the other.
...
321
N40 FRAME P3
Subprogram
Main program
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, ...))
Work preparation
3.2 Subprogram technique
NC programming
Programming Manual, 12/2019, 6FC5398-2EP40-0BA0 527