kernelv_do_cycle()

Prototype

KERNELV_RETURN

kernelv_do_cycle();

Description

Computes one simulation CNC cycle.
The cycle time transferred as a parameter at the start is used for the 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

None

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 licence was found for the use of the kernelv DLL.