0% found this document useful (0 votes)
3K views49 pages

Okuma OSP 5 Axis Training

The document is a textbook on 5-axis machining training that was extracted from another publication. It contains 6 chapters that cover topics such as the different types of 5-axis machining centers, positioning and programming of rotary axes, indexing and simultaneous 5-axis machining techniques, tool center point control, and auto tuning for 5-axis machines. The textbook is intended to educate readers on the capabilities and programming of 5-axis CNC machining centers.

Uploaded by

Rick Williams
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3K views49 pages

Okuma OSP 5 Axis Training

The document is a textbook on 5-axis machining training that was extracted from another publication. It contains 6 chapters that cover topics such as the different types of 5-axis machining centers, positioning and programming of rotary axes, indexing and simultaneous 5-axis machining techniques, tool center point control, and auto tuning for 5-axis machines. The textbook is intended to educate readers on the capabilities and programming of 5-axis CNC machining centers.

Uploaded by

Rick Williams
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 49

OEG Technical Information

Doc. No. G-M0532-00


Issued in Jun. 2015

MACHINING FOR THE COMPUTER AGE

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

Chapter 2 Rotary axis command ·································································································· 6


1. Positioning of rotary axes ································································································· 6
2. Manually position a rotary/tilting axis ············································································· 7
3. Positioning of rotary/tilting axes with program ······························································· 9
4. Rotary axes Clamp / Unclamp ························································································· 10

5. Rotary axes attributes····································································································· 11


6. Rotary axes direction commands ··················································································· 13
7. Optimization of rotary axis control parameter······························································· 14
8. How to calculate feedrate F including rotary axes ························································· 15

Chapter 3 Indexing 5-axis machining ························································································· 16


1. Indexing 5-axis machining ······························································································ 16
2. Important point of 5-axis machining ·············································································· 17
3. Rotary axis center of rotation ························································································· 20
4. How to measure C-axis rotary table and A-axis tilting center of rotation ····················· 21
5. Rotary axis parameter setting ························································································ 24
6. Fixture Offset ·················································································································· 25
7. Examples of indexing 5-axis machining program ····························································· 31

Table of contents
-I-
Chapter 4 How a CAM system is utilized in processes ······························································· 34
1. From CAD/CAM to cutting process ················································································ 34

Chapter 5 Simultaneous 5-axis machining ················································································· 35


1. Simultaneous 5-axis machining ······················································································ 35
2. Tool Center Point Control (TCPC) ···················································································· 36
3. Linearization process ······································································································ 36
4. CAM coordinates system and Machine coordinates system ·········································· 37
5. Tool Center Point Control Program Command ······························································· 38
6. Base coordinate system ·································································································· 39
7. Additional information on Tool Center Point Control (TCPC) ········································· 40
8. 3D FEED switch ··············································································································· 41
9. Examples of Tool Center Point Control Programs ·························································· 42

Chapter 6 5-axis Auto Tuning ····································································································· 44


1. Summary ························································································································ 44
2. Measuring procedure ······································································································ 45
3. Measurement mode ······································································································· 46

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

Diagram 1-1. Coordinates axes

Any technical information is subject to change without notice.


Original doc.: OCJ NC school 01.第 1 章はじめに.doc

-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.

① 2 axes on table side

② 1 axis on table side


+ 1 axis on spindle side

③ 2 axes on the spindle side

Diagram 1-2. 5-axis machining center categories based on the axes configurations

Any technical information is subject to change without notice.


Original doc.: OCJ NC school 01.第 1 章はじめに.doc

-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)

Vertical [Table left/right feed]

・MU-5000V
・MU-6300V
・MU-8000V

Vertical [Table front/rear feed]

・MU-400VⅡ
・MU-500VⅡ

Horizontal

・MU-10000H

Diagram 1-3. Types of MU series

Any technical information is subject to change without notice.


Original doc.: OCJ NC school 01.第 1 章はじめに.doc

-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

① Multi-surface machining (Index 5-axis machining)


By rotating 2 rotary axes, it enables to machine abiturary slant surface as well as top surface of
workpieces.
This will help reduce number of setups and siginificantly reduce parts setup time (mounting time).
With no setup change, it will reduce errors cause by setup.
The machining method of machining parts from multiple directions by indexing arbitrary surfaces is
called indexing 5-axis machining (3+2).

