kernelv_ax_ackn_techno_func()

Prototype

KERNELV_RETURN

kernelv_ax_ackn_techno_func(unsigned long int axIndex,
                                                 E_KERNELV_TECHNO_TYPE type,
                                                 unsigned long int number);

Description

Acknowledges a technoogy function for which the user acknowledgement was activated.

If the specified technology function is not open (acknowledgement pending), the return value ERR_TECHNO_NOT_FOUND is returned, otherwise RET_FINISHED.

Parameter

Name

Type

Meaning

axdex

unsigned long int

Axis index.

type

E_KERNELV_TECHNO_TYPE

Type of technology function to be acknowledged.

number

unsigned long int

Number of the technology function.

Return values

Symbol

Value

Meaning

RET_FINISHED

0

The technology function was acknowledged.

ERR_INVALID_CHAN

-1

The transferred axis index is higher than the number of configured axes -1

ERR_CNC_NOT_INIT

-3

The simulation CNC kernel was not yet initialised.

ERR_TECHNO_NOT_
FOUND

-29

The specified technology function was not found.