kernelv_ax_acknowledge_ext_latch_command()

Prototype

KERNELV_RETURN

kernelv_ax_acknowledge_ext_latch_command(unsigned long int axIndex);

Description

Acknowledges any pending measuring command to the external measuring hardware. If a command is active and was acknowledged, the return value is the function RET_FINISHED. Otherwise the return value is ERR_NO_DATA.

Parameter

Name

Type

Meaning

axIndex

unsigned long

Index of the axis.

Return values

Symbol

Value

Meaning

RET_FINISHED

0

The function was executed without error.

RET_BUSY

1

The function is currently being executed, but has not yet been completed. The API function must continue to be called.

ERR_INVALID_AX

-9

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_CNC_NO_DATA

-28

The requested data is not available.