Flexible NC programming
1.24 Subprogram technique
Examples
Example 1:
Program code
N10 G0 X0 Y0
N20 MCALL L70
N30 X10 Y10
N40 X50 Y50
Example 2:
Program code
N10 G0 X0 Y0
N20 MCALL L70
N30 L80
In this example, the following NC blocks with programmed path axes are in subprogram L80.
L70 is called by L80.
192
Comment
; Modal subprogram call.
; The programmed position is approached and then
subprogram L70 is executed.
; The programmed position is approached and then
subprogram L70 is executed.
Programming Manual, 03/2013, 6FC5398-2BP40-3BA1
Job Planning