Fanuc Series 15i/150i-MA (Programming) Operators Manual

B-63324EN/03 PROGRAMMING 17.CUSTOM MACRO
- 649 -
17.6.13 Subprogram Calls Using a 2nd Auxiliary Function Code
By enabling subprograms (macro program) to be called with a 2nd
auxiliary function code in a parameter, a macro program can be called
each time the 2nd auxiliary function code is specified in the machining
program.
Explanation
- Call
By setting bit 2 of parameter BCS No.7000 to 1, the macro program
O9028 can be called when a 2nd auxiliary function code is specified in
the machining program. A 2nd auxiliary function code specified in a
machining program is assigned to common variable #146.
Limitation
In a macro called with a G code or in a program called with an M, S, T,
2nd auxiliary function code when parameter GMP (No.7000#5) is 1. no
subprograms can be called using a 2nd auxiliary function code. A 2nd
auxiliary function code in such a macro or program is treated as an
ordinary 2nd auxiliary function code.
O0001 ;
:
B23 ;
:
M30 ;
O9028 ;
:
:
:
M99 ;
Parameter @No.7000#2=1

Leave a Reply

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