Acknowledgement of technology functions

Technology functions (such as M or H functions) are used to exchange information between the NC program and the software components in the environment (such as PLC) during a real CNC control.

This includes the actual technology information output by the CNC as well as acknowledgements transferred by the software components in the environment to the CNC to synchronise program sequences within and outside of the CNC. When an NC program is processed, these synchronisations can lead to delays in the processing of the NC program.

Default behaviour

All technology functions output are immediately automatically acknowledged by the kernelV-DLL.

Execution time simulation

For the execution time to be taken into account in the execution of an NC program, the API function kernelv_control_techno_func_duration() can be used to activate the execution time simulation for the technology functions..

When the execution time simulation is activated, technology functions are automatically acknowledged after an adjustable time period.

The execution time can be set by means of the kernelv_ch_set_techno_func_duration() function or by means of entries in the channel parameter list (Time-out and process times of M functions (P-CHAN-00040), Time-out / process times of H functions (P-CHAN-00026)).

User acknowledgement

By means of the user acknowledgement, the user himself has full control over the time of acknowledgement of the technology function.

For this purpose, the execution time simulation must first be acknowledged by invoking the function kernelv_control_techno_func_duration().

Technology functions for which user acknowledgement is to be activated must be marked using the function kernelv_ch_set_techno_func_user_ackn(). All other technology functions are acknowledged after the respective execution time is over.

The functions kernelv_ch_get_new_techno_data() or kernelv_ax_get_new_techno_data() have to be invoked to check if the respective technology function has been output.

At the time of acknowledgement, the technology function must be acknowledged by invoking the function kernelv_ch_ackn_techno_func() or kernelv_ax_ackn_techno_func().