Programming manual
CNC 8070
CREATING A PROGRAM
Parameters, constants and expressions
1.
(SOFT V02.0X)
15
Parameters in the subroutines
The defined subroutines may be called upon from the main program
or from another subroutine; they may in turn call a second one, the
second one may call a third one, and so on. The CNC limits this calls
to a maximum of 20 nesting levels.
Local parameters
The CNC has global parameters (accessible from the program or any
subroutine) and local parameters (accessible only from the program
or subroutine where they have been programmed).
Local parameters may be assigned to more than one subroutine up
to 7 parameter nesting levels within the 20 subroutine nesting levels.
Not all the subroutine call types change the nesting level; only the
#PCALL, #CALL, calls and functions G180 to G189.
Global parameters
Global parameters will be shared by the program and the subroutines
of the channel. They may be used in any block of the program and of
the subroutine regardless of the nesting level they may be at.
Common parameters
Common parameters will be shared by the program and the
subroutines of any channel. They may be used in any block of the
program and of the subroutine regardless of the nesting level they may
be at.