# ID 21509

In NC block #ADD must be the last NC command.
Description | Other NC commands (e.g. G functions, axis positions, variables, etc.) can be programmed in the NC block before the command #ADD [...] but not after it.
Response | Class | 2 | Abort NC program processing.
Solution | Class | 3 | Check and modify NC program.. Change the NC block in a way, that #ADD [...] always is the last command in the sequence. Example: Wrong: % main N10 G00 X0 Y0 Z0

N20 X100 #ADD["ID123"] Y200

N30 Z100

:

N1000 M30

Correct:

% main

N10 G00 X0 Y0 Z0

N20 X100 Y200 #ADD["ID123]

N30 Z100

:

N1000 M30

Error type | 1, Error message from NC program.