# ID 20083

Write access to tool radius is not allowed with D-code in the same block.
Description | A D word has read access to various tool parameters such as tool length, tool radius, etc. Therefore, the tool radius cannot be written in the same block. This also applies to access using V.G. variables. Example: Wrong: N10 G00 X0 Y0 Z0 N20 D1 V.G.WZ_AKT.R=3

N1000 M30

Correct:

N10 G00 X0 Y0 Z0

N20 D1

N30 V.G.WZ_AKT.R=3

N1000 M30

Response | Class | 2 | Abort NC program processing.
Solution | Class | 3 | Check and adjust NC program sequence. Program D word in the following NC block after the write access.
Error type | 1, Error message from NC program.