101
5-5-23 G72: SUBPROGRAM JUMP
Calls the specified subprogram.
Format G72_<subprogram number>
Parameters The following table shows the possible settings for the parameters.
Parameter Possible settings
Subprogram number P500 to P999
A0000 to A1999
Description This function calls and executes the specified subprogram. Subprograms can
be nested 5 times. An error will occur if a sixth subprogram is called.
If the subprogram number is set to the number of position data, the subprogram
in the position data will be called and executed.
An error will result if the position data does not satisfy the following condition.
500 x Position data x 999
Example Program ::
N010 G72 P500
::
Up to 6 loops can be created by calling subprograms, as shown in the following
diagram.
Up to 5 subprograms are possible.
Counting the main program, up to 6 loops can be created with G70.
5-5-24 G73: SUBPROGRAM END
Ends the subprogram.
Format G73
Parameters None
Description This function ends the subprogram and returns control to the block after the one
that called the subprogram. This function must be programmed at the end of
every subprogram.
Example Program N000 P510 XY
::
::
::
N100 G73
G Functions
Section 5-5