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.

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

 
Machine

Refer to your machine manual.

The machine manufacturer assigns and defines the error numbers up to 999 and from 3000 to 9999.

Preassigned error numbers for FN 14: ERROR

Input

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

Start of syntax for error message output

Number

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.