ID 22128

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

Description

No spline mechanism may be active before an #RT WHILE is programmed.

For example, a spline mechanism can be activated with the NC commands #SPLINE ON, #HSC ON, G151 or G261.
The corresponding NC commands to deselect the function in each case is #SPLINE OFF, #HSC OFF, G150 or G260.

 

Example with error:

N100 #SPLINE ON

N110 #RT WHILE

N120 G01 X10

N130 G01 Y10

N140 G01 X0

N150 G01 Y0

N160 #SPLINE OFF

N170 #RT ENDWHILE

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.
Possible solutions:

  • Deselect the spline with the corresponding NC command paired with the selection before #RT WHILE
  • Select the splined after #RT WHILE (see corrected example)

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.