You are on page 1of 37

5-Axis Machining – Some Best Practices

Longxiang Yang
FANUC America
IMTS 2018 Conference
September 11, 2018
Full Utilization of 5-axis Machines
• 5-axis machines were developed and
used in production more than 50
years
• Because of limitation of computing
hardware, the compensation
functions were not available in early
use. FANUC developed tool length
compensation for Ingersoll 5-axis
machines in late 80s.
• Many advanced 5-axis functions have
been developed in the last 20 years.
These functions greatly enhanced the
application of 5-axis machines.
Full Utilization of 5-axis Machines
• However, in many machine shops, these functions are not used due to
unawareness or lack of understanding.
• A story about a job shop in Seattle area
– 5-axis machines with table-table configuration from OKK, Matsuura and GROB
– Customer used some 5-axis functions like TCP and WSEC but has stopped using them
since the NC programmer left
5-axis Machining Process
Positional (3+2) 5-axis Machining Applications
Rotary axes do not move in a cutting block. Only X, Y and Z-axis
are commanded in a cutting block.
1. Cutting multi-sided parts
• Rotate tool/table to be perpendicular to part surface
• Establish new program coordinate using Tilted Working
Plane Command
• Machining is done in 2.5D or 3D milling
2. Roughing 3D surface parts
• Mainly used in 3D surface roughing
• Rotate tool to a vector position that provides optimum
cutting results
5-axis Machining Process
Simultaneous 5-axis Machining Applications
Rotary axes move in a cutting block. All five axes X, Y, Z, A and C
are commanded in a cutting block
1. Part Cutting
• Thin wall structure, such as turbine blades, rib and spar of
airplanes
• Both tool side and tool tip are used in cutting
2. Mold Cutting
• 3-D sculptured surface, such as die and mold
• Only tool tip is used in cutting
Use of 3+2 Machining vs Simultaneous Machining
• A small sampling of machine shops in Seattle area shows that
about 40%-50% of 5-axis machines are used in 3+2 machining
• Mainly on table-table machines for smaller parts
Advantages of 5-axis Machining
Easy Setup for Machining 3-axis machine 5-axis machine
• Reduce setup time and setup error
• Reduce fixture cost
• Reduce machining time by about 20-30%

Use of Short Tool 3-axis machine 5-axis machine


• Increase machining speed
• Better surface
• Increase tool life
Advantages of 5-axis Machining
Machining Cavity 3-axis machine 5-axis machine
• Increase part surface accuracy

Optimization of Tool Cutting Point


• Increase surface accuracy 3-axis machine 5-axis machine
• Increase tool life
Advantages of 5-axis Machining
Efficient Machining with Tool Side Factors that Limited Application of 5-
• Increase surface accuracy axis Machines in the Past
• Reduce machining time significantly • Higher cost of machines
• More complex operations
• Difficult to program
• Lack of good CNC 5-axis functions
• Not easy to understand and use 5-axis
functions

3-axis machine 5-axis machine


CNC Functions for 5-axis Machining
CAD/CAM Simulation CNC/Servo Setup Actual Cutting Part Inspection

Z Y
X

Servo Guide
3D Viewer

Good CNC Functions for 5-axis machining


• Compensation for tool length and radius • Fine surface finish
• Choice of programming coordinate for • Easy setup and calibration
simultaneous 5-axis machining • Real time interference check
• Compensation for workpiece • Volumetric machine error compensation for
• Easy and flexible programming for 3+2 linear and rotary axes
machining • Optimization of post processor
CNC Functions for 5-axis Machining
Tool Center Point Control (TCP) – Tool Length Compensation
Features need to be considered:
• Control tool center point (TCP): control point is tool center point not pivot point
• Control tool vector: tool posture control
• Use of different types of tool: cutting point command
• Choice for programming: physical rotary angles such as B/C or A/B and tool vector in I/J/K
TCP with physical rotary axes
G43.4 H1
Xx Yy Zz Aa Bb

TCP with tool vector I/J/K


