FANUC Series 16/18/160/180-Model C for Lathe Operator Manual

PROGRAMMING
16. CUSTOM MACRO
B–62754EN/01
301
This program makes a groove at a specified position.
U
G66 P9110 Uu Ff ;
U: Groove depth (incremental specification)
F : Cutting feed of grooving
O0003 ;
G50 X100.0 Z200.0 ;
S1000 M03 ;
G66 P9110 U5.0 F0.5 ;
G00 X60.0 Z80.0 ;
Z50.0 ;
Z30.0 ;
G67 ;
G00 X00.0 Z200.0 M05 ;
M30;
O9110 ;
G01 U–#21 F#9 ;
Cuts the workpiece.. . . . . . . . . . . . . . . . . . . . . . . . . . .
G00 U#21 ; Retracts the tool.. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
M99 ;
Sample program
D Calling format
D Program that calls a
macro program
D Macro program
(program called)

Leave a Reply

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