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

14.COMPENSATION FUNCTION PROGRAMMING B-63324EN/03
- 474 -
- Repetitive commands for coordinate system rotation
It is possible to store one program as a subprogram and recall
subprogram by changing the angle.
Sample program for when the RIN bit (bit 0 of parameter 6400) is set to
1.
The specified angular displacement is treated as an absolute or
incremental value depending on the specified G code (G90 or G91).
<Sample program>
G92 X0 Y0 G69 G17 ;
G01 F200 H01 ;
M98 P2100 ;
M98 P2200 L7;
G00 G90 X0 Y0
M30 ;
O2200 G68 X0 Y0 G91 R45.0 ;
G90 M98 P2100 ;
M99 ;
O2100 G90 G01 G42 X0 Y-10.0 ;
X4.142 ;
X7.071 Y-7.071 ;
G40 ;
M99 ;
Programmed path
When offset is applied
(0,0)
(0, |10.0)
Subprogram
Fig.14.10 (e) Coordinate system rotation command

Leave a Reply

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