Diagram 1-5. Example of a workpiece


Diagram 1-4. Examples of workpiece index machined by indexing 5-axis machining
② Machining of complex 3 dimensional parts (Simultaneous 5-axis machining)
A 3-axis machining center with no rotary axes can only machine from top. Unable to machine back
side of blades for a part shown below.
A 5-axis machining center machines while simultaneously controlling a tilting axis and rotary axis in
addition to 3 linear axes which allows to approach a workpiece from all direction and be able to cut
a complex 3 dimensional part shown below.
This type of simultaneous operation of 5-axes is called simultaneous 5-axis machining.

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).

Any technical information is subject to change without notice.


Original doc.: OCJ NC school 01.第 1 章はじめに.doc

-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.

Diagram 1-7. Example of reduced tool stick out

④ Machining surface quality improvement


It may be difficult to achieve sufficient surface quality due to gouges caused by insufficient cutting
speed. With tools like ball end mill (around center of tool does not have sufficient cutting speed even
spindle seep is increased). By cutting workpieces with a same part of an edge results in shorter
tool life.
Tools or workpieces can be tilted during 5-axis machining process which enables to cut the
workpieces with area of tools with higher cutting speed close to tool O.D. and improves quality of
machining surface. Also this will allow to cut the workpieces with different areas of edges to
potentially have longer tool life.

Zero cutting speed High cutting speed

Diagram 1-8. Example of machining surface quality improvement

Any technical information is subject to change without notice.


Original doc.: OCJ NC school 01.第 1 章はじめに.doc

-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.

Model Tilting axis turning range


MU-400VⅡ
+20~-100°
MU-500VⅡ
MU-5000V
MU-6300V +90~-120°
MU-8000V
Table 2-1 Examples of A-axis turning ranges per model

A+ (Tilting axis)

C+ (Rotary axis)

Diagram 2-1. A/C-axes rotation direction

Any technical information is subject to change without notice.


Original doc.: OCJ NC school 02.第 2 章 回転軸指令.doc

-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).

Positioning with rapid feed


① Press [Manual] button to change to manual operation mode.
② Press [A] or [C] axis selection buttons.
③ Set the rapid traverse feed override switch volume.
*Special attention is required to prevent collisions since rotary axes movements can be difficult to
picture. Set the switch at [10%] for inexperience operators to be cautious.
④ Press [+] or [-] buttons.
(The Enabling switch must be pressed down to move C-axis with the door open)

Positioning use jog handle


① Press [Manual] button to change to manual operation mode.
② Select the jog handle selection switch to [A] or [C].
③ Select a magnification switch for the jog handle.
*Jog switch is automatically turned ON when the magnification switch is selected. (OPS-P300)。
④ Turn the jog handle in [+] or [-] direction.
(The Enabling switch must be pressed down to move C-axis with the door open)

OFF

Axis selection button


Rapid traverse feed override

Axis selection switch


Enabling switch

Diagram 2-2 Jog handle and operation panel

Any technical information is subject to change without notice.


Original doc.: OCJ NC school 02.第 2 章 回転軸指令.doc

-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).

Diagram 2-4 Workpiece zero setup screen

Any technical information is subject to change without notice.


Original doc.: OCJ NC school 02.第 2 章 回転軸指令.doc

-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

*Make sure to be free of interference before operating the rotary axis.

Any technical information is subject to change without notice.


Original doc.: OCJ NC school 02.第 2 章 回転軸指令.doc

-9-
4. Rotary axes Clamp / Unclamp
Command rotary axes Clamp / Unclamp with M codes

【Program command】

M10 : A-axis clamp M11 : A-axis unclamp


M20 : B-axis clamp M21 : B-axis unclamp
M26 : C-axis clamp M27 : C-axis unclamp

[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]".

Diagram 2-5. Machine user parameter (Additional axis)

Any technical information is subject to change without notice.


Original doc.: OCJ NC school 02.第 2 章 回転軸指令.doc

- 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.

Normal operation mode (Default setting)


・Setting range : 0~360
Negative (-) command is not executable
The same command is applied to 0°and 360°. Therefore, the machine will not operate
when C360 is executed when the coordinate is at C0.
・Rotation direction : Default setting is forward rotation(CW). Rotation direction are changed by M
codes or parameter settings (Refer next section).

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)

