Output error messages with FN 14: ERROR
Application
With the FN 14: ERROR function, you can output error messages under program control. The messages are pre-defined by the machine manufacturer or by HEIDENHAIN.
Related topics
- Error numbers pre-assigned by HEIDENHAIN
- Error messages output with FUNCTION REPORT
- Error messages in the notification menu
Overview of the Machine Parameters, Error Numbers and System Data
The additional documentation Overview of the Machine Parameters, Error Numbers and System Data provides an overview of the following functions:
- Machine parameters of the MPs for setters application
- Preassigned error numbers of the FN 14: ERROR NC function (ISO: D14)
- System data readable with the FN 18: SYSREAD (ISO: D18) and SYSSTR NC functions
ID 1445456-xx
You can download this documentation free of charge from the HEIDENHAIN website.
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 ... 2999 | Control-dependent dialog |
3000 ... 9999 | Machine-dependent dialog |
10 000 and higher | Control-dependent dialog |
Refer to your machine manual.
The error numbers from 0 to 999 as well as those from 3000 to 9999 are defined by the machine manufacturer.
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 |
To navigate to this function:
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 | Syntax initiator for error message output |
Number | Number of the error message Number or numerical parameter |
Note
Please be aware that not all error messages might be available, depending on the control and the software version.