Sinumerik Training Sub Programs
Category : Siemens
CNC Training Call David: 07834 858 407
Sinumerik Training, with Siemens Sinumerik there are many ways to call a subprogram. Subprograms are a really convenient way to repeat a piece of program.
You could have an incremental program and call it in several places. You could profile the outside of a part with two different tools. One for roughing then one for finishing.
The program below calls an external subprogram “THE_SHAPE” twice. The first time with a 20mm Endmill then the second time with a 10mm Endmill.
External means it’s another program somewhere in the directory.
This is the subprogram.
These subprograms need to end with an M17 (Fanuc uses M99). This tells the control to go back where it came from.
Providing the program is in the same folder as your main program then you just need to write in the name to call it.