Target value Current value Target value


-200° Rever 30° Forwa 500°

-720° -360° 0° 360° 720°

Diagram 2-6. Multi-turn specification

Any technical information is subject to change without notice.


Original doc.: OCJ NC school 02.第 2 章 回転軸指令.doc

- 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】

G438 A1 : A-axis multi-turn rotary table current position reset


G438 B1 : B-axis multi-turn rotary table current position reset
G438 C1 : C-axis multi-turn rotary table current position reset

[Example of program] Rotary axis (C-axis) multi-turn operation mode



G90 G0 C0 ・・・CURRENT POSITION VALUE [C0]
C540 ・・・CURRENT POSITION VALUE [C540]
G91 C540 ・・・CURRENT POSITION VALUE [C1080]
G438 C1 ・・・CURRENT POSITION VALUE [C0]
G90 C540 ・・・CURRENT POSITION VALUE [C540]
G438 C1 ・・・CURRENT POSITION VALUE [C180]

Diagram 2-7. Rotary axis parameter [Rotary axis attribute]

Any technical information is subject to change without notice.


Original doc.: OCJ NC school 02.第 2 章 回転軸指令.doc

- 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】

M115 : Forward (CW)


M116 : Reverse (CCW)
M404 : The shortest path 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】

M115 : Forward (CW)


M116 : Reverse (CCW)
M403 : The shortest path 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]

Diagram 2-8. Rotary axis parameter [Axis name]

Any technical information is subject to change without notice.


Original doc.: OCJ NC school 02.第 2 章 回転軸指令.doc

- 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】

G429 : Set rotary axis control parameter


G429 P0 : Return the parameter setting to factory default

【Conditions of commands】
The following conditions must be met before executing G429 (for C/A-axes specification)

X/Y/Z-axes : Plus limit


A-axis: 0 degree
Cutting feed override switch: 100%

【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.

Any technical information is subject to change without notice.


Original doc.: OCJ NC school 02.第 2 章 回転軸指令.doc

- 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.

When machining by only moving rotary axes


e.g. When machining at D=Φ200mm position by rotating (360°) the C-axis, the command F to
achieve federate f=150mm/min with the tool position.

【Formula】
C×f
F=
π×D
ø200
360 x
F= ≒ 86
3.14 x 200

【Explanation of the formula】


1) A length of circumference when rotating the cutting distance L at tool position 360°
L = π×D = 3.14×200 = 628mm

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;

F = LNC / T = 360 / 4.19 = 86

[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)

Any technical information is subject to change without notice.


Original doc.: OCJ NC school 02.第 2 章 回転軸指令.doc

- 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.

Diagram 3-1. Indexing 5-axis machining (MU-V)

Any technical information is subject to change without notice.


Original doc.: OCJ NC school 03.第 3 章 割出し 5 軸加工.doc

- 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.

A-axis Small tilting angle A-axis Large tilting angle


Diagram 3-2.Interference variation by rotary axis

Any technical information is subject to change without notice.


Original doc.: OCJ NC school 03.第 3 章 割出し 5 軸加工.doc

- 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

Diagram 3-3. Avoid interference by raising parts fixtures

② Use fixtures with less interference


If using all-purpose fixture such as vises and others, it is recommended to use the ones shaped suitable
for 5-axis movements to avoid inteferences.

Interfere

Diagram 3-4. Avoid interference due to shape of fixtures

Any technical information is subject to change without notice.


Original doc.: OCJ NC school 03.第 3 章 割出し 5 軸加工.doc

- 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.

Milling Shrink fit


Chuck Holder
Holder

Diagram 3-5. Avoid interference due to shape of holders

④ Use longer holders


Increasing the edge stick out amount reduces rigidity of the tool. Using a longer holder helps avoid reducing
rigidity.

Interfere Extend
Long stick the
out! holder!

Diagram 3-6. Secure rigidity by holder

Any technical information is subject to change without notice.


Original doc.: OCJ NC school 03.第 3 章 割出し 5 軸加工.doc

- 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+

Diagram 3-7. C-axis rotary table and A-axis tilting

Any technical information is subject to change without notice.


Original doc.: OCJ NC school 03.第 3 章 割出し 5 軸加工.doc

- 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.

Absolute compensation reference


Relative compensation reference

Absolute compensation reference

Reference Tool

Relative compensation reference

