kernelv_get_cycletime()

Prototype

[ret, cycle_time]

get_cycletime(vnck: ctypes.CDLL);

Description

Reads the CNC cycle time.

Parameter

Name

Type

Meaning

vnck

ctypes.CDLL

Instance of the loaded KernelV DLL.

Return values

Name

Type

Meaning

ret

KERNELV_RETURN (int)

Return value of the native integrated C function.

cycle_time

int (unsigned)

Cycle time in us.

KERNELV_RETURN

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.