Flexible NC programming
1.25 Subprogram technique
Job planning
Programming Manual, 07/2010, 6FC5398-2BP40-0BA0
187
Syntax
<program name> P<value>
Significance
<program name>: Subroutine call
P: Address to program program repetitions
Number of program repetitions
Type: INT
<value>:
Value range: 1 … 9999
(unsigned)
Example
Program code Comments
...
N40 FRAME P3 ; The BORDER subprogram is to be executed three times one
after the other.
...
1)5$0(3
6XESURJUDP
0DLQSURJUDP