With the FN 14: ERROR function, you can output error messages under program control. The messages are predefined by the machine manufacturer or by HEIDENHAIN.
Application
Related topics
- Error numbers pre-assigned by HEIDENHAIN
- Error messages in the notification menu
Preassigned error numbers for FN 14: ERROR
Message menu on the information bar
Description of function
If, during program run or during simulation, the control executes the FN 14: ERROR function, it will interrupt program run and display the defined message. You must then restart the NC program.
You define the error number for the desired error message.
The error numbers are grouped as follows:
Error number range | Error message |
---|---|
0 ... 999 | Machine-dependent dialog |
1000 ... 1199 | Control-dependent dialog |
Input
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.
11 FN 14: ERROR=1000 | ; Output error message with FN 14 |
Insert NC function All functions FN Special functions FN 14 ERROR
The NC function includes the following syntax elements:
Syntax element | Meaning |
---|---|
FN 14: ERROR | Start of syntax for error message output |
1000 | Number of the error message Fixed or variable number |
Note
Please be aware that not all error messages might be available, depending on the control and the software version.