kernelv_get_axis_count()

Prototype

KERNELV_RETURN

kernelv_get_axis_count (unsigned long int* axisCount);

Description

Reads the number of configured axes of the CNC controller.

An error code is returned if the function is called while the CNC kernel has not yet started.

Parameter

Name

Type

Meaning

axisCount

unsigned long*

Pointer to the memory for the number of axes to be returned.

Return values

Symbol

Value

Meaning

RET_FINISHED

0

The function was executed without error.

ERR_CNC_NOT_INIT

-3

The simulation CNC kernel was not yet initialised.