Okuma OSP 5 Axis Training
Okuma OSP 5 Axis Training
OSP-P300S
OSP-P300M
MU-V Series
5-axis machining training textbook
Extracted from Pub.No.GO02-410-R1 MAY.2015
Table of contents
Chapter 1 Introduction················································································································· 1
1. What is 5-axis? ················································································································ 1
2. Types of 5-axis machining center ····················································································· 2
3. Types of MU series ··········································································································· 3
4. Features of 5-axis machining ···························································································· 4
Table of contents
-I-
Chapter 4 How a CAM system is utilized in processes ······························································· 34
1. From CAD/CAM to cutting process ················································································ 34
Table of contents
-II-
Chapter 1 Introduction
1. What is 5-axis?
Call the rotary axes A/B/C that rotates around the linear axes X/Y/Z.
The 3 linear axes and 2 rotary axes are generally called 5 axes in machining center.
Forward directions of rotary axes are defined as clock wise based on each axes plus direction.
Y
C
-1-
2. Types of 5-axis machining center
5-axis machining center consists of 3 liner axes, x/y/z, and 2 rotary (tilting) axes. 2 rotary axes can be
divided into following 3 categories.
① 2 axes on the table side
② 1 axis on the table side + 1 axis on the spindle side
③ 2 axes on the spindle side
Different axes configuration requres different required options in 5-axes machining process.
MU-V series with ① 2 axes on the table side will be used to provide explanations of the functions in
this chapter.
Diagram 1-2. 5-axis machining center categories based on the axes configurations
-2-
3. Types of MU series
Rotary axes in Okuma's 5-axis machining center MU series are all 2 axes on the table side, however,
configurations vary depending on the model. Use MU-V series to provide explanation in this chapter.
For example, the configuration of the MU-6300V (Vertical [Table left/right feed] below is; the table moves
in left/right direction (operator facing the table) for the X-axis and Y/Z-axes, the headstock moves
front/back and up/down direction. The rotary axes are; A-axis (tilting axis) that rotates around X-axis
and C-axis (rotary axis) that rotates around the Z-axis. Refer to machine manuals to verify working
range (vary by models)
・MU-5000V
・MU-6300V
・MU-8000V
・MU-400VⅡ
・MU-500VⅡ
Horizontal
・MU-10000H
-3-
4. Features of 5-axis machining
Having 2 rotary axes increases range of machining method in 5-axis machining.
Following are 5 major features for 5-axis machining
① Multi-surface machining (Index 5-axis machining)
② Machining of complex 3 dimensional shape parts (Simultaneous 5-axis machining)
③ Reduce tool stick out amount
④ Improve machining surface quality
Diagram 1-6.
[Note]
1). Simultaneous 5-axis machining requires an ability to control all 5 axes simultaneously.
All MU series models are compatible with this type of control. However, Tool Center Point control and
other options may be required when selecting simultaneous 5-axis machining (Refer Chapter 5).
-4-
③ Reduce tool stick out amount
When machining a wall such as shown in below, interference with holders can be avoided by tiling
workpieces in 5-axis (compare to 3-axis) which allows to use reduced stick out tool.
A tool with shorter stick out has better tool rigidity and has less effect from deflection which may
improve machine accuracy. Machining condition can be improved.
-5-
Chapter 2 Rotary axis command
1. Positioning of rotary axes
MU-series machines have two table axes; tilting and rotary.
In this chapter, the tilting axis is referred as A-axis and the rotary axis is referred as C-axis.
Positioning of rotary axes can be done either manually or MDI /manually (program command).
The following diagrams show normal rotation direction of A and C-axes.
Turning range of tilting axis (A-axis) vary by models. Operation range must be verified based on the
operation manual came with a machine.
A+ (Tilting axis)
C+ (Rotary axis)
-6-
2. Manually position a rotary/tilting axis
Follow the below procedure to manually position a tilting axis (A-axis) and rotary axis (C-axis).
OFF
-7-
Diagram 2-3 Current position screen
[Note]
1). Rotary/tilting axes (A/C) are added to workpiece zero setting in a machine with 5-axis controller.
Zero setting of rotary/tilting axes can be done the same way as linear axes (X・Y・Z).
-8-
3. Positioning of rotary/tilting axes with program
Add travel amounts after rotary/tilting axes addresses to position them by program.
【Program command】
A_ : A-axis positioning
B_ : B-axis positioning
C_ : C-axis positioning
[Note]
1. Rapid traverse (G0) or cutting feed (G1) can be used for rotary/tilting axes commands.
2. Rotary axes automatically unclamp when moves and clamps when stop moving.
[Program example]
:
G90 G0 Z1000
X1000
Y-1000
A0 C0
:
-9-
4. Rotary axes Clamp / Unclamp
Command rotary axes Clamp / Unclamp with M codes
【Program command】
[Note]
1). Rotary axis unclamp command must be executed before starting operation requires continuous
movement of rotary axis such as simultaneous 5-axis machining. Execute rotary axis clamp command
after finish the operation.
2). If rotary axis clamp/unclamp M codes are disabled in the setting, enable it by changing the setting in
"Machine user parameter [Additional axis]".
- 10 -
5. Rotary axes attributes
The program setting values for tilting axis (A-axis) must be within in its turning range.
Rotary axis (C-axis) has normal operation mode and multi-turn operation mode which can be switched
by parameter and have different setting ranges.
Multi-turn Function
・Setting range : -9999.999~9999.999
Negative (-) values are executable.
In multi-turn operation mode, command can be given over 360° within its setting ranges.
When C540 was executed, it will position at 180° position after 1.5 rotation.
・Rotation direction : Direction of the rotation is determined based on the positional relation of a current
coordinate and a target coordinate.
(Rotation direction function is disabled in normal operation mode)
e.g. 30°→ 500°Forward (CW)
30°→ -200°Reverse (CCW)
- 11 -
[Note]
Normal operation mode and Multi-turn operation mode of rotary axis can be switched by selecting
[Enable]/[Disable] in "Multi-turn function'" in "Rotary axis parameter" in parameter setting.
Need to restart the machine for the changes made to take effect.
Setting the rotary axis (C-axis) to less than 360° when a machine program is finished, set 「Set multi-
turn axes workpiece coordinates to less than 360 degree」 in 「Rotary axis parameter」 to [Yes].
Execute following command to set current position of the rotary axis in operation to less than 360
degree.
【Program command】
- 12 -
6. Rotary axes direction commands
There is only one direction for positioning for the tilting axis (A-axis) commands due to the machine
structure.
On the other hand, the rotary axis (C-axis) has two directions for positioning; forward (CC) and
reverse (CCW).
And the shortest path command allows the axis to rotate in the shortest direction to get to a
programmed position from a current position.
【Program command】
[Note]
1). The above command is for a machine with a rotary axis as the 5th axis.
When a rotary table is added to a vertical machining center, the rotary axis in the machine will be
set as 4th axis and following will be the applicable command.
【Program command】
Names of rotary axes can be verified in "Rotary axis parameter axis name" in parameter setting.
2). Set the following parameters to leave the shortest path function enabled.
5th axis: "NC optional parameter bit No. 69" [bit1] to [1]
4th axis: “NC optional parameter bit No. 69" [bit0] to [1]
- 13 -
7. Optimization of rotary axis control parameter
When mounting a workpiece/fixtures on a rotary table, movement of the rotary axis may become
unstable due to the weight (balance).
Executing the following command after mounting a workpiece/fixtures will setup the optimal control
parameter matching the weight balance (rotary inertia)
【Program command】
【Conditions of commands】
The following conditions must be met before executing G429 (for C/A-axes specification)
【Operation】
For A-axis (tilting axis), C-axis (rotary axis) specification
① C-axis Forward/Reverse (Check C-axis load)
② A-90 axis positioning
③ C-axis Forward/Reverse (Check C-axis load)
④ A0 axis positioning
⑤ Automatically set to most optimal control parameter
【Note】
1) Override function is disabled while G429 command is executed
Verify C/A-axes operations are free of interferences in advance.
2) DIFF over
The optimal value must be reset if occurs.
- 14 -
8. How to calculate feedrate F including rotary axes
When the rotary axis is included in the positioning process, concept of federate F is different from
the linear axes (X・Y・Z). And the federate must be calculated from the linear axes.
Use the below unit for federate when rotary axis is included.
1deg/min = 1mm/min
360°→ 360mm
Example Transfer time is 1 minute when rotating C-axis 360° at F360.
【Formula】
C×f
F=
π×D
ø200
360 x
F= ≒ 86
3.14 x 200
2) The cutting time in linear when moving the distance L at the linear federate of f = 150mm/min
T = L / f = 628÷150 = 4.19min
3) Travel distance LNC that NC calculates for the rotary axis is;
LNC = C = 360°= 360mm
4) The federate F that includes the rotary axis is to travel 360mm in 4.19 min, therefore the travel
distance per min is;
[Note]
1). The formula to calculate a feedrate is different from the above for machining when a rotary axis
and linear axes are in motion simultaneously.
Refer Operation manual special function No.1 "Additional axis (rotary axis)
- 15 -
Chapter 3 Indexing 5-axis machining
1. Indexing 5-axis machining
In indexing 5-axis machining, rotates two rotary axes for positioning a workpiece and machine with the 3 linear
axes while the workpiece is kept in position by the rotary axes.
The rotary axes in MU series are table 2-axis type which a work position will change every time the rotary
axis is rotated. For the reason, the zero positions must be changed either by measuring a zero position of
each index angle or use Fixture offset function mentioned in the later section.
- 16 -
2. Important point of 5-axis machining
5-axis machining has many benefits such as being able to machine multiple surfaces with one-chucking;
however, there are also some important cautions, which have no need to be considered in 3-axis machining,
to keep in mind when 5-axis machining.
The below diagram shows an example case of an interference caused by A-axis swing. It looks to be
interference free when the swing (tilting) angle is small. However, the risk of interference with the spindle unit,
tool holders, and fixtures gets greater when the swing angle increases.
There is very minimal possibility of spindle unit and table interferences in 3-axis machining. It increases area
of potential interferences when 2 rotary axes are added to make 5-axis machining
Each machined angle must be checked due to changing interference area every time rotary axes are in
operation.
- 17 -
Following are some of the countermeasures to prevent the interferences.
① Use taller fixtures to position workpieces higher.
It increases the risk of interference between a spindle unit and a table when a workpiece is positioned close
to the top surface of the table and a rotary axis is in swing angle. Use taller fixtures and raise workpieces
off of top surface of the table to avoid the interference.
Interfere
Workpiece
Fixt
Table
Interfere
- 18 -
② Use holders with less interference
Use shrink fit or hydraulic chuck type holders instead of regular milling chuck to reduce area of interference
as show below.
Interfere Extend
Long stick the
out! holder!
- 19 -
3. Rotary axis center of rotation
Each rotary axis has rotation center and it is called rotary axis center of rotation.
Rotary axis center of rotation must be setup in some of 5-axis machining functions.
① Fixture offset
② Tool Center Point Control Function
With machines with table on table rotary, center of rotation for the rotary axes must be measured and input
in the parameters.
Center
position
C+
A-
Center position
Z+
Z+ Y+
Rotary axis (C-axis) Tilt axis (A-axis) Y+
X+ X+
- 20 -
4. How to measure C-axis rotary table and A-axis tilting center of rotation
Provides a method to measure a position of center of rotary axis rotation in this section.
The position of center rotary axis rotation changes overtime due to environment changes or aging. It is
recommended to measure the position periodically.
(Measuring devices)
・Square block ・Dial indicator ・Block gage
・Reference tool (a cylindrical tool with known dimension)
[Note]
Verify Tool length compensation method and ensure to match correction references when measuring tilting
axis (A-axis) center of rotation.
Use the spindle end face gage line as the reference point for absolute compensation.
Reference Tool
Z+
X Y+
- 21 -
・ Measuring procedure of C-axis center of rotation
Make sure to retract the spindle in the safe position when operation rotary axes.
Example of operation
① Select a workpiece zero position number for measuring [MDI]G15H90
② Position A-axis at 0°. [MDI]A0
③ Mount square blocks on the table Rotate the C-axis with a jog handle
Use a dial gage to ensure parallel Use a dial gage to ensure parallel.
④ Set the current position of C-axis to zero. Place the cursor to zero point #90 [C-axis}
“Calculation”→ “Write/Execute”
⑤ Position the spindle at CX1 shown in below diagram, Move the spindle with the jog handle to the position directed
Input the value in X-axis of the zero point number in ⑤, place the cursor on Zero point No.90[X-axis],
selected in ①. “Calculation”→ “Write/Execute”
⑥ Position the spindle at CY1 shown in below diagram, Move the spindle with the jog handle to the position
Input the value in Y-axis of the zero point number directed in ⑥, place the cursor on Zero point No.90[Y-axis],
selected in ①. “Calculation”→ “Write/Execute”
⑦ Rotate C-axis 180°. [MDI]C180
⑧ Set a new zero point number for measuring purpose [MDI]G15H91
⑨ Position the spindle at CX2 shown in below diagram, Move the spindle with the jog handle to the position
Input the value in X-axis of the zero point set in ⑧. directed in ⑧, place the cursor on Zero point No.91[X-axis],
“Calculation”→ “Write/Execute”
⑩ Position the spindle at CY2 shown in the below Move the spindle with the jog handle to the position directed
diagram, in⑨, place the cursor on Zero point No.91[Y-axis],
Input the value in Y-axis of the zero position set in ⑧. “Calculation”→ “Write/Execute”
⑪ Use the following formulas to caluculate based on Select the following programs and start.
the measuring results. Center of C-axis rotation will be input in the Zero point
No92 X and Y.
Form Form
CX1+CX CY1+CY
Rcx = Rcy =
2 2
Note) Disable the geometrical error compensation in 5-axis auto tuning during measuring center of rotation
Procedure ⑩[CY2]
(Program example)
Procedure ⑨[CX2] (C0°Zero point No90)
(C180°zero point No91)
(C-axis center of rotation zero point
No92)
Measure at C 180° position CX1=VZOFX[90]
CY1=VZOFY[90]
C Square block
Measure at C0° position CX2=VZOFX[91]
CY2=VZOFY[91]
Procedure ⑤[CX1] CX0=[CX1+CX2]/2 … Formula A
CY0=[CY1+CY2]/2 … Formula B
Block gage VZOFX[92]=CX0
Y+
Reference VZOFY[92]=CY0
Z X Procedure ⑥[CY1]
VZOF※[ ]:System variable of the zero offset amount
Diagram 3-9. Center of C-axis rotation
- 22 -
・ Measuring procedure of A-axis center of rotation
Make sure to retract the spindle in the safe position when operation rotary axes.
Operation example (Relative compensation, block gage
50mm, reference tool Φ50)
① Select a workpiece zero point fpr measuring. [MDI]G15H93
② Position A-axis at 0°. [MDI]A0
③ Mount square blocks on the table Y+ side Rotate the C-axis with a jog handle
Use a dial gage to ensure parallel Use a dial gage to ensure parallel.
④ Set the current position of C-axis to zero. Place the cursor to zero point #93 [C-axis}
“Calculation”→ “Write/Execute”
⑤ Position the spindle at AZ1 shown in below diagram, Move the spindle with the jog handle to the position
Input the value in Z-axis of the zero point number directed in ⑤, place the cursor to zero point #93 [Z-axis]
selected in ①. “Calculate”+“50”→ “Write/ Execute”
⑥ Position the spindle at AY1 shown in below diagram, Move the spindle with the jog handle to the position
Input the value in Y-axis of the zero point number directed in ⑥, place the cursor to Zero point No.93[Y-axis]
selected in ①. “Calculate”+“75”→ “Write/ Execute”
⑦ Rotate A-axis -90°. [MDI]A-90
⑧ Set a new zero point number for measuring purpose [MDI]G15H94
⑨ Position the spindle at AZ2 shown in below diagram, Move the spindle with the jog handle to the position
Input the value in Z-axis of the zero point set in ⑧ directed in ⑧, place the cursor to Zero point No.94[Z-axis]
“Calculate”+“50”→ “Write/ Execute”
⑩ Position the spindle at AY2 shown in below diagram, Move the spindle with the jog handle to the position
Input the value in Y-axis of the zero point set in ⑧ directed in ⑨, place the cursor to Zero point No.94[Y-axis]
“Calculate”+“-75”→ “Write/ Execute”
⑪ Use the following formulas to caluculate based on the Select the following programs and start.
measuring results. *Add length of the reference tool to the height of the
block gage for absolute compensation.
Formula Ray = AY1+AY2+AZ1-AZ2
2 Center of A-axis rotation will be input in the zero point
-AY1+AY2+AZ1+AZ2 No95 Y and Z.
Formula Raz =
2
Note) Disable the geometrical error compensation in 5-axis auto tuning during measuring center of rotation
Procedure ⑨[AZ2]
(Program example)
Measure at A 0° position Measure at A-90° position (A0°Zero point No93)
(A-90°Zero point No94)
Spindle (A-axis center of rotation zero point No95)
Procedure ⑩ [AY2]
AY1=VZOFY[93]
Reference Tool AZ1=VZOFZ[93]
A A
AY2=VZOFY[94]
Procedure ⑤[AZ1] AZ2=VZOFZ[94]
Z Z
Procedure ⑥[AY1] YY0=[AY1+AY2+AZ1-AZ2]/2 …Formula A
X Y X Y ZZ0=[-AY1+AY2+AZ1+AZ2]/2 …Formula B
VZOFY[95]=YY0
VZOFZ[95]=ZZ0
M2
Diagram 3-10. Center of A-axis rotation
- 23 -
5. Rotary axis parameter setting
Use the measurements of center of rotary axis measured in the previous page to set 「Center of rotary axis
rotation」 in parameter setup 「Rotary axis parameter」 page 2.
The setup is normally done at the time of machine installation. Make sure to write down the current setting
before making changes.
- 24 -
6. Fixture Offset
A workpiece position shifts when a rotary axis and tilting axis in a machine equipped with those axes.
The work zero offset amount must be changed along with shifting of the workpiece.
Fixture offset function is; the coordinate system is offset according to the angle command for the zero point
travel value by rotation and tilting, and the zero point offset is set to a designated coordinate system number.
The fixture offset is a function to set the zero based on calculations and not to ensure position accuracy.
When specific position accuracy is required, make compensation to each zero points based on the
measurement of the 1st piece cut on the machine..
[Note]
1). The fixture offset uses center of rotary axis rotation for calculation. If the center of rotary axis rotation is
off, the error between the actual workpiece position and the zero point offset will be larger.
It is recommended to measure the center of rotary axis rotation before starting machining to reduce
calculation error by fixture offset. Using the Five automatic tuning (option) explained in later chapter will
ease correction of center position of rotary axis rotation.
- 25 -
【Program command】
CALL OO88 PH=_ PP=_ PA=_ PC=_ PX=_ PY=_ PZ=_ (PCA=_ PCC=_)
① ② ③ ④ ⑤
[Note]
1) This command does not execute AC-axes rotation/swing operation..
2) When executing PP command, the workpiece zero point number will be changed to zero point of the
execute command.
3) After offsets are made, values of work coordinates which are used for reference are copied to workpiece
zero point A/C-axis.
4) This function uses “Center position of rotary axis rotation” explained in the previous page and “offset
compensation amount” of the system parameter. Must check a machine specification for verification.
5) For the machines that use center position of rotary axis rotation, offset compensation amount will not
be used and each values are set at ‘0’ for the reason.
6) For the machines that use offset compensation amount cannot use PCA/PCC commands.
- 26 -
<Program example 1>
The workpiece zero position before rotation H1: A-axis 0°, C-axis 0°
The workpiece zero position after rotation H2: A-axis 90°, C-axis 0°
- 27 -
<Practice 1>
Describe fixture offset commands for each machining scenario ①A surface and ②B surface from the datum
of workpiece coordinate H1..
Z+
Y+
200
60
X+
○
B ○
A
100
The workpiece coordinate after rotation H2: A-axis -90°, C-axis OO°
Z+
Y+
○
A CALL OO88
X+
○
B
Z+
Y+
○
B CALL OO88
X+
○
A
- 28 -
<Practice 2>
Describe fixture offset commands to cut hole A (workpiece zero position H97) and B (workpiece zero
position H98) from the workpiece zero position (H96) before rotation. Execute the actual program for
validation.
The workpiece zero position before rotation H96: A-axis 0°, C-axis 0°
Hole A Z
H96 Y
60°
Y
X
H96
R50 Side
Top
Hole B
Coordinate after rotation H97 (Hole A):A-axis ○○°, C-axis ○○° H98 (Hole B):A-axis ○○°, C-axis ○○°
Z
Y
50
Y
Hole A
10 X
Top Side
(Validation program)
G15H96 (Reference workpiece coordinate) CALL OO88 ________________(②H98 HOLE B)
T502M6 G90G0Z1000
G90G0Z1000 X1000
X1000 Y-1000
Y-1000 A__ C__
A0C0 X0Y10 (HOLE B)
X0Y0 G90G0Z1000
CALL OO88 ______________________(①H97 HOLE A) X1000
G90 G0 Z1000 Y-1000
X1000 A0C0
Y-1000 M2
A__ C__
X0Y10 (HOLE A)
- 29 -
[Example answers for the practice quizzes]
<Practice 1>
① CALL OO88 PH=1 PP=2 PA=-90 PC=270
② CALL OO88 PH=1 PP=3 PA=-90 PC=90 PX=-200 PY=100
<Practice 2>
① CALL OO88 PH=96 PP=97 PA=-60 PC=0 PY=50
② CALL OO88 PH=96 PP=98 PA=-60 PC=180 PY=-50
- 30 -
7. Examples of indexing 5-axis machining program
Mill the surface A and rotate the table to cut the hole on the surface B.
[Note]
1). The safety positions vary by axes configurations. Must be verified for each machine.
- 31 -
<Practice 3>
Mill the surface A and rotate the table to mill the top surface of the hole A &B and drill the hole A&B.
Z
○
B
Z0 Y
Y
10 20
X
Top Side
- 32 -
Practice 3. Program example
(** A side A0C0 **) (** Hole A A-60C0 **)
G15H96 T502 M6 (Φ10 drill)
T501M6 (Φ80 milling) CALL OO88 PH=96 PP=97 PA=-60 PY=50
T502 G90 G0 Z1000 G56 HA
G90 G0 Z1000 G56 HA X1000
X1000 Y-1000
Y-1000 A0 C0
A0 C0 S1300 M3
S800 M3 X0 Y10 M8
X-100 Y0 G81 X0 Y10 R3 Z-15 F200
Z5 G0 Z1000
G1 Z0 F500 M12 (** Hole B A-60C180 **)
X100 CALL OO88 PH=96 PP=98 PA=-60 PC=180 PY=-50
G0 Z1000 X1000
(** Hole A top surface milling A-60C0 **) Y-1000
CALL OO88 PH=96 PP=97 PA=-60 PY=50 A0 C0
X1000 X0 Y10 M8
Y-1000 G81 X0 Y10 R3 Z-15 F200
A0 C0 G0 Z1000 M9
X0 Y-50 X1000
Z5 Y-1000
G1 Z0 F500 A0 C0
Y70 M2
G0 Z1000
(** Hole B top surface milling A-60C180 **)
CALL OO88 PH=96 PP=98 PA=-60 PC=180 PY=-50
X1000
Y-1000
A0 C0
X0 Y-50
Z5
G1 Z0 F500
Y70
G0 Z1000 M9
X1000
Y-1000
A0 C0
- 33 -
Chapter 4. How a CAM system is utilized in processes
1. From CAD/CAM to cutting process
Use CAM system to create NC program when machining part profiles, especially in simultaneous 5-axis
machining process.
Following shows the flow of process starting CAD/CAM to actual cutting process.
Simulation
(Special software)
・Simulation (CAM)
Runs simulation to verify interferences and cutting status against the CL data.
The interference check in this process is generally focused on the interferences between tools and
workpeices or fixtures. This check will be enough for 3-axis machining process.
For 5-axis machining process, interference for machine structure including rotary axes must be checked
in addition to the above check.
Interferences including machine movements can be checked by inputting machine structure models in
some CAM software.
- 34 -
Chapter 5 Simultaneous 5-axis machining
1. Simultaneous 5-axis machining
The indexing 5-axis machining explained in chapter 3 is the machining method of machining a part
with 3 linear axes while the rotary axes are fixed.
The simultaneous 5-axis machining is the machining method of machining a part with 3 linear axes
while controlling slope and rotation simultaneously.
Having the ability to move rotary axes simultaneously enables machining in every direction which
allows to machine complex 3 dimensional parts as shown below.
Must be checked for interferences due to workpiece and machine position changing with constant
movement of the rotary axis in simultaneous 5-axis machining, which is explained in chapter 3,
section 2.
It is difficult to visually verify interferences when cutting a complex shaped part with simultaneous 5-
axis machining. Due to the reasons, CAM or special software are required to check for interference.
- 35 -
2. Tool Center Point Control (TCPC)
Tool Center Point Control is applicable to 5-axis machining centers with three linear axes X, Y and Z
and two rotary axes. This function controls the movement of each axis by adding the tool length offset
amount to move the tool center point along the wokrpiece through the tool path specified by the axis
movement commands. It also controls the feedrate of each axis to move the tool center point along
the workpiece at the specified feedrate.
When program commands for Tool Center Point Control are created based on the workpiece datum,
the same program can be used even if a workpiece mounting position and tool length are changed.
Main features
① Tool Center Point moves along the axis move commanded path (Linearization process).
② Tool Center Point feedrate is commanded feedrate.
③ The program is not require to account for workpiece mounting positions.
3. Linearization process
When P1 to P2 linear movement is commanded in a tool posture without Tool Center Point control,
the beginning and end points are assured. However, each axis will take the shortest path to the final
destination which the tool edges will take different paths from the command. Command needs to be
in minute block sections to ensure to follow the command path.
Machine movement
When a command is executed to move P1 to P2 in linear line with Tool Center Point Control turned
on, the edge position will be in linear and machine movement. It is called Linearization process by NC
in a technical term.
Machine movement
- 36 -
4. CAM coordinates system and Machine coordinates system
Set Zero (X0, Y0, Z0) of the part model when creating a CAM program. Set the machine's workpiece
zero position to match the CAM coordinates when machining. This would be enough for 3-axis
machining process, however, a workpiece position changes when rotated depending on a workpiece
setup position with a machine with rotary axis table.
Workpiece coordinates values are internally calculated based on a workpiece zero setup value and a
position of the rotary axis center in Tool Center Point control.
A workipiece can be mounted anywhere on the table and machine as long as the workpiece zero is
matched the same way as 3-axis machine. (Refer Chapter 3.3-5 for center position of rotary axis)
A workpiece setup position must be taught to CAM processor and NC program has to be written for
machines without Tool Center Point control function.
X
Y
X
Y
Y
X
Table rotation
- 37 -
5. Tool Center Point Control Program Command
【Program command】
① Select a mode
Rotary axis angle command (ABC)Mode (Table base coordinate system)(described later)
: P0 X_ Y_ Z_ A_ B_ C_
The coordinates system X/Y/Z rotate along with a workpiece rotation, and the program will be X/Y/Z
in the workpiece coordinates.
The program of the rotary axis will be AC, BC, AB to match the machine rotary axis configuration
after being post processed by CAM.
It is commonly used for machines with two table rotary axes.
Tool Posture Command (IJK) mode (Table base coordinate system) (described later)
: P1 X_ Y_ Z_ I_ J_ K_
The coordinates system X/Y/Z rotate along with a workpiece rotation, and the program will be X/Y/Z
in the workpiece coordinates.
The tool posture of a rotary axis is set with IJK.
Tool Posture Command can be used in machines with any axis configuration since the command
for the rotary axis is through IJK.
Tool Posture Command (ABC mode) (Machine axis base coordinate system) (described later)
: P2 X_ Y_ Z_ A_ B_ C_
Programmed by the machine axis XYZ regardless of workpiece rotation.
[Note]
1) Select P# after confirming what program CAM outputs (P0~P2).
2) P0 rotary axis angle command (ABC) mode (Table base coordinate system) when P command is
bypassed.
- 38 -
6. Base coordinate system
There are two types of base coordinate system.
・Table base coordinate system
・Machine axis base coordinate system
Table base
coordinate system
Workpiece
- 39 -
7. Additional information on Tool Center Point Control (TCPC)
1) The first axis command in G169 mode, G90 (Absolute command) must be executed to all axes
to secure a position on the table base coordinate system.
For A/C rotary axes
e.g.1. G169 P0 X0.Y0.Z500.A0.C0.HA
e.g. 2. G169 P0 HA
X0.Y0.Z500.A0.C0.
2) Set the rotary axes to stay in unclamp mode in parameter before turning on Tool Center Point
Control.
Make sure to turn off rotary axes unclamp mode in parameter when turning off Tool Center Point
Control.
A-axis unclamp: M11 A-axis clamp: M10
B-axis unclamp: M21 B-axis clamp: M20
C-axis unclamp:M21 B-axis clamp: M20
3) Set G0 or G1 for the feed mode when executing G169 command Axis movement in this block is
done by Tool Center Point control.
4) It also controls the feedrate of each axis to move the tool center point along the workpiece at the
specified feedrate.
5) Set the upper limit feedrate value that converting the rotary axis feedrate values when using
Super-NURBS while Tool Center Point control is turned on. (Refer supplement 1, page 6)
6) Execute M510 (Disable Collision avoidance system) when turning on Tool Center Point Control.
- 40 -
8. 3D FEED switch
Enables the same movement as Tool Center Point control in manual operation when "3D FEED"
switch on the operation panel is turned on.
e.g.1) The machine will use table base coordinate system when 3D FEED switch is turned ON.
Rotate the table (C-axis) from the zero set value and operate X-axis, the actual X and Y-axes will
move simultaneously to follow the X-axis in table base coordinate system.
Y-axis
operation
Machine
coordinate system
Diagram 6-6
e.g. 2) The axes will move to maintain tool and workpiece positional relation when the rotary axis is
operated while 3D FEED switch is turned on.
Diagram 6-7
- 41 -
9. Examples of Tool Center Point Control Programs
・Examples of each mode program
N2 A-30
Y
50
X N1 A0
100
P0 : Rotary axis angle command (ABC) Mode (Table base coordinate system)
N1 G169 P0 X100 Y0 Z0 A0 C0 HA
N2 Y50 A-30
G170
P1: Tool Posture Command (IJK) mode (Table base coordinate system)
N1 G169 P1 X100 Y0 Z0 I0 J0 K1 HA
N2 Y50 I0 J1 K1.732
G170
P2: Tool Posture Command (ABC mode) (Machine axis base coordinate system)
N1 G169 P2 X100 Y0 Z0 A0 C0 HA
N2 Y=50*COS[30] Z=50*SIN[30] A-30
G170
- 42 -
・An example of program with machine movement
Mode: P0 rotary axis angle command mode rotary axis: A・C
Y
R50
N2
100 N1
- 43 -
Chapter 6 5-Axis Auto Tuning System
1. Summary
5-axis machines with 2 rotary axes have various types of geometric errors as shown below. The errors
change over time due to aging variation and installation environment. For example, when a center
position of a rotary axis changes, fixture offset (Chapter 3) calculation results and center of tool center
point (chapter 5) coordinate errors will increase and effect machining accuracy.
5-axis auto tuning system is a function that makes real-time compensation to geometric errors
mentioned above by measuring the errors with a touch probe and a reference sphere.
Spindle Spindle
- 44 -
2. Measuring procedure
① Press 'DISPLAY CHANGE' in the operation screen and
select 'GEOMETRIC MEASUREMENT'.
② Set the reference sphere around the table circumference.
③ Mount the touch probe to the spindle.
④ Position the touch probe at the top of the reference sphere
in the +Z direction (約 3mm 手前)。
⑤ Switch to MDI operation mode.
⑥ Press F6 [START MEASURE] and execute operation using
the CYCLE START button.
(Change mode when need to chang ethe measuring mode. Refer page 3)
⑦ GEOMETRIC MEASUREMENT is executed, and the result is displayed on the screen.
⑧ The result is reflected to the geometric compensation function.
(If "GEOMETRIC PARAMETER AUTO UPDATE" in Measurement setting is set to 'NO', press 'F7
(PARAMETER UPDATE)' to update geometric parameters.)
[Note]
1) When Placing the reference sphere
2) Place the reference sphere closer to outer edge of the table (Placing it close to the center will
cause a reading error).
3) Before executing 5-axis auto tuning function, run the radius compensation and length offset of
the touch probe and setup offset values for radius and length.
4) The radius compensation and length offset must be handled carefully as it will affect the
measurement value that directly leads to the measurement accuracy of the geometric parameter.
Figure 6-3. Geometric measurement screen Figure 6-4. Result of Geometric measurement screen
- 45 -
3. Measurement mode
There are 5 different measurement modes (Simple, Simple+, Middle, Full, Check).
Each measurement mode has different types and numbers of geometric parameters.
More geometric parameters are measured; more optimal parameters can be applied to the machine.
However, the time required to measure will increase as the number of measurement points increase.
- 46 -