Fanuc Power Mate i-D/H Operator Manual

PROGRAMMING
(Common to Power Mate i–D and –H)
13. CUSTOM MACRO
B–63174EN/03
130
By setting a G code number used to call a macro program in a parameter,
the macro program can be called in the same way as for a simple call
(G65).
O0001 ;
:
G81 X10.0 Z–10.0 ;
:
M30 ;
O9010 ;
:
:
:
N9 M99 ;
Parameter 6050 = 81
By setting a G code number from 1 to 255 used to call a custom macro
program (9010 to 9019) in the corresponding parameter (6050 to 6059),
the macro program can be called in the same way as with G65.
For example, when a parameter is set so that macro program O9010 can
be called with G81, a user–specific cycle created using a custom macro
can be called without modifying the machining program.
O9010
O9011
O9012
O9013
O9014
O9015
O9016
O9017
O9018
O9019
6050
6051
6052
6053
6054
6055
6056
6057
6058
6059
Program number Parameter number
As with a simple call, a number of repetitions from 1 to 9999 can be
specified at address L.
As with a simple call, two types of argument specification are available:
Argument specification I and argument specification II. The type of
argument specification is determined automatically according to the
addresses used.
In a program called with a G code, no macros can be called using a G code.
A G code in such a program is treated as an ordinary G code. In a program
called as a subprogram with an M code or T code, no macros can be called
using a G code. A G code in such a program is also treated as an ordinary
G code.
13.6.3
Macro Call Using
G Code
Explanations
Correspondence
between parameter
numbers and program
numbers
Repetition
Argument specification
Limitations
Nesting of calls using G
codes

Leave a Reply

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