Fanuc Power Mate i-D/H Operator Manual

PROGRAMMING
(Common to Power Mate i–D and –H)
B–63174EN/03
13. CUSTOM MACRO
133
By enabling subprograms (macro program) to be called with a T code in
a parameter, a macro program can be called each time the T code is
specified in the machining program.
O0001 ;
:
T23 ;
:
M30 ;
O9000 ;
:
:
:
M99 ;
Bit 5 of parameter No.6001 = 1
By setting bit 5 of parameter No.6001 to 1, the macro program O9000 can
be called when a T code is specified in the machining program. A T code
specified in a machining program is assigned to common variable #149.
In a macro called with a G code or in a program called with an M or T code,
no subprograms can be called using a T code. A T code in such a macro
or program is treated as an ordinary T code.
13.6.6
Subprogram Calls
Using a T Code
Explanations
Call
Limitations

Leave a Reply

Your email address will not be published. Required fields are marked *