Z+

X Y+

Diagram 3-8. Measuring reference of A-axis center of rotation

Any technical information is subject to change without notice.


Original doc.: OCJ NC school 03.第 3 章 割出し 5 軸加工.doc

- 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

Any technical information is subject to change without notice.


Original doc.: OCJ NC school 03.第 3 章 割出し 5 軸加工.doc

- 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

Any technical information is subject to change without notice.


Original doc.: OCJ NC school 03.第 3 章 割出し 5 軸加工.doc

- 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.

Diagram 3-11. Setup screen to setup the center of a rotary axis

Any technical information is subject to change without notice.


Original doc.: OCJ NC school 03.第 3 章 割出し 5 軸加工.doc

- 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..

Table rotation (C-axis)


Fixture offset by
Workpiece zero point datum zero point offset

Workpiece zero point after rotation

Diagram 3-12. Fixture offset function

[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.

Any technical information is subject to change without notice.


Original doc.: OCJ NC school 03.第 3 章 割出し 5 軸加工.doc

- 25 -
【Program command】

CALL OO88 PH=_ PP=_ PA=_ PC=_ PX=_ PY=_ PZ=_ (PCA=_ PCC=_)
① ② ③ ④ ⑤

① PH : The work piece zero point number before rotation


② PP : The workpiece zero point number to register offset value after rotation
*If not provided, the current position zero point number will be used.
③ PA,PC : The angle of rotation around A/C-axes from the workpiece zero point datum on the coordinate.
④ PX,PY,PZ : Parallel shift of the workpiece zero point
⑤ PCA,PCC : A/C-axes angle set in the workpiece zero point before rotation
(Use only when the workpiece zero point A-axis is at 0°before rotation)

[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.

Any technical information is subject to change without notice.


Original doc.: OCJ NC school 03.第 3 章 割出し 5 軸加工.doc

- 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°

(Zero point No1 A0C0)


G15H1
・(Cutting program)
100 C90°

(Zero point No2 A0C90)
The workpiece zero position CALL OO88 PH=1 PP=2 PC=90 PY=100
before rotation H1 G90 G0 G56 HA Z500
X0
The workpiece zero position Y-1000
after rotation H2 A0C90
・(Cutting program)

<Program example 2>


The workpiece coordinate before rotation H1: A-axis 90°, C-axis 0°
The workpiece coordinate after rotation H2: A-axis 0°, C-axis 0°

(Zero point No1 A-90C0)


100 G15H1
・(Cutting program)

The workpiece zero position (Zero point No2 A0C0)
before rotation H1 CALL OO88 PH=1 PP=2 PA=0 PCA=-90 PZ=-50
G90 G0 G56 HA Z500
X0
A90° Y-1000
A0C0
・(Cutting program)

The workpiece zero position
after rotation H2

Any technical information is subject to change without notice.


Original doc.: OCJ NC school 03.第 3 章 割出し 5 軸加工.doc

- 27 -
<Practice 1>
Describe fixture offset commands for each machining scenario ①A surface and ②B surface from the datum
of workpiece coordinate H1..

Datum of Workpiece coordinate H1: A-axis 0°, C-axis 0°

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

② The workpiece coordinate after rotation H3 :A-axis -90°, C-axis ○○°

Z+
Y+

B CALL OO88

X+


A

Any technical information is subject to change without notice.


Original doc.: OCJ NC school 03.第 3 章 割出し 5 軸加工.doc

- 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)

Any technical information is subject to change without notice.


Original doc.: OCJ NC school 03.第 3 章 割出し 5 軸加工.doc

- 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

Any technical information is subject to change without notice.


Original doc.: OCJ NC school 03.第 3 章 割出し 5 軸加工.doc

- 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.

① Workpiece zero position H1:A-axis 0°, C-axis 0°


(A side A0C0 )
Tool T1: Φ80 milling
G15H1
Z+ T1M6 (Φ80 milling)
Y+
200 T2
60 G90 G0 Z1000 G56 HA

A
X1000 (Shift to safe position) ・・・・NOTE 1
X+
Y-1000
A0C0
100 S800 M3
X50 Y20
Z0
G1 X-250 F500 M12
Y80
X50
G0 Z1000 M9
② Workpiece zero position H2:A-axis -90°, C-axis 270°
(Surface B A-90C270)
Tool T2:Φ10 drill T2M6 (Φ10 drill)
CALL OO88 PH=1 PP=2 PA=-90 PC=270
Z+ G90 G0 Z1000 G56 HA

B Y+
X1000 (SHIFT TO SAFETY POSITION)
30 Y-1000
2-10 Depth 30 X+
40 30 A-90 C270
S1300 M3
G81 X-30 Y30 R3 Z-30 F200 M8
X-70 Y30
G0 Z1000 M9
X1000
Y-1000 (SHIFT TO SAFETY POSITION)
A0 C0
M2

[Note]
1). The safety positions vary by axes configurations. Must be verified for each machine.

