Struct KERNELV_NC_LINE_DATA

Description

The structure contains information about the NC program lines executed in the current cycle.

Memory orientation

The individual structure elements are packed in the memory.

Element

Type

Meaning

fileoffset

unsigned long int

File offset of the lines in the NC program

ncLineNumber

unsigned long int

NC line number of the line. The line number defined in the NC program (N followed by a numeric value) is returned. If no NC line number was specified in the executed line, the last programmed line number is returned.

filename

char[KERNELV_FILE_NAME_LENGTH + 1]

File name of the NC program that is currently executed.