Programming technology functions (cycles)
8.6 Further cycles and functions
Turning
490 Operating Manual, 03/2013, 6FC5398-8CP40-3BA1
3. Press the "Various" and "Subprogram" softkeys.
4. Enter the path of the subprogram if the desired subprogram is not
stored in the same directory as the main program.
5. Enter the name of the subprogram that you want to insert.
You only need to enter the file extension (*.mpf or *.spf) if the
subprogram does not have the file extension specified for the directory
in which the subprogram is stored.
6. 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.