kernelv_ax_get_techno_data()
Prototype
KERNELV_RETURN | AxGetTechnoData(uint axIndex, out List<KERNELV_TECHNO_DATA> technoDataList); |
Description
Returns the technology functions (M/H functions) acknowledged for the specified axis during the last call of kernelv_do_cycle().
Parameter
Name | Type | Meaning |
axIndex | uint | Index of the axis. |
technoDataList | out List<KERNELV_TECHNO_DATA> | List of technology data structures received. |
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. |
ERR_CNC_RET_MEMORY | -4 | The return value(s) does/do not fit into the memory provided. The number of bytes required is returned in the returnLength parameter. |
ERR_INVALID_AX | -9 | The transferred axis index is higher than the number of configured axes –1 |