Special functions

The control provides the following functions:

Syntax

Meaning

D14

D16

D18

D19

Transfer values to the PLC

Transfer values to PLC with FN 19: PLC

D20

D29

D37

D38

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.

 
Tip

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 D14 P01 1000

; Output error message no. 1000

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.

 
Tip

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 D16 P01 F-PRINT TNC:\mask.a / TNC: \Prot1.txt

; Display the output file with D16 on the control screen

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.

 
Tip

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 D18 Q25 ID210 NR4 IDX3

; Save the active dimension factor of the Z axis in Q25

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.

 
Tip

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 D38 /"Q-Parameter Q1: %F Q23: %F" P02 +Q1 P02 +Q23

; Write the values of Q1 and Q23 to the log

D corresponds to the FN Klartext syntax.

The numbers of the ISO syntax correspond to the numbers of the Klartext syntax.

P01, P02 etc. are considered as placeholders (e.g., for arithmetic operators included in the Klartext syntax).

 
Notice
Danger of collision!
Changes to the PLC can result in undesired behavior and serious errors (e.g., the control becomes inoperable). For this reason, access to the PLC is password-protected. The functions D19, D20, D29, and D37 enable HEIDENHAIN, the machine manufacturer, and suppliers to communicate with the PLC from within an NC program. It is not recommended that machine operators or NC programmers use this function. There is a risk of collision during the execution of these functions and during the subsequent machining!
  1. Only use the function in consultation after checking with HEIDENHAIN, the machine manufacturer, or the third-party provider.
  2. Comply with the documentation from HEIDENHAIN, the machine manufacturer, and third-party providers