Creation of sub-programs - SPG
Presentation
Definition: creation of sub-programs treated by the post-processor.
Two functions are necessary :
![]() | Sub-program tag to define the cycles to repeat |
![]() | Sub-program call to call back a pre-defined sub-program |
To create a sub-program
Right-click on the line Machining in the machining tree | |
Click on SPG tag
|
To call a sub-program
a. Right-click on the line Machining in the machining tree | |
b. Click on SPG call
Ex : for a translation, give the coordinates of the translation vector or click the button 'Vector' and show a segment. | |
The toolpath repeated are displayed on the screen. You can choose to display them or not : select Tools \ Options \ Machining, and uncheck the box 'Subprogram trace' |