SmartCAM
Published

Understanding 3D Coordinate Conversion

Applications for five-axis machining fall into two distinct categories. The first is related to machining very complex shapes, as is required in aerospace and the mold industry.

Share

Applications for five-axis machining fall into two distinct categories. The first is related to machining very complex shapes, as is required in aerospace and the mold industry. When machining 3D shapes, it is often advantageous (if not necessary) to keep the cutting tool perpendicular to the surface being machined. This is possible through the articulation of three linear axes (X, Y and Z) and two rotary axes (commonly A and B). Since this kind of work tends to be so complex, a CAM system is required to create the CNC program.

A second application for five-axis machining (the one we address in this column) is not nearly as complex. Many workpieces have surfaces to be machined that are not at right angles. The five axes (again, X, Y, Z, A and B) are simply required to expose the surface to the spindle for machining. Once exposed, machining will occur in a relatively simple plane. Most five-axis programmers in this category would agree that you need a CAM system to create programs for this application, even for simple operations such as drilling, due to the unusual surface angles involved.

You probably know that all simple three-axis CNC machining center controls allow you to specify plane selection commands. G17 is commonly used to specify the X/Y plane, G18 for X/Z and G19 for Y/Z. However, these commands require that the surfaces to be machined be in 90-degree increments. These commands are helpful with right angle heads and allow many of the same programming features that are used in the X/Y plane to be used in X/Z and Y/Z planes.

While these simple plane selection commands are very helpful for three-axis machining centers, they do little to help five-axis machining center programmers. Again, surfaces that must be machined are often not at simple right angles to one another. The 3D coordinate conversion allows the programmer to define a plane for any surface in which machining is to take place. In essence, it allows variable plane selection. As with G17, G18 and G19, once a plane is defined, almost all programming features allowed in the X/Y plane will be available in the plane being defined. This can dramatically simplify the programming of five-axis machining centers. In some applications, programmers are actually able to develop programs manually. Again, all machining is taking place in a simple two-direction plane.

Controls vary when it comes to just exactly how you define the plane in which machining is to be done. One popular control manufacturer uses a G68 command for this purpose. In this command an X, Y and Z value specify a point through which the plane will be passing. Additionally, an I, J or K value specifies the axis that the plane will be rotated about (I for X, J for Y, K for Z). An R word in the command specifies the angle of rotation for the plane (from normal). The command N020 G68 X0 Y0 Z0 I0 J1 K0 840.0 for example, will define a plane that passes through the program 0 point. It will be rotated at 40 degrees about the Y axis. Note that this is still a relatively simple plane. By adding a second G68 command we could continue defining the plane to be used for machining, rotating it in two directions. Again, any surface to be machined on the workpiece can be defined in this manner, regardless of how complex the plane.

If you're going to be purchasing a five-axis machining center for work in this category, we'd urge you to look into this program simplifying feature.

HCL Software
SmartCAM
JTEKT
The Automated Shop Conference
New Micro Drills for Titanium at IMTS 2024
IMTS 2024
Hurco
Precision Components
An ad for Formnext Chicago on April 8-10, 2025.
air compressors for machining at IMTS
New Starrett W4900 Indicator
Meet us at booth 338190 - CHIRON Group

Related Content

Basics

6 Variations That Kill Productivity

The act of qualifying CNC programs is largely related to eliminating variations, which can be a daunting task when you consider how many things can change from one time a job is run to the next.

Read More
Turn/Mill

How to Start a Swiss Machining Department From Scratch

When Shamrock Precision needed to cut production time of its bread-and-butter parts in half, it turned to a new type of machine tool and a new CAM system. Here’s how the company succeeded, despite the newness of it all. 

Read More
Aerospace

10 Tips for Titanium

Simple process considerations can increase your productivity in milling titanium alloys.

Read More
Grinding

10 Things to Know About Creep-Feed Grinding

Because of the high material removal rate creep-feed grinding can deliver in challenging materials, grinding might not be just the last step in the process—it might be the process.

Read More

Read Next

Encountering Surface Finishes in the Everyday World

Surface measurement is becoming increasingly important to ensure proper performance of a manufactured product. Advanced surface measurement tools are not only beneficial in the manufacturing industry but also have unconventional applications.

Read More

3 Mistakes That Cause CNC Programs to Fail

Despite enhancements to manufacturing technology, there are still issues today that can cause programs to fail. These failures can cause lost time, scrapped parts, damaged machines and even injured operators.

Read More

The Automation Event for CNC Machine Shops

Get sensible, real-world automation solutions during this half-day workshop co-located with IMTS 2024.

Read More
HCL Software