G43.5 H1
Xx Yy Zz Ii Jj Kk
Control point is pivot point Control point is TCP

TCP generates more accurate surface


CNC Functions for 5-axis Machining
Tool Center Point Control (TCP) – Tool Length Compensation
Without Tool posture control:
Two rotation axes are linearly interpolated and tool posture may not be on a plane
With Tool posture control:
Two rotation axes are controlled so that tool posture is on a plane

Posture Control OFF Posture Control ON


CNC Functions for 5-axis Machining
Tool Center Point Control (TCP) – Tool Length Compensation
Cutting point command Cutting point command
Same program can be used with different G43.8 H1
types of tools Xx Yy Zz Aa Bb L2 Ii Jj Kk
CNC Functions for 5-axis Machining
3D Cutter Compensation (3DCC) – Tool Cutter Compensation
Features need to be considered:
• Tool side offset
G41.2 (G42.2) D1 ;
• Leading edge offset
G41.3 D1 ;

Tool axis Offset plane Tool axis

Offset plane

Offset vector

Offset path Programmed path Offset vector


Programmed path Offset path

Tool side offset Leading edge offset

TCP and 3DCC are the most important compensation functions for 5-axis machines
CNC Functions for 5-axis Machining
Choice of Programming Coordinate
Two program coordinate systems:
• Workpiece-based coordinate (WBC) – fixed on machine coordinate, not rotate
• Table-based coordinate (TBC) – fixed on table, rotate with table rotary axes
Background
• Part is designed in modal space in CAD/CAM without machine type information
• Postprocessor outputs programs for tool type, or table type, or mixed type, and program
coordinate needs to be selected
• Without TCP, program is always posted in workpiece coordinate (rotation centerline) for
table type
Advantages of Table Coordinate
• Easier to understand program
• Both physical angles and tool vector in TCP can be applied
Recommendation:
• Use table-based coordinate for table and mixed type
CNC Functions for 5-axis Machining
Choice of Programming Coordinate
How does it work

• Program X, Y and C so tool


moves along the edges of Move to Point 1: Move to Point 2:
rectangle In table coordinate: X0 Y0 C0 In table coordinate: X10 Y0 C90
• X/Y/Z – workpiece ABS X=0, Y=0, MACH X=10, Y=50 ABS X=10, Y=0, MACH X=0, Y=30
coordinate In workpiece coordinate: X0 Y0 C0 In workpiece coordinate: X-10 Y-20 C90
• X’/Y’/Z’ - table coordinate ABS X=0, Y=0, MACH X=10, Y=50 ABS X=-10, Y=-20, MACH X=0, Y=30
• G54 = (10, 50, 0)
CNC Functions for 5-axis Machining
Workpiece Setting Error Compensation – Dynamic Compensation for Workpiece
• Apply on top of conventional workpiece coordinate such as G54-G59 and dynamically
compensate any misalignment in TCP and 3DCC
• Significantly reduce setup time for 5-axis machining
• Workpiece setting errors: translational Δx, Δy, Δz and rotational (in R-P-Y) Δa, Δb, Δc
• G code format
G54;
G54.4 P1;
G43.4 H1;
CNC Functions for 5-axis Machining
Workpiece Setting Error Compensation – Dynamic Compensation for Workpiece
• How does it work C

Z Y Z’
Y’
X X’
G54 at table
rotation center G54.4 P1

C=0 C=90 C=90

Y’ 4 3
Y Y
Y
10
X X G54 X
1 2 X’ G54 Y’
G54
10 1 4 1 4
Work coordinate X’
table coordinate Y’ G54.4 P1
G54.4 P1
2 3 2 3
X’

Table coordinate Workpiece coordinate


CNC Functions for 5-axis Machining
Tilted Working Plane Command – Flexible and Easy Programming for 3+2
Machining
• A method to establish new program coordinate
system so that
– 2.5D or 3D milling can be done in a slanted surface
– Canned cycles or custom cycles can be used
– Same feature on different planes can be machined
using the same program
• Similar to 3D Coordinate Conversion, but more
comprehensive.
• In the past, it was limited to 3-axis compensation, i.e.,
only G43 and G41/G42 can be used.
• Now, it allows 5-axis compensation, such as TCP and
3DCC with Workpiece Setting Error Compensation
CNC Functions for 5-axis Machining
Tilted Working Plane Command – Flexible and Easy Programming for 3+2
Machining
Flexible Command Formats Easy Programming on CNC Euler’s Angle Transformation
• Euler’s Angle z

• Roll-Pitch-Yaw Angles y’
y
• Three Points α
• Two Vectors x x’
z y’’
• Projection Angles z’’
β
• Tool Axis Direction β y’

Program Format (Euler’s angle)


G68.2 Xx Yy Zz Ii Jj Kk
X’
G53.1 (automatically position Yc y’’
rotary axes to make tool Zc γ
perpendicular to the
Xc
slanted plane) γ
x’
CNC Functions for 5-axis Machining
Fine Surface Finish
High Speed Smooth TCP: Smooth Tolerance+ Control:
• Smoothing rotary axes • Smoothing tool center point
• Smoothing tool center point (different algorithm)
• Great for cutting with both tool side • Great for cutting 3D free surface
and tip such as airplane parts
CNC Functions for 5-axis Machining
Fine Surface Finish
High Speed Smooth TCP cutting example:
• Facets with High Speed Smooth TCP is OFF
• Facets is gone with High Speed Smooth TCP is ON
• Many customers like Boeing Portland and PMW in Seattle are using this functions

HS Smooth TCP OFF HS Smooth TCP ON

Faceted surface Smooth surface


CNC Functions for 5-axis Machining
5-axis Probing – Easy Setup and Calibration
• Measurement of features on a slanted surface: inspection
• Rotary axis calibration: check offset of rotation centerlines
• Measurement of Workpiece Setting Error
• By three spheres
• By a feature in TWP

Spindle Probe

Tooling ball
CNC Functions for 5-axis Machining
5-axis Probing – Easy Setup and Calibration
Easy input screens are developed
• Programming Screen: measurement

• Programming Screen: WSEC calculation and setting


CNC Functions for 5-axis Machining
Built-in 3D Interference Check
• Real time interference check during program
execution and manual operation
• Before collision occurs, CNC generates
interference alarm and movement is stopped
• Interference objects: tables, jigs, tool holders,
tools and workpiece
• This is particularly useful in 5-axis manual setup
• User can add multiple interference objects to a
machine for more accurate checking
CNC Functions for 5-axis Machining
3D Linear and Rotary Volumetric Error Compensation
• ISO 230-1: 21 errors for 3-axis mill and 6 errors for each rotary
• These errors are measured by laser tracker or interferometer
• The measured data is converted to FANUC data: δX, δY, δZ, δA,
δB and δC for 3D grid for linear axes and 2D grid for rotary
axes
• 3D linear and rotary volumetric compensation greatly
improves the machining accuracy
CNC Functions for 5-axis Machining
Servo Guide 3D Viewer
• 3D display of TCP path error and tool
posture by SERVO GUIDE
• Position data displayed
– Part program command
– CNC command
– Feedback SERVO GUIDE 3D tool path
• Surface finish defects can be analyzed
in 3D viewer and minimized by servo
tuning
Z
• Part program error can be easily found
in 3D view X Y
C
B Impeller
CNC Functions for 5-axis Machining
Servo Guide 3D Viewer
• Surface defect can be visually inspected and eliminated using Servo Guide
Magnified display of 3D error between Before tuning After tuning

command and feedback


Feedback path

Command path

Color-coded display of 3D path error Before tuning After tuning

color scale

Large deviation Small deviation


CNC Functions for 5-axis Machining
Servo Guide 3D Viewer (All in one screen: 2D/3D position and waveform in time domain)
CNC Functions for 5-axis Machining
Servo Guide 3D Viewer (Display of NC program position, CNC command and feedback position)
CNC Functions for 5-axis Machining
CAM Development
• PC software that will extract CNC configuration, option contents and parameter setup
• Assist CAM/Post software to generate proper G code programs and fully utilize 5-axis
machining functions

Parameters
Proper G code
Configuration

CNC PC software
Some Best Practices
1. TCP and 3DCC – Tool compensation 2. HSTCP/ST+C – Surface finish
• G code: • G code:
– TCP: G43.4 H1 – HSTCP: G43.4 H1 P3
– 3DCC: G41.2 D1 – ST+C: G5.1 Q3
• Obviously, these two functions are the • Combination with AICC (high speed
most important for 5-axis machining machining) provides better results
• Most other 5-axis functions are working • These two functions are enabled by G
together with TCP and 3DCC codes, but a lot of customers are not
• Without TCP and 3DCC, either “qualified aware of this.
tooling” has to be used for certified • Many customers have used these two
programs, or programs have to be functions and got very good results
generated for different tools (Boeing, PWM etc.)
• Lower tooling cost
• Save programming time
• Widely applied on 5-axis machines
Some Best Practices
3. WSEC – Dynamic workpiece offset 4. TWP – 3+2 machining
• G code: • G code:
G54.4 P1 G68.2
• Dynamically compensate workpiece offset • 6 formats of command to establish feature
setting error in translations and rotations coordinate, very flexible
• Work for both table-based program • A lot of 5-axis machines are mainly used
coordinate and machine-based program for 3+2 machining in industry
coordinate • Reduce programming time
• Reduce setup time • All 5-axis compensation functions such as
• Reduce fixture cost TCP can be used in TWP
• Many customers have used this function • Many customers have used this function
(Flow, Boeing, PWM, GKN/Six Digma, Line (Boeing, Exotic Metal, Primus etc.)
etc.)
Some Best Practices
5. 5-axis test part NAS 979 part
• NAS 979 Uniform Cutting Tests in 1969.
• The cone is used for testing 5-axis
machining. However, the uniform shape
does not reflect the complexity of in
production parts.
• Some customers like Boeing Portland
developed their own acceptance test
parts. These parts are designed to Boeing RR part
– reveal more defects on a machine
– setup issues for servo and CNC
• For large users, custom part can used for
acceptance test for all machines.
Some Best Practices
6. 5-axis probing part 7. Program verification in NCG
• Check probing cycle setup on CNC as part • NCGuide is CNC simulator on PC
of machine acceptance test • Configure same as CNC on a machine
• Used for measuring WSEC offset • More realistic program verification, such
• Good training tool for TWP as cutter comp interference check etc.
• More realistic estimate for cycle time
Boeing R2D2 part
Summary
• 5-axis machining has been widely used in manufacture because it provides many
advantages
• Many advanced CNC functions have been developed to support better utilization of 5-axis
machines
• A lot of end users are either unaware of the latest development or afraid of taking
advantage of the development due to lack of understanding
• The past development was mainly focused on tool/work compensation and high speed
machining
• The future development need to be focused on
– fine surface technology
– Easy of use/application
– AI application (machine/tool/machining condition/programming/CNC/Servo)
• As a leading CNC manufacturer FANUC, we will closely work with OEM, CAM companies,
NC programming community and end users to promote 5-axis machining technology
Global Machine Tool Consumption
Machine Tool Gardner 2016World Machine Tool Survey
• Global: $80 Billion (2015)
• US: $8 Billion (2015)

CNC Machine
• Global: about $50 Billion
(2015)
• US: about $7.25 Billion
(2015)
• Global growth to $55
Billion by 2021
(Technavio)
Global 5-axis Machine Consumption
Wise Guy Reports Technavio Forecast
• In 2014-2017, 5-Axis CNC
machining centers market
size to maintain the average
annual growth rate of 6.22%
• $1.26 billion in 2014
• $1.51 billion in 2017
• $2.13 billion by 2022

You might also like