# ID 21395

Plane selection during active OTC not allowed.
Description | While OTC function (Online Tool Compensation) is enabled, it is not permitted to make a selection of planes with G17, G18 or G19. Example: Wrong: N10 G00 X0 Y0 Z0 N20 #OTC ON [LENGTH CONT WEAR_CONST_TOOL]

N100 G19

:

N1000 M30

Correct:

N10 G00 X0 Y0 Z0

N20 #OTC ON [LENGTH CONT WEAR_CONST_TOOL]

:

N90 #OTC OFF

N100 G19

:

N1000 M30

Response | Class | 2 | Abort NC program processing.
Solution | Class | 3 | Check and modify the NC program sequence. Deselect the OTC function with #OTC OFF before programming of plane selection.
Parameter | %1: | Error value [-]
Error type | 1, Error message from NC program.