kernelv_do_cycle()
Prototype
KERNELV_RETURN (int) | do_cycle(vnck: ctypes.CDLL); |
Description
Computes one simulation CNC cycle.
The cycle time transferred as a parameter at the start is used for internal calculations. If an error should occur in the simulation CNC, it can be checked by the kernelv_get_error () function and the error message string can be read out.
Parameter
Name | Type | Meaning |
vnck | ctypes.CDLL | Instance of the loaded KernelV DLL. |
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_NO_LICENSE | -17 | No license was found for the use of the kernelv DLL. |