Tool Center Point Control For 5-Axis Machining Specifications
Tool Center Point Control For 5-Axis Machining Specifications
Tool Center Point Control For 5-Axis Machining Specifications
Specifications
General .............................................................................................................................................................................. 3
Format ............................................................................................................................................................................... 8
Description......................................................................................................................................................................... 9
1.1.1 TOOL CENTER POINT CONTROL OF TOOL ROTATION TYPE MACHINE ............................................................. 13
General ............................................................................................................................................................................ 13
Description....................................................................................................................................................................... 13
1.1.2 TOOL CENTER POINT CONTROL OF TABLE ROTATION TYPE MACHINE ............................................................ 15
General ............................................................................................................................................................................ 15
Description....................................................................................................................................................................... 15
1.1.3 TOOL CENTER POINT CONTROL OF MIXED-TYPE MACHINE ........................................................................... 17
General ............................................................................................................................................................................ 17
Description....................................................................................................................................................................... 17
1.1.4 RESTRICTIONS .......................................................................................................................................... 23
1.1.4.1 Common restrictions........................................................................................................................ 23
1.1.4.2 Restrictions of tool rotation type ...................................................................................................... 26
1.1.4.3 Restrictions of includes table rotation axis machine (table rotation type, mixed-type) .................... 26
1.1.5 ABOUT PARAMETERS ................................................................................................................................. 27
1.1.5.1 About the machine configuration ..................................................................................................... 27
1.1.5.2 Examples of setting parameters ...................................................................................................... 30
1.1.5.3 Parameters ...................................................................................................................................... 36
1.1.6 ALARM AND MESSAGE ............................................................................................................................... 47
NOTE
The length from the tool tip to tool pivot point must equal the sum of
the tool length compensation amount and tool holder offset value.
B
X
Y
C
A
C Y
A
Y’
B Z’
X’
Y’
Z’
X’
Y’
Z’
X’
Machine configuration: The A-axis is a rotary axis for controlling the tool.
The B-axis is a rotary axis for controlling the table.
Program: Created in the "programming coordinate system"
Command start
point
Z’
Programming
coordinate system
Y’
X’
B
Z’
Programming
coordinate system
Y’
X’
Format
G43.4 H ; Starts tool center point control (TYPE1)
Once this command is issued, linear interpolation for the X-, Y-, and Z-axes is issued
in the programming coordinate system. Then, a rotation command for a table or
tool is issued.
The CNC controls the controlled point so that the tool center point moves along the
specified straight line in the programming coordinate system at the same time with
interpolation for the rotary axis.
CAUTION
Tool Center Point control (type2) to specify direction (I,J,K) of the tool
axis cannot be specified on Tool Center Point control for 5-axis
machining. To use this type2, please select past Tool Center Point
control. (Past Tool Center Point control is effective only to the machine
configuration of the tool rotation type)
Controlled point:
Target of control in the
machine coordinate
system
Fig.1.1 (e)
If the table rotary axis moves in the same block as for G43.4 or in a block before
G43.4, the angle of the table rotary axis is used as the initial status of the
programming coordinate system.
Programming
Y 45 coordinate system
Y
Workpiece 0
coordinate 45
system X
X
C
Programming
coordinate system
Y 90 Y
Workpiece
coordinate 45 90
system X
X
45
C
Caution:
The term "C-axis reference position" refers to a position to which
the C-axis moves in such a way that when C** is issued for the
C-axis, graduations ** on the C-axis comes to that position.
Fig.1.1 (f)
- Programmed point
In programming, the position of the tool tip center is specified.
Ball-end mill
Tool tip center
Programmed path
Programmed path
Corner-radius-end mill
Tool tip center
Programmed path
- Commands that can be issued when tool center point control is in use
The commands that can be issued when tool center point control is in use are linear
interpolation (G01) and positioning (G00).
If a linear interpolation command (G01) is issued when tool center point control is in
use, speed control is carried out in such a way that the tool center point can move at
the specified speed.
The speed of the controlled point is displayed as the actual speed.
For positioning (G00), observe the following cautions.
CAUTION
1 Be sure to set the following parameters.
1) Parameter LRP(No.1401#1)=1 : Linear rapid traverse
2) Parameter FRP(No.19501#5)=1 : Acceleration/deceleration
before interpolation is used for rapid traverse.
3) Parameter No.1773 : Acceleration before interpolation for
rapid traverse. (When parameter No.1773 is set to 0,
parameter No.1620 is effective.)
4) Parameter No.1774 : Change time for bell-shaped
acceleration before interpolation for rapid traverse.
(When parameter No.1774 is set to 0, parameter No.1621 is
effective.)
2 If the above settings are not made, or look-ahead
acceleration/deceleration before interpolation is not in effect, an axis
may move faster than the rapid traverse rate.
- Tool offset
If tool life management is in use, tool center point control is carried out using the tool
length compensation value for a tool in use.
Description
- Concrete examples of operations
Explained below is a tool rotation type machine configuration with two tool rotary
axes. (See Fig.1.1 (h).)
If commands for a rotary axis for linear interpolation for the X-, Y-, and Z-axes of the
programing coordinate system fixed at the table are issued, control is performed in
such a way that as the tool rotate, the tool center point moves on a specified straight
line in the programming coordinate system.
Also speed control is performed in such a way that the tool center point moves at the
specified speed in the programming coordinate system.
Sample program 1 :
O100 (Sample Program1) ;
N1 G00 G90 B0 C0 ;
N2 G55 ; Gets the programming coordinate
system ready
N3 G43.4 H01 ; Starts tool center point control.
H01 is a tool compensation number.
N4 G00 X200.0 Y150.0 Z20.0 ; Moves the tool to the start point.
N5 G01 X5.0 Y5.0 Z5.0 C60.0 B45.0 F500; Linear interpolation.
N6 G49 ; Cancels tool center point control.
N7 M30;
Z’
Y’
X’
Z’
Y’
X’
Z’
Y’
X’
Fig.1.1 (g)
Description
- Concrete examples of operations
One of the examples explained below uses two table rotary axes. The other example
uses one table rotary axis and one tool rotary axis.
If a command for a rotary axis for moving a rotary table and a command for linear
interpolation for the X-, Y-, and Z-axes of the table coordinate system fixed at the
rotary table are issued, control is performed in such a way that as the rotary table
rotates, the tool center point moves on a specified straight line in the programming
coordinate system.
Also speed control is performed in such a way that the tool center point moves at the
specified speed in the programming coordinate system.
Sample program 2 :
O200 (Sample Program2) ;
N1 G00 G90 A0 B0 ;
N2 G55 ; Gets the programming coordinate
system ready.
N3 G43.4 H01 ; Starts tool center point control.
H01 is a tool compensation number.
N4 G00 X20.0 Y100.0 Z0 ; Moves the tool to the start point.
N5 G01 X10.0 Y20.0 Z30.0 A60.0 B45.0 F500 ; Linear interpolation.
N6 G49; Cancels tool center point control.
N7 M30;
A
Y’
B Z’
X’
Y’
Z’
Controlled point path
X’ (in the machine coordinate system)
Y’
Z’
X’
Y’
Z’
X’
Y’
Z’
Y’ X’
Z’
X’
Fig.1.1 (h)
Description
- Concrete examples of operations(1)
Explained below is a mixed-type machine configuration with one table rotary axis (X-
axis) and one tool rotary axis (Y-axis). (See Fig.1.1 (i).)
If commands for a rotary axis for moving a rotary table and for a tool rotary axis and
a command for linear interpolation for the X-, Y-, and Z-axes of the table coordinate
system fixed at the rotary table are issued, control is performed in such a way that as
the rotary table and tool rotate, the tool center point moves on a specified straight
line in the programming coordinate system.
Also speed control is performed in such a way that the tool center point moves at the
specified speed in the programming coordinate system.
Sample program 3 :
O300 (Sample Program3) ;
N1 G00 G90 A0 B0 ;
N2 G55 ; Gets the programming coordinate
system ready
N3 G43.4 H01 ; Starts tool center point control.
H01 is a tool compensation number.
N4 G00 X200.0 Y150.0 Z20.0 ; Moves the tool to the start point.
N5 G01 X5.0 Y5.0 Z5.0 A60.0 B45.0 F500; Linear interpolation.
N6 G49 ; Cancels tool center point control.
N7 M30;
Z’
Y’
Z’
X’
Y’ A
X’
Z’
Y’
Z’
Y’ X’
X’
Y’
Z’
Z’
X’
Y’
Fig.1.1 (i)
Sample program 4 :
O400 (Sample Program4) ;
N10 G55 ; Gets the programming coordinate system ready
N20 G90 X50.0 Y-70.0 Z300.0 B0 C0 ; Moves the tool to the initial position.
N30 G01 G43.4 H01 Z20.0 ; Starts tool center point control.
Moves the tool to an approach position.
H01 is a tool compensation number.
N40 X28.868 Y-50.0 Z10.0 B30.0 ; Set the height of the surface to be cut to 10.0
mm along the Z-axis.
N50 Y50.0 ;
N60 B45.0 C120.0 ;
N70 X-57.735 Y0 B60.0 C180.0 ; Moves the tool along the X- and Y-axes while
keeping the B- and C-axes operating.
N80 C240.0 ;
N90 X28.868 Y-50.0 ;
N100 X50.0 Y-70.0 Z20.0 B0 C360.0 ; Set the X, Y, and Z coordinates of the approach
position.
Moves the rotary axes to the previous position.
N110 G49 Z300.0 ; Cancels tool center point control.
Moves the tool to the initial position along the Z-
axis.
N120 M30;
Mixed type (B-axis as the tool rotary axis, C-axis as the table
rotary axis, and tool axis in the Z direction)
B-axis rotation
center B
Z
C-axis rotation
G55 workpiece coordinate center
system
X
Y
Fig.1.1 (j)
(X28.868,Y-50.0)
(X28.868,Y50.0)
(B 30.0) (B 30.0)
(C 120.0) (C 0)
(B 45.0) (B 60.0)
(C 240.0)
(B 60.0)
X
(B 60.0)
(X-57.735,Y0) Y
Fig.1.1 (k)
(B 0)
Behavior of the controlled
point (machine coordinates)
(B 30.0) (B 30.0)
X (C 0)
Behavior of the
tool center point
Y
N60 block
(C 120.0) (B 30.0)
(C 0)
(B 60.0)
The C-axis rotates to
C180 degrees.
(C 180.0)
N70 block
(B 45.0)
(C 120.0)
Fig.1.1(k) (1)
(B 60.0)
N80 block
(C 240.0)
(C 120.0)
(B 60.0) (B 60.0)
(B 0)
N100 block
(C 360.0)
- Deceleration at a corner
When tool center point control is in use, the controlled point may move on a curved
line even if a straight-line command is issued. Some commands may cause the tool
center point to make a sharp turn.
For this reason, the tool may be decelerated if a low value is set as a permissible
speed difference (parameter No. 8410) or a permissible acceleration (parameter No.
8470) for a corner.
- Reset
When Tool Center Point control for 5-axis machining mode(G43.4) is reseted , the
mode is always canceled (G49).
- Restriction of commands
The following functions can be used but the state can not be changed in tool center
point control mode.
- Unusable functions
Do not use the following functions in tool center point control mode.
- Custom macro B
- Macro executor (Execution macro)
- The following group 01 G functions
Helical interpolation, Conical interpolation -G02,G03
Exponential interpolation -G02.3,G03.3
- High speed machining -G05 (G05P10000 and G05P0 is
excluded))
- AI countor control / AI NANO countor control -G05.1Q1, G05.1Q0
- Hypothetical axis interpolation -G07
- Cylindrical interpolation -G07.1
In the mode for this function, the following functions cannot be used, The
alarm(P/S5196) is issued when the following functions are used. :
- Manual interruption operation
- Tool retract and recover
The following functions can not be used in tool center point control mode.
・ Twin table control
・ Flexible synchronous control
・ Sequence number comparison and stop
It is not possible to stop by the sequence number in tool center point control
mode.
・ Index table indexing
・ Retrace function
Do not use retrace function in the program which uses tool center point control
mode.
・ Rotary axis control
・ Gentle curve normal direction control
・ Tool life management
Tool life value is counted in tool center point control mode. However , do not use
the command related to the tool life management function.
・ Manual handle interruption
・ External deceleration ( external deceleration is not effected )
- Other Restrictions
When the following function is used, tool center point control cannot be used.
・ Angular axis control
・ Arbitary angular axis control
- Functions resulting in the same operation as tool length compensation in tool axis direction
When the following functions are used in tool center point control mode, the same
operation as tool length compensation in tool axis direction results:
-Specification of an axis not related to tool center point control
-The following G functions of group 01:
Circular interpolation, Spiral interpolation -G02, G03
Involute interpolation -G2.2, G3.2
Three-dimensional circular interpolation -G2.4, G3.4
-Inverse time feed -G93
- Unusable functions
In tool center point control mode, the functions listed below cannot be used.
If these functions are used, the compensation vector of the previous block is used as
is. (The rotation axis cannot be specified.)
-The following G functions of group 01:
Smooth interpolation -G05.1Q2
NURBS interpolation -G06.2
1.1.4.3 Restrictions of includes table rotation axis machine (table rotation type,
mixed-type)
- Unusable functions
In the machine configuration which includes the table rotation axis, do not use the
following functions in tool center point control mode, because they do not work
normally.
-Specification of an axis not related to tool center point control
-The following G functions of group 01:
Circular interpolation, Spiral interpolation -G02, G03
Involute interpolation -G2.2, G3.2
Three-dimensional circular interpolation -G2.4, G3.4
Smooth interpolation -G05.1Q2
NURBS interpolation -G06.2
-Inverse time feed -G93
B axis = slave
= second axis
A axis = master
= first axis
Fig.1.1 (l)
The rotation center axis for the master is called the first rotary axis, while the rotation
center for the slave is called the second rotary axis. (Fig.1.1 (l))
Machine in which the table rotary axes do not cross each other
Y
B-axis = 0 degrees
Machine
Z
coordinate
system
A-axis
= 0 degrees
Fig.1.1 (m)
Tool axis
Fig.1.1 (n)
Zm
C
Ym
Xm
B
Intersection offset vector between the
second and first rotary axes of the tool
(PRM19712,19713,19714)
In the tool rotation type machine shown above, if the machine coordinate system for
rotary axes B and C is at 0 degrees, assume:
Intersection offset vector between the tool axis and the second tool rotary axis = (5.0,
0, 3.0)
Intersection offset vector between the second and first rotary axes of the tool = (3.0,
3.0, 8.0)
Tool holder offset value = 2.0
The settings of the parameters for the tool rotation type machine stated above are as
follows:
This is an example of setting parameters for the table rotation type machine shown
below.
Rotary axis A is the table rotary axis (master) on the X-axis.
Rotary axis B is the table rotary axis (slave) on the Y-axis.
Zm B
Xm
In the table rotation type machine shown above, if the machine coordinate system
for rotary axes A and B is at 0 degrees, assume:
Rotary table position = (-10.0, -30.0, 0)
Intersection offset vector between the first and second rotary axes of the table = (0,
8.0, 8.0)
Tool holder offset value = 2.0
The settings of the parameters for the table rotation type machine stated above are
as follows:
Mixed-type machine
Zm B
Ym
Xm
In the mixed-type machine shown above, if the machine coordinate system for rotary
axis B is at 0 degrees, assume:
Rotary table position = (5.0, 2.0, -15.0)
Intersection offset vector between the tool axis and the tool rotary axis = (3.0, 0, 2.0)
Tool holder offset value = 2.0
The settings of the parameters for the mixed-type machine stated above are as
follows:
NOTE
Count also hypothetical axis as a rotary axis to be controlled
<About the hypothetical axis>
In some cases, it is convenient to use an imaginary rotary axis
whose angle is fixed at a certain value.
An example of these cases might be a case in which a tool is
mounted through an attachment in a slanted manner.
In this case, the imaginary axis is the hypothetical axis.
Parameter No.19696#0,#1,#2 specify whether the corresponding
axes are ordinary or hypothetical axes.
2
Y
X Parameter No.19682
#7 #6 #5 #4 #3 #2 #1 #0
19696 IA2 IA1
#1 IA2
0: The second rotary axis is an ordinary rotary axis.
1: The second rotary axis is a hypothetical rotary axis.
In this case, reset the controlled axis number for the second rotary axis (parameter
No. 19686) to 0. Also set parameter No. 19687 to No. 19690 on the assumption that
there is a rotary axis.
Y
The tool axis direction is
the +X-axis direction.
19698 Angle when the standard tool axis direction is tilted (reference angle RA)
19699 Angle when the standard tool axis direction is tilted (reference angle RB)
Z Z Z
Y Y Y
X X X
R R
19700 Rotary table position (X-axis, one of the basic three axes)
19701 Rotary table position (YX-axis, one of the basic three axes)
19702 Rotary table position (Z-axis, one of the basic three axes)
CAUTION
Select, as point A, a position on the first rotary axis of the table where
measurement is easy.
19704 Intersection offset vector between the first and second rotary axes of the
table (Y-axis, one of the basic three axes)
19705 Intersection offset vector between the first and second rotary axes of the
table (Z-axis, one of the basic three axes)
CAUTION
Select, as point B, a position on the second rotary axis of the table where
measurement is easy.
Y
Second rotary axis of the table
= PRM19686 X
Machine
Z coordinate
B system
Intersection vector between the first and Position of the rotary table
second rotary axes of the table = PRM19700,19701,19702
= PRM19703,19704,19705
19710 Intersection offset vector between the tool axis and the first rotary axis of
the tool (Y-axis, one of the basic three axes)
19711 Intersection offset vector between the tool axis and the first rotary axis of
the tool (Z-axis, one of the basic three axes)
CAUTION
Point D is a point from the tool center point obtained by taking the tool
length offset and tool holder offset (parameter No. 19666) into account.
Select, as point E, a position where measurement is easy.
19713 Intersection offset vector between the first and second rotary axes of the
tool (Y-axis, one of the basic three axes)
19714 Intersection offset vector between the first and second rotary axes of the
tool (Z-axis, one of the basic three axes)
CAUTION
Select, as point F, a position where measurement is easy.
Controlled point
#7 #6 #5 #4 #3 #2 #1 #0
19608 DET