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

B-63324EN/03 PROGRAMMING 17.CUSTOM MACRO
- 637 -
- Macro program (program called)
O9110;
#1=#4001;............................. Stores G00/G01.
#3=#4003;............................. Stores G90/G91.
#4=#4109;............................. Stores the cutting feedrate.
#5=#5003;............................. Stores the Z coordinate at the
start of drilling.
G00 G90 Z#18; ..................... Positioning at position R
G01 Z#26 F#9;...................... Cutting feed to position Z
IF[#4010 EQ 98]GOTO 1;..... Return to position I
G00 Z#18;............................. Positioning at position R
GOTO 2;
N1 G00 Z#5; ............................... Positioning at position I
N2 G#1 G#3 F#4;......................... Restores modal information.
M99;

Leave a Reply

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