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

14.COMPENSATION FUNCTION PROGRAMMING B-63324EN/03
- 496 -
- When compensation is applied to a rotation axis
In calculation of the fixture offset, the coordinate of the rotation axis on
the workpiece coordinate system is used. If a tool offset or another
offset is applied, the coordinate before the offset is used. If the mirror
image function or scaling function is executed, the coordinate before
the function was executed is used.
- Command for suppressing fixture offset calculation
If the following commands are specified for the rotation axis in the
G54.2 mode, the fixture offset vector is not calculated :
Command related to the machine coordinate system : G53
Command specifying a change of the workpiece coordinate
system : G54 to G59, G54.1, G92, G52
G28, G29, G30, G30.1
- Rotation axis used for fixture offset
The rotation axis used for polar coordinate interpolation (G12.1)
cannot be set as the rotation axis for the fixture offset.
Example
Parameter
Parameter 6068=4 (C-axis)
Parameter 6069=1 (X-axis)
Parameter 6070=2 (Y-axis)
Parameter 6071 to 6076=0
Parameter 1007#0(X)=1 (The offset is valid for the X-axis.)
1007#0(Y)=1 (The offset is valid for the Y-axis.)
6004#1=0 (When bit 1 of parameter 6004 is set to 1, the values in
square brackets ([ ]) are calculated.)
Data of fixture offset 1 (n = 1)
C= 180.0 (reference angle)
X= -10.0
Y= 0.0
When these parameters and data are set, the machine operates as shown
below :
Table14.13 Example of fixture offset
Position on the workpiece
coordinate system
(ABSOLUTE)
Position on the machine
coordinate system
(MACHINE)
Fixture offset
Coordinates
Program
XYCXYCXYC
N1 G90 G00 X0 Y0 C90. ; 0.0 0.0 90.0 0.0 0.0 90.0 0.0 0.0 0.0
N2 G54.2 P1 ; 0.0
[0.0
0.0
-10.0
90.0
90.0]
0.0
[0.0
10.0
0.0
90.0
90.0]
0.0
[0.0
10.0
10.0
0.0
0.0]
N3 G01 X10. Y2. F100. ; 10.0 2.0 90.0 10.0 12.0 90.0 0.0 10.0 0.0
N4 G02 X2. Y10. R10. ; 2.0 10.0 90.0 2.0 20.0 90.0 0.0 10.0 0.0
N5 G01 X0 Y0 ; 0.0 0.0 90.0 0.0 10.0 90.0 0.0 10.0 0.0
:
The values enclosed in brackets ([ ]) apply when bit 1 (FTP) of
parameter No. 6004 is set to 1.