5 - 4 en-938872/2
A subroutine call by a Gxxx function without arguments is ignored by the system. The
arguments are interpreted by the %10xxx subroutine called.
The subroutines called by G functions must therefore have visibility into the pro-
gramme context and all the functions programmed in the calling block.
Execution of a subroutine called by a G function cannot be interrupted by an
«immediate» request in the edit mode (EDIT).
A subroutine called by a G function cannot itself call another subroutine by a G
function. However, nesting with another type of call is possible (call by M function or
machine processor), but two calls of the same type can in no case be nested.
Functionalities Used in %10xxx Subroutines
- Functions G997, G998 and G999,
- Programme variables L900 to L925 and L926 to L951,
- External parameters E,
- Symbolic variables,
- Programme status access symbols.
A call to a subroutine by a G function implicitly sets function G999 (execution
suspended and block concatenation forced). This function has to be cancelled by
programming functions G998 and/or G997 set in the subroutine.
During the return to the part programme, state G999 is systematically reset as long
as the subroutine calling function (Gxxx) remains present and active (no G80).
For additional information on functions G997, G998 and G999, refer to the programming
manuals for:
- Milling (938819),
- Turning (938820).