ID 22129

Spline is active at end of #RT WHILE/ENDWHILE sequence.

Description

A spline mechanism was activated within a #RT WHILE/ ENDWHILE area. This must be deactivated before #RT ENDWHILE.

For example, a spline mechanism can be activated with the NC commands #SPLINE ON, #HSC ON or G151. The deactivating NC commands are #SPLINE OFF, #HSC OFF and G150.

 

Example with error:

N100 #RT WHILE

N110 #SPLINE ON

N120 G01 X10

N130 G01 Y10

N140 G01 X0

N150 G01 Y0

N160 #RT ENDWHILE

N170 #SPLINE OFF

Corrected example:

N100 #RT WHILE

N110 #SPLINE ON

N120 G01 X10

N130 G01 Y10

N140 G01 X0

N150 G01 Y0

N160 #SPLINE OFF

N170 #RT ENDWHILE

Response

Class

2

Abort NC program processing.

Solution

Class

3

Check and modify the NC program.
Deselect the spline mechanism before #RT ENDWHILE

Parameter

%1:

Block number [-]

Block number of the #RT WHILE command where a spline mechanism is active.

Error type

1, Error message from NC program.