
3. EXECUTION MACRO
B–62073E–2/03
44
Source program for registration custom macro (P–CODE program) is
programmed by the Custom macro used for FANUC Series 15. But, there
are some limits for execution in Series 15. The P–CODE program custom
macro is described below.
Argument specification is same as in Custom macro used for Series 15.
Macro of P–CODE program call P–CODE program is executed with
“G65” as same as in Custom macro used for Series 15.
G65 P (Program No.) L (Number of repetition) ;
<Argument specification> ;
Expression, argument, etc. of variables are the same as those of Custom
macro used for Series 15.
Note
The local variable to be used by the P–CODE program and
the local variable to be used by the user program are the
same, but note that for the common variable, whether it is
the same or different can be selected by the parameter.
Further, the conversational macro special variables
(#30000–, #40000–) can also be used.
All the custom macro commands which can be commanded in normal
automatic operations can be used. Further, the custom macro commands
which can handle files can be used.
The following kinds of commands, NC commands necessary for
pre–reading or editing the program must not be used.
Complex type canned cycle
Optional angle chamfering/corner R
Diagram dimensions direct input
Custom macro interruption
Override playback
Modal call cannot be made.
3.2
LIMITATION FOR
EXECUTION MACRO
3.2.1
Argument
Specification
3.2.2
Macro call
3.2.3
Variable
3.2.4
Custom Macro
Commands
3.2.5
NC Commands Which
Cannot be Used in
Automatic Operation
3.2.6
Modal Call from
Execution Macro