# ID 21389

Parameterization not permitted when OTC is active.
Description | The parameterization of the OTC function (Online Tool Compensation) may only take place before or simultaneously with the selection #OTC ON [...]. If OTC is already active, do not change the parameter settings any more. Example: Wrong: N05 G01 X100

N10 #OTC ON

N15 #OTC [LENGTH CONT WEAR_CONST_TOOL]

or

N10 #OTC ON [LENGTH CONT WEAR_CONST_TOOL]

N15 #OTC [LENGTH AUTO WEAR_CONST_TOOL]

N20 G01 X200

:

N900 #OTC OFF

N1000 M30

Correct:

N05 G01 X100

:

N10 #OTC [LENGTH CONT WEAR_CONST_TOOL]

N15 #OTC ON

or

N10 #OTC ON [LENGTH CONT WEAR_CONST_TOOL]

:

N20 G01 X200

:

N900 #OTC OFF

N1000 M30

Response | Class | 2 | Abort NC program processing.
Solution | Class | 3 | Check and modify NC program. Adapt the sequence of parameterisation and selection of OTC.
Error type | 1, Error message from NC program.