Struct KERNELV_DECODER_POSITION_HEADER

Description

the structure contains general data about the axis positions read by the decoder.

When the function kernelv_ch_get_decoder_positions() is called, a structure of type KERNELV_DECODER_POSITION_HEADER is first returned. This is followed by a structure of type KERNELV_DECODER_POSITION_DATA for each axis present in the channel.

Memory orientation

The individual structure elements are packed in the memory.

Element

Type

Meaning

data_valid

unsigned char

Validity identifier for the following data.

line_number

unsigned long int

NC line number.

Block_count

unsigned long int

Block counter.

axis_count

unsigned short int

Number of axes in the channel, number of the following structures of type KERNELV_DECODER_POSITION_DATA.