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

PROGRAMMING
B–62754EN/01
15. COMPENSATION FUNCTION
273
Coordinate rotation can be repeated by calling a registered subprogram
more than once, but with increasingly greater rotation angles.
Programmed tool path
Tool path with an
offset
(0, 0)
(0, –10.0)
Subprogram
Set bit 0 (RIN) of parameter No. 5400 to 1 to specify the rotation
angle as being incremental. (G code A, radius programming along
the X–axis)
G50 X0 Z0 G18 ;
G01 F200 T0101 ;
M98 P2100 ;
M98 P2200 L7 ;
G00 X0 Z0 M30 ;
O2200 ;
G68.1 X0 Z0 R45.0 ;
G90 M98 P2100 ;
M99 ;
O2100 ;
G01 G42 X–10.0 Z0 ;
X–10.0 Z4.142 ;
X–7.071 Z7.071 ;
G40 M99 ;
D Repetitive coordinate
rotation

Leave a Reply

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