kernelv_get_error_reaction()

Prototype

signed short int

kernelv_get_error_reaction(void);

Description

Returns the error reaction class of an error message previously read by kernelv_read_error(). If no error message was read or there is no current error message, the value -1 is returned.

Parameter

-

Return values

Type: signed short int

-1 if there is no current error message; otherwise the error reaction class (see also [DIAG]).

Error reaction class

Internal error reaction

1

No reaction.

Only possible in the event of a warning (error class 1).

2

NC program execution aborted and transition to error state.

If an error occurs in the NC block preparation area, the interpolator executes the NC blocks that have already been prepared. In this case, the time between the occurrence of the error and machine standstill depends on the type and number of buffered NC blocks. The BF reporting the error assumes an error state.

3

Job execution aborted and transition to normal state.

After an error message, BFs that provide services for other BFs (servers), for example AXIS ADMINISTRATION, FILE ADMINISTRATION, MANUAL MODE, etc., abort job execution and return to normal state.

4

Motion stopped (feedhold) for the entire axis group and transition to error state.

5

Abrupt axis stop for defective axis, feedhold for the other axes in the axis group and transition to an error state.

6

Abrupt axis stop for all axes and transition to an error state.

Position control assumes an error state.

7

Closed–loop controlled axis stop for defective axis, feedhold for the other axes in the axis group and transition to an error state.

8

Open–loop controlled axis stop for defective axis, feedhold for the other axes in the axis group and transition to an error state.

The position control loop of the defective axis is opened.