Any technical information is subject to change without notice.


Original doc.: OCJ NC school 03.第 3 章 割出し 5 軸加工.doc

- 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.

Workpiece zero position H96:A-axis 0°, C-axis 0°

Hole AΦ10 Depth 15 Tool


T501: (Φ80 milling)

A Z
Y
Z0 Spindle speed S800
Y 60° Feed rate F1000
X
T502: Φ10 drill
H96
Spindle speed S1300
R50

A Top Feed rate F200
Side

Hole B Φ10 Depth 15

Coordinates after rotation H97(Hole A):A-axis-60°、C-axis 0° H98(Hole B):A-axis -60°、C-axis 180°

Z

B
Z0 Y

Y
10 20
X

Top Side

Any technical information is subject to change without notice.


Original doc.: OCJ NC school 03.第 3 章 割出し 5 軸加工.doc

- 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

Any technical information is subject to change without notice.


Original doc.: OCJ NC school 03.第 3 章 割出し 5 軸加工.doc

- 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.

Modeling/Correction Create CL data Simulation Create a NC program Machining


(CAD) (CAM) (CAM) (Post processor)

Simulation
(Special software)

・Modeling / Correction (CAD)


CAD data input make corrections to CAD model surfaces and create fixture and other data.

・CL data creation (CAM)


Setup a machining method by reviewing a cutting process and setup tools to be used, cutting condition
and pattern of movement to create CL (Cutting Location Data: Cutter path) data. CL data is the data
including tool movement which is output by CAM before converted to NC program (intermediate file in the
CAM system).

・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.

・Create NC programs (Post processor)


Post processor converts CL data to machine structures and NC program suitable for control units.
NC program loadable to machines are output by post processing the CL data.
A post processor is generally required for each machine and control unit. Different post processors
maybe required for same machine depending on whether operating index 5-axis machining or
simultaneous 5-axis machining.

・Simulation (Special software)


Runs simulation to verify interferences and cutting status against the post processed NC program.
A simulation can be run with machine operation restrictions, actual codes being used and diameter
compensations in consideration.
Special software must be used to check for interferences if interference check is not done by running a
simulation in a CAM system including machine structure when running simultaneous 5-axis machining.
Any technical information is subject to change without notice.
Original doc.: OCJ NC school 04.第 4 章 CAM との関連事項.doc

- 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.

Diagram 5-1. An example workpiece for simultaneous 5-axis machining

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.

Any technical information is subject to change without notice.


Original doc.: OCJ NC school 05.第 5 章 同時 5 軸加工.doc

- 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

Path of tool edge


(Different from the commanded path)
Without Tool Center Point Control

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

Path of tool edge


(Linear)
With Tool Center Point Control

Any technical information is subject to change without notice.


Original doc.: OCJ NC school 05.第 5 章 同時 5 軸加工.doc

- 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.

Diagram 6-1. CAM coordinates system

X
Y
X
Y
Y
X

Table rotation

Diagram 6-2. Machine coordinates system

Any technical information is subject to change without notice.


Original doc.: OCJ NC school 05.第 5 章 同時 5 軸加工.doc

- 37 -
5. Tool Center Point Control Program Command

【Program command】

G169 P_ H_ :Tool Center Point Control ON


① ②

G170 : Tool Center Point Control OFF

① 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.

② Tool length compensation numbers


:HA・HB・HC、H1~999

[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.

Any technical information is subject to change without notice.


Original doc.: OCJ NC school 05.第 5 章 同時 5 軸加工.doc

- 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


When the table side rotary axis is rotated, the workpiece mounted on the table also rotates. However,
if the coordinate system fixed to the table is defined, the coordinate system for the table (workpiece) will
not move even if the table is rotated. This type of coordinate system is called 『Table base coordinate
system』. 『Table base coordinate system』 references the workpiece coordinate system at 0 degree
table rotary axis angle. Program commands are executed to the table base coordinate in Tool Center
Point control 『Machine axis base coordinate system』.

Table base
coordinate system
Workpiece

Workpiece coordinate system Workpiece coordinate system

Original state The coordinate system rotates as the table rotates


⇒Table base coordinate system

Diagram 6-3 Table base coordinate system

Machine axis base coordinate system


In 『Table base coordinate system』, the coordinate system rotates as the table side rotary axis rotates.
The coordinate system that doesn’t rotate as the table side rotary axis rotates is called 『Machine base
coordinate system』.
Program commands are executed to the workpiece coordinate in 『Machine axis base coordinate
system』 Tool Center Point Control.

Machine axis base


coordinate system

Workpiece coordinate system Workpiece coordinate system

The coordinate system that doesn’t rotate as the table rotates


⇒ Machine axis base coordinate system
Diagram 6-4. Machine axis base coordinate system
Any technical information is subject to change without notice.
Original doc.: OCJ NC school 05.第 5 章 同時 5 軸加工.doc

- 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.

Any technical information is subject to change without notice.


Original doc.: OCJ NC school 05.第 5 章 同時 5 軸加工.doc

- 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.

X-axis Workpiece coordinate


Table base operation system datum
coordinate system

Center of C-axis rotation

Y-axis
operation

Machine
coordinate system

Diagram 6-5 3D FEED switch

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

Any technical information is subject to change without notice.


Original doc.: OCJ NC school 05.第 5 章 同時 5 軸加工.doc

- 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

Any technical information is subject to change without notice.


Original doc.: OCJ NC school 05.第 5 章 同時 5 軸加工.doc

- 42 -
・An example of program with machine movement
Mode: P0 rotary axis angle command mode rotary axis: A・C

Go around with 15 degree tool angle in R50 (8 points)

Y
R50

N2
100 N1

M510 (Collision Avoidance System OFF)


G15 H1
T1 M6
G90 G0 Z1000
Y-1000
A0 C0
M11 (A unclamp)
M27 (C unclamp)
S1000 M3
X100 Y0
G169 P0 X100 Y0 Z100 HA (Tool Center Point Control ON)
M404 (C-axis Shortcut command)
G131 E0.01 (Super-NURBS ON)
Z0 RR1=50 CP=45
CC=CP
N1 G1Y=-RR1 A-15C0F1000
N2 X=100+RR1*SIN[CC] Y=-RR1*COS[CC] C=CC
CC=CC+CP
IF[CC LT 360]N2
N9 X=100+RR1*SIN[0] Y=-RR1*COS[0] C0
X100 Y0 A0
G170 (Tool Center Point Control OFF)
G130 (Super-NURBS OFF)
M10 (A clamp)
M26 (C clamp)
G0 Z1000 M9
M2

Any technical information is subject to change without notice.


Original doc.: OCJ NC school 05.第 5 章 同時 5 軸加工.doc

- 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.

Figure 6-1. Types of geometric errors

Spindle tilt error

Spindle Spindle

Figure 6-1. Types of geometric errors

Any technical information is subject to change without notice.


Original doc.: OCJ NC school 06.第 6 章 ファイブチューニング.doc

- 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

Any technical information is subject to change without notice.


Original doc.: OCJ NC school 06.第 6 章 ファイブチューニング.doc

- 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.

Measuring mode PIVOT SHIFT TILT ERROR XYZ


SQUARENESS
Full ○ ○ ○
Middle ○ ○ ×
Simple + ○ △※ ×
Simple ○ × ×
Check × × ×
※:Only the tilt error in the same direction as tilt axis rotation direction
[Note]
1) When executing measurement operation with a workpiece, measuring operations with more
measuring points increases odds of interference between machines and workpieces. Check for
interference while measuring.
2) The CHECK mode is used to check machine errors (MEASURED VOLUMETRIC ERROR)
without executing a calculation of geometric parameters.

Figure 6-5. Geometric error automatic measurement screen (Measuring mode)

Any technical information is subject to change without notice.


Original doc.: OCJ NC school 06.第 6 章 ファイブチューニング.doc

- 46 -

You might also like