NC block numbers (N)

The NC block number can be programmed with the address letter "N". If configured, this number is entered both in the display data as well as in the error messages (alternatively the offset value in the file can also be used for this purpose).

N..

The block number can be programmed using general mathematical expressions. In particular, this permits value assignment by parameters e.g. the run parameter in program loops. The calculated numerical value is automatically rounded off internally and converted into an integer.

Programing Example

prg_example

NC block numbers (N function)

N10 G01 X200 F500

N20 $FOR P1=1, 10, 1

N[P1*100] XP1

.

.

N30 $ENDFOR

For program flow, the block number has no significance. Therefore, it need not be used in ascending form.