3.
Press the "Various" and "Subroutine" softkeys.
4.
Enter the path of the subprogram if the desired subprogram is not stored
in the same directory as the main program.
The subprogram is thus executed in the position pattern.
5.
Press the "Accept" softkey.
The subprogram call is inserted in the main program.
Parameter
Description
Path/workpiece
Path of the subprogram if the desired subprogram is not stored in the same directory
as the main program.
Program name
Name of the subprogram that is to be inserted.
Programming example
N10 T1 D1
;Load tool
N11 M6
N20 G54 G710
;Select work offset
N30 M3 S12000
;Switch-on spindle
N40 CYCLE832(0.05,3,1)
;Tolerance value 0.05 mm, machining type,
roughing
N50 EXTCALL"CAM_SCHRUPP"
Externally call subprogram CAM_SCHRUPP
N60 T2 D1
;Load tool
N61 M6
N70 CYCLE832(0.005,1,1)
;Tolerance value 0.005 mm, machining
type, finishing
N80 EXTCALL"CAM_SCHLICHT"
;Call subprogram CAM_SCHLICHT
N90 M30
;End of program
The subprograms CAM_SCHRUPP.SPF, CAM_SCHLICHT.SPF contain the workpiece
geometry and the technological values (feedrates). These are externally called due to the
program size.
Programming technological functions (cycles)
10.6 Further cycles and functions
Milling
652
Operating Manual, 08/2018, 6FC5398-7CP41-0BA0