Programming technology functions (cycles)8.6 Further cycles and functionsTurning490 Operating Manual, 03/2013, 6FC5398-8CP40-3BA13. Press the "Various" and "Subprogram" softkeys.4. Enter the path of the subprogram if the desired subprogram is notstored 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 thesubprogram does not have the file extension specified for the directoryin which the subprogram is stored.6. Press the "Accept" softkey.The subprogram call is inserted in the main program.Parameter DescriptionPath/workpiece Path of the subprogram if the desired subprogram is not stored in the samedirectory as the main program.Program name Name of the subprogram that is to be inserted.Programming exampleN10 T1 D1 ;Load toolN11 M6N20 G54 G710 ;Select work offsetN30 M3 S12000 ;Switch-on spindleN40 CYCLE832(0.05,3,1) ;Tolerance value 0.05 mm, machining type,roughingN50 EXTCALL"CAM_SCHRUPP" Externally call subprogram CAM_SCHRUPPN60 T2 D1 ;Load toolN61 M6N70 CYCLE832(0.005,1,1) ;Tolerance value 0.005 mm, machiningtype, finishingN80 EXTCALL"CAM_SCHLICHT" ;Call subprogram CAM_SCHLICHTN90 M30 ;End of programThe subprograms CAM_SCHRUPP.SPF, CAM_SCHLICHT.SPF contain the workpiecegeometry and the technological values (feedrates). These are externally called due to theprogram size.