Interpretation of the NC-code

By interpretation, we mean the process of converting the text of a control program, its words and blocks, into CLDATA technological commands, which form the tool path. In the process of interpreting SprutCAM X using the selected interpreter for the machine:

  • sequentially reads the blocks of the NC;

  • using the information about registers received from the interpreter, selects words (or semantic constructions) from the NC-code block or suggests the interpreter to select words independently;

  • passes the words to the interpreter in the order of their location in the block;

  • the interpreter, taking into account the features of the machine, converts the words of the code into CLDATA technological commands, which form the restored tool path.

For a description of the interpreter, see Interpreter structure.

The interaction of SprutCAM X with the interpreter to obtain a secondary (restored) tool path is described in the G-code based program interpretation section.