Calling an NC program
With the % NC function, you can call another, separate NC program from within an NC program.
NC programs contained in this User's Manual are suggestions for solutions. The NC programs or individual NC blocks must be adapted before being used on a machine.
- Change the following contents as needed:
- Tools
- Cutting parameters
- Feed rates
- Clearance height or safe position
- Machine-specific positions, e.g. with M91
- Paths of program calls
Some NC programs depend on the machine kinematics. Adapt these NC programs to your machine kinematics before the first test run.
In addition, test the NC programs using the simulation before the actual program run.
With a program test you determine whether the NC program can be used with the available software options, the active machine kinematics and the current machine configuration.
N110 %TNC:\nc_prog\reset.i | ; Call NC program |
% corresponds to the CALL PGM Klartext syntax.
Activating a datum table in the NC program
With the %:TAB: NC function, you can activate a datum table from within an NC program.
NC programs contained in this User's Manual are suggestions for solutions. The NC programs or individual NC blocks must be adapted before being used on a machine.
- Change the following contents as needed:
- Tools
- Cutting parameters
- Feed rates
- Clearance height or safe position
- Machine-specific positions, e.g. with M91
- Paths of program calls
Some NC programs depend on the machine kinematics. Adapt these NC programs to your machine kinematics before the first test run.
In addition, test the NC programs using the simulation before the actual program run.
With a program test you determine whether the NC program can be used with the available software options, the active machine kinematics and the current machine configuration.
N110 %:TAB: "TNC:\table\zeroshift.d" | ; Activate datum table |
%:TAB corresponds to the SEL TABLE Klartext syntax.
Selecting a point table
With the %:PAT: NC function, you can activate a point table from within an NC program.
NC programs contained in this User's Manual are suggestions for solutions. The NC programs or individual NC blocks must be adapted before being used on a machine.
- Change the following contents as needed:
- Tools
- Cutting parameters
- Feed rates
- Clearance height or safe position
- Machine-specific positions, e.g. with M91
- Paths of program calls
Some NC programs depend on the machine kinematics. Adapt these NC programs to your machine kinematics before the first test run.
In addition, test the NC programs using the simulation before the actual program run.
With a program test you determine whether the NC program can be used with the available software options, the active machine kinematics and the current machine configuration.
N110 %:PAT: "TNC:\nc_prog\positions.pnt" | ; Activate point table |
%:PAT corresponds to the SEL PATTERN Klartext syntax.
Selecting the point table in the NC program with SEL PATTERN
Selecting an NC program with contour definitions
With the %:CNT: NC function, you can select another NC program with a contour definition from within an NC program.
NC programs contained in this User's Manual are suggestions for solutions. The NC programs or individual NC blocks must be adapted before being used on a machine.
- Change the following contents as needed:
- Tools
- Cutting parameters
- Feed rates
- Clearance height or safe position
- Machine-specific positions, e.g. with M91
- Paths of program calls
Some NC programs depend on the machine kinematics. Adapt these NC programs to your machine kinematics before the first test run.
In addition, test the NC programs using the simulation before the actual program run.
With a program test you determine whether the NC program can be used with the available software options, the active machine kinematics and the current machine configuration.
N110 %:PAT: "TNC:\nc_prog\contour.h" | ; Select NC program with contour definition |
%:CNT corresponds to the SEL CONTOUR Klartext syntax.
Selecting and calling an NC program
With the %:PGM: NC function, you can select another, separate NC program. With the %<>% NC function, you call the selected NC program at a different location in the active NC program.
NC programs contained in this User's Manual are suggestions for solutions. The NC programs or individual NC blocks must be adapted before being used on a machine.
- Change the following contents as needed:
- Tools
- Cutting parameters
- Feed rates
- Clearance height or safe position
- Machine-specific positions, e.g. with M91
- Paths of program calls
Some NC programs depend on the machine kinematics. Adapt these NC programs to your machine kinematics before the first test run.
In addition, test the NC programs using the simulation before the actual program run.
With a program test you determine whether the NC program can be used with the available software options, the active machine kinematics and the current machine configuration.
N110 %:PGM: "TNC:\nc_prog\reset.i" | ; Select NC program |
* - ... | |
N210 %<>% | ; Call the selected NC program |
%:PGM: and %<>% correspond to the SEL PGM and CALL SELECTED PGM Klartext syntax.
Calling an NC program with PGM CALL
Selecting an NC program and calling it with SEL PGM and CALL SELECTED PGM
Defining an NC program as a cycle
With the G: : NC function, you can define another NC program as a machining cycle from within an NC program.
NC programs contained in this User's Manual are suggestions for solutions. The NC programs or individual NC blocks must be adapted before being used on a machine.
- Change the following contents as needed:
- Tools
- Cutting parameters
- Feed rates
- Clearance height or safe position
- Machine-specific positions, e.g. with M91
- Paths of program calls
Some NC programs depend on the machine kinematics. Adapt these NC programs to your machine kinematics before the first test run.
In addition, test the NC programs using the simulation before the actual program run.
With a program test you determine whether the NC program can be used with the available software options, the active machine kinematics and the current machine configuration.
N110 G: : "TNC:\nc_prog\cycle.i" | ; Define NC program as a machining cycle |
G: : corresponds to the SEL CYCLE Klartext syntax.
Defining and calling an NC program as cycle