Selection functions

Calling an NC program

With the % NC function, you can call another, separate NC program from within an NC program.

N110 %TNC:\nc_prog\reset.i

; Call NC program

% corresponds to the CALL PGM Klartext syntax.

Call the NC program with CALL PGM

Activating a datum table in the NC program

With the %:TAB: NC function, you can activate a datum table from within an NC program.

N110 %:TAB: "TNC:\table\zeroshift.d"

; Activate datum table

%:TAB corresponds to the SEL TABLE Klartext syntax.

Activating the datum table in the NC program

Selecting a point table

With the %:PAT: NC function, you can activate a point table from within an NC program.

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.

N110 %:PAT: "TNC:\nc_prog\contour.h"

; Select NC program with contour definition

Graphical programming

%:CNT corresponds to the SEL CONTOUR Klartext syntax.

Selecting an NC program with contour definition

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.

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.

Call the NC program with CALL PGM

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.

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