# Implicit global subroutine call at program end

The same recurring actions (e.g. deselecting transformations, offsets, functions etc.) must often be executed at the end (M02, M30) of different NC main programs. If these initialisations are summarised in a global subroutine, this program can be executed implicitly with the channel parameter P-CHAN-00252 before M02 or M30. before M02 or M30.

The full scope of NC programming functions can be used in this global subroutine. This means that it behaves in the same way as a subroutines call with the L word in the main NC program.

## Notice

This mechanism is primarily intended for initialisation, definition and presetting of offsets, G functions, parameter values, variables etc. Specific machining processes should not be programmed here.