Flexible NC programming
1.25 Subprogram technique
Job planning
Programming Manual, 07/2010, 6FC5398-2BP40-0BA0
179
Subprogram subProg3:
Program code Comments
PROC subProg3
N2000 R10=R20+100
N2010 ...
N2200 RET("subProg1") ; Return jump into the main program at block N1550
Further information
The different effects of return jump parameters 1 to 3 are explained in the following graphics.
1st return jump parameter 1 = "N200", return jump parameter 2 = 0
1
352&68%
1
15(7ರ1ರ
0DLQSURJUDP
6XESURJUDP
168%
1*
After the
RET command, program execution is continued with block N200 in the main program.