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
Содержание C200H-MC221 -
Страница 1: ...Cat No W315 E1 03 Motion Control Unit C200H MC221 OPERATION MANUAL ...
Страница 2: ......
Страница 3: ...C200H MC221 Motion Control Unit Operation Manual Details Revised June 2010 ...
Страница 4: ...iv ...
Страница 6: ...vi ...
Страница 10: ......
Страница 12: ......
Страница 16: ...xvi ...
Страница 42: ......
Страница 48: ......
Страница 196: ......
Страница 212: ......
Страница 242: ......
Страница 258: ......
Страница 304: ......