G72: Subprogram Jump; G73: Subprogram End - Omron C200H-MC221 Operation Manual

Motion control unit
Hide thumbs Also See for C200H-MC221:
Table of Contents

Advertisement

G Functions

5-5-23 G72: SUBPROGRAM JUMP

Format
Parameters
Description
Example Program

5-5-24 G73: SUBPROGRAM END

Format
Parameters
Description
Example Program
Calls the specified subprogram.
G72_<subprogram number>
The following table shows the possible settings for the parameters.
Parameter
Subprogram number
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
:
N010
G72
:
Up to 6 loops can be created by calling subprograms, as shown in the following
diagram.
Counting the main program, up to 6 loops can be created with G70.
Ends the subprogram.
G73
None
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.
N000
P510
:
:
:
N100
G73
P500 to P999
A0000 to A1999
:
P500
:
Up to 5 subprograms are possible.
XY
:
:
:
Section 5-5
Possible settings
101

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents