FANUC G68.2 - 5-Axis Tilted Work Planes - LinkedIn

Agree & Join LinkedIn

By clicking Continue to join or sign in, you agree to LinkedIn’s User Agreement, Privacy Policy, and Cookie Policy.

Sign in to view more content

Create your free account or sign in to continue your search

Sign in

Welcome back

Email or phone Password Show Forgot password? Sign in

or

By clicking Continue to join or sign in, you agree to LinkedIn’s User Agreement, Privacy Policy, and Cookie Policy.

New to LinkedIn? Join now

or

New to LinkedIn? Join now

By clicking Continue to join or sign in, you agree to LinkedIn’s User Agreement, Privacy Policy, and Cookie Policy.

LinkedIn

LinkedIn is better on the app

Don’t have the app? Get it in the Microsoft Store.

Open the app Skip to main content
FANUC G68.2 - 5-Axis Tilted Work Planes
Belotti S.p.A.

While true 5-Axis simultaneous machining has definitely become more popular, the truth is that 5-Axis simultaneous is a very small part of machining when viewed in the context of all machining operations.

The overwhelming majority of 5-Axis machining operations are actually what can be more correctly classified as 3 + 2 operations. Meaning, the 5-Axis machine will position to a specific orientation with its two rotary axes then perform standard 2-1/2 Axis & 3-Axis operations.

With smaller work-pieces, 5-Axis machines with Table/Table or Dual-Rotary Table configurations accomplish this by simply rotating to align the Work Plane to be parallel to the XY-Plane (G17) and perpendicular to the Spindle/Z-Axis. With the larger work-pieces that are typical of Aerospace, Energy and Automotive industries, this type of machine is impractical.

Large work-pieces that require machining from various orientations are typically done with Head/Head or Articulating Head 5-Axis machines. A Head/Head machine achieves the required orientations by rotating and aligning the Spindle/Tool Axis to be perpendicular to the Work Plane that will contain the features to be machined.

In the past, this presented additional challenges as the CNC Control Systems were not powerful enough to help manage the various Work Plane orientations. Because of this limitation, many CNC Programming functions, that are taken for granted for 3-axis, could not be used. Circular Interpolation, Cutter Radius Compensation and Drilling Cycles are all standard programming tools that couldn't be used. This would be reflected in the NC code by large NC program files that were largely point-to-point movements.

As CNC Control Systems have become much more powerful, this problem is largely a thing of past. Almost every CNC control used on 5-Axis machines today has some version of a function for handling Tilted Work Planes. Among these are FANUC and SIEMENS, two of the most popular CNC Control Systems today.

While Tilted Work Plane functionality has pronounced benefits with Head/Head type 5-Axis Machines, It may also be used with Table/Table and Head/Table Hybrid 5-Axis machines. The reason for using it with such machines is decidedly different. We'll address those reasons in a future article.

Let's first take a look at how FANUC handles Tilted Work Planes for a Head/Head type 5-Axis Machine.

The FANUC command for Tilted Work Planes is G68.2 . G68.2 is the Absolute Mode (G90) command and is the most common. (NOTE: There is a variation of this command defined by G68.3). G68.4 is the Incremental Mode (G91) command.

The G68.2 Tilted Work Plane function allows user to define the Work Plane by Euler Angles, Roll-Pitch-Yaw, 3 Points, 2 Vectors, Projections Angles. The method of defining the Work Plane is designated by the P address.

  • G68.2 P0 (Euler Angles)
  • G68.2 P1 (Roll-Pitch-Yaw Angles)
  • G68.2 P2 (3 Points)
  • G68.2 P3 (2 Vectors)
  • G68.2 P4 (Projection Angles)

NOTE: When the P is not specified, a P0 is assumed for using Euler Angles.

Since Roll, Pitch and Yaw Angles are the most common used in Aerospace, let's construct a G68.2 command using Roll, Pitch and Yaw Angles.

G68.2 Roll Pitch Yaw Syntax

G68.2 P1 Q123 X_ Y_ Z_ I_ J_ K_

The P1 indicates a Tilted Work Planes definition via Roll, Pitch and Yaw Angles. X,Y,Z define the location of the Origin of the Tilted Work Plane using the base WCS (Work Coordinate System) of the part as the reference point. I,J,K define the Roll (about X), Pitch (about Y) and Yaw (about Z) Angles. The Q123 indicates the order in which the rotary axes are rotated. The order used will depend entirely upon the kinematic definition of the rotary axes for a given machine.

Q123 is the default for the I, J and K values. If the Q is not specified, Q123 is assumed.

In the above example, we have the following Tilted Work Plane properties.

  • Local Coordinate System Origin : (200.0, 0.0, 50.0)
  • Order of Rotary Axis Rotations : I, J, K (X, Y, Z)
  • Rotation about the X-Axis (Roll) : 30 Degrees
  • Rotation about the Y-Axis (Pitch): 0 Degrees
  • Rotation about the Z-Axis (Yaw) : 90 Degrees

This Tilted Work Plane is defined with the following G68.2 Statement.

G68.2 P1 Q123 X200.0 Y0 Z50.0 I30.0 J0.0 K90.0

There is another code associated with the use of G68.2 that creates a great deal of confusion in what it actually does. That code is G53.1. FANUC defines G53.1 as Tool Axis Direction Control. A much simpler and clear explanation is that G53.1 will cause the automatic positioning of the rotary axes required by the Tilted Work Plane and align the Tool/Spindle Axis to be perpendicular to the Tilted Work Plane. This results in the Tool/Spindle Axis being the Z-Axis of the LCS (Local Coordinate System). G53.1 must be output immediately after the G68.2 statement.

Caution must be exercised when using G53.1 as it will NOT adjust for the current tool location and it is possible to cause a serious collision if a proper approach position is not defined prior to the G68.2 Tilted Work Plane definition.

Another code that is even more misunderstood than G53.1. That code is G53.6. This essentially applies RTCP for the tool orientation positioning. Like G53.1, it must be immediately after the G68.2 call. However, G53.6 is not supported if G54.4 Work Setting Error Correction (Part Skew/Roto-Translation) will be used.

With the larger 5-Axis machines used in Aerospace, it's quite common to find C-Primary/B-Secondary or C-Primary/A-Secondary Head/Head machines. These configurations lend themselves, quite nicely, to the use of the Roll, Pitch, Yaw method of Tilted Work Plane definition as these relate directly to the specific rotary axes of a given machine.

Looking down along the POSITIVE axis normal towards the origin:

A-Axis rotates in the + direction CCW about (parallel to) the X-axis. B-Axis rotates in the + direction CCW about (parallel to) the Y-axis. C-Axis rotates in the + direction CCW about (parallel to) the Z-axis.

Therefore:

  • Roll Axis = Rotary Axis 'A'
  • Pitch Axis = Rotary Axis 'B'
  • Yaw Axis = Rotary Axis 'C'

For our example, let's assume we have a C/A Head/Head 5-Axis machine. The secondary axis is also sometimes referred to as the 'Slave' axis in that its position is dependent upon where the C-Axis is currently located. For this configuration, we must define the order of axis rotation as Q312. The C-Axis is the primary axis and will rotate first, The A-Axis is secondary and will rotate second.

Once we have defined a Tilted Work Plane, we can then program standard toolpath operations as if they are in the XY-Plane (G17). Any operation defined within a G68.2 statement and G69 cancellation of the Tilted Work Plane is done using the LOCAL XY-Plane and LOCAL coordinates of that Tilted Work Plane.

Below is a graphic that displays the practical application of Tilted Work Planes for 3+2 machining along with 5-Axis simultaneous machining in the context of an actual part. You may download the actual NC Code file as well as the original Mastercam file that was used to generate it.

You can also download a second NC Code File that uses G68.3 for creating the Tilted Work Plane. The graphic below displays the use of G68.3 for the same Tilted Work Plane orientation in our original G68.2 example above. However, like G53.6, G68.3 is not supported if G54.4 Work Setting Error Correction (Part Skew/Roto-Translation) will be used.

In my next article, we'll deal with the SIEMENS CYCLE800 function for Tilted Work Planes.

Like Like Celebrate Support Love Insightful Funny Comment
  • Copy
  • LinkedIn
  • Facebook
  • X
Share 24 Comments Chase Hettinger, graphic Chase Hettinger 6y
  • Report this comment

Could you use a “G52 X.001Y.001” after a g68.2 & g53.1 to comp that face? If your machine isn’t accurate or you just need to comp a certain face a little bit to get those feature locations dialed in?

Like Reply 1 Reaction Basavraj Indi, graphic Basavraj Indi 6y
  • Report this comment

Well explained, Thanks for this useful information.

Like Reply 1 Reaction kaleem khan, graphic kaleem khan 7y
  • Report this comment

Very informative article.nice

Like Reply 1 Reaction Yunus Çoban, graphic Yunus Çoban 7y
  • Report this comment

Hello Tim, Thanks for your post, it is very clear.  My question is about alternative angle solution. For some cases, (generally based on the machine head geometry) the machine  rotational axes must  use other angle solution to avoid clashes between  the machine head and the part.  For  example, Heidenhain SEQ -/+ command is used for the alternative angle soluion.   For Fanuc, what is the way of this? Sample NC: ...... N23 (HEAD ROTATION: B90. C0.)            (Other angle solution : B-90 C:180)  N24 G68.2 X0. Y0. Z0. I90. J90. K0. N25 G53.1 ....... Thanks, Yunus

Like Reply 1 Reaction Cristinel Pricop, graphic Cristinel Pricop 7y
  • Report this comment

thanks

Like Reply 1 Reaction See more comments

To view or add a comment, sign in

More articles by Tim Markoski

  • A Windows 10 'hack' for WinHelp Mar 1, 2017

    A Windows 10 'hack' for WinHelp

    Any developer or technical writer, working with Windows, is well aware that WinHelp was discontinued by Microsoft with…

    2 Comments
  • Share Your Knowledge Jan 30, 2017

    Share Your Knowledge

    I've written a number of useful publications here and on my own tech blog. It still surprises me that many people ask…

    12 Comments
  • ObjectDialogue™ - A File Open/Save Dialogue Replacement for Developers Jan 20, 2017

    ObjectDialogue™ - A File Open/Save Dialogue Replacement for Developers

    Many times in software development, it's desirable to keep the development as simple and lightweight as possible. This…

    3 Comments
  • SIEMENS 840D - Creating Custom Cycles Dec 18, 2016

    SIEMENS 840D - Creating Custom Cycles

    In a previous article, we discussed how to create Custom M-Codes for the SIEMENS 840D sl CNC Control. We will now…

    10 Comments
  • SIEMENS 840D - Creating Custom M-Codes Dec 14, 2016

    SIEMENS 840D - Creating Custom M-Codes

    Many times in the course of manufacturing, it is common to find that there are many tasks that can be simplified and/or…

    5 Comments
  • SIEMENS 840D - Important Rotary Axis Settings Nov 17, 2016

    SIEMENS 840D - Important Rotary Axis Settings

    Axis Data Parameter MD 30455 can be your best friend when needing to configure your 5-axis CNC Machining Center for…

    4 Comments
  • STILES Machinery now offers AlphaCAM Advanced 5-Axis Post-Processors Oct 24, 2016

    STILES Machinery now offers AlphaCAM Advanced 5-Axis Post-Processors

    Stiles Machinery, Inc http://www.stilesmachinery.

  • FANUC G43.5 RTCP Type II - Vector Programming for 5-Axis Oct 5, 2016

    FANUC G43.5 RTCP Type II - Vector Programming for 5-Axis

    G43.5 RTCP Type II In a previous article we discussed the SIEMENS Vector format for 5-Axis.

    3 Comments
  • Thread Re-Cutting Made Simple by Weiler Aug 13, 2016

    Thread Re-Cutting Made Simple by Weiler

    Anyone who has machined threads of any kind has had the unenviable task of having to re-cut threads at some point…

    15 Comments
  • CAM Software Vendors and Post-Processors Jun 6, 2016

    CAM Software Vendors and Post-Processors

    I chose to write this article because of a repeated problem I see with CAM software vendors. They charge quite…

    13 Comments
Show more See all articles

Others also viewed

  • Myths and Facts About CNC Simulation

    Manus Software 1y
  • CNC Machining Tool What’s Driving the Growth For CNC Machining Tool Trends?

    Jenny Yee (Creatingway) 2y
  • Contrinex Provides A Choice of Spindle Monitoring Options for a CNC Machine Manufacturer.

    Mark Weymouth🏭📈 1y
  • What Are the Next-Gen. requirements in CNC Turning Centers, Machining Centers, & Turn-Mill Machines?

    RAHUL SINGH 11mo
  • CNC West Magazine: W Machine Works - Harnessing Technology and Trust to Shape the Future

    W Machine Works, Inc. 7mo
  • Why You Win with the FANUC RoboDrill

    Methods Machine Tools, Inc. 1y
  • EMAG UPDATE: Invitation to EMO in Hanover and upcoming EMAG webinars

    EMAG Group 4mo
  • EMAG UPDATE: MSC 5 DUO, USC 850 and Webinars

    EMAG Group 7mo
  • Shaping the Future with Taiwan's CNC Expertise at IMTEX 2025

    Taiwan Excellence India 11mo
  • What Makes CNC HMC Machines a Game Changer for Manufacturing Complex Parts?

    S&T Machinery Pvt LTD 3mo
Show more Show less

Explore content categories

  • Career
  • Productivity
  • Finance
  • Soft Skills & Emotional Intelligence
  • Project Management
  • Education
  • Technology
  • Leadership
  • Ecommerce
  • User Experience
  • Recruitment & HR
  • Customer Experience
  • Real Estate
  • Marketing
  • Sales
  • Retail & Merchandising
  • Science
  • Supply Chain Management
  • Future Of Work
  • Consulting
  • Writing
  • Economics
  • Artificial Intelligence
  • Employee Experience
  • Workplace Trends
  • Fundraising
  • Networking
  • Corporate Social Responsibility
  • Negotiation
  • Communication
  • Engineering
  • Hospitality & Tourism
  • Business Strategy
  • Change Management
  • Organizational Culture
  • Design
  • Innovation
  • Event Planning
  • Training & Development
Show more Show less

Từ khóa » G68.2 Cnc