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

LinkedIn recommends the new browser from Microsoft. Download now dismiss

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
  • Twitter
Share 24 Comments Chase Hettinger Chase Hettinger

Owner of Consolidated Precision Manufacturing

5y
  • 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 Basavraj Indi

Siemens NX CAM, CNC Machine, Postprocessor Development, Machine Simulation, NX Post Builder & Post Configurator, XML & TCL Scripting, Visual Studio, Azure DevOps, Agile Methodologies, Scrum Framework

5y
  • Report this comment

Well explained, Thanks for this useful information.

Like Reply 1 Reaction kaleem khan kaleem khan

Staff Manager at Alsons Group of Industries

5y
  • Report this comment

Very informative article.nice

Like Reply 1 Reaction Yunus Çoban Yunus Çoban

Solution Architect

5y
  • 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 Cristinel Pricop

cnc programmer/setter/operator/technical support

6y
  • Report this comment

thanks

Like Reply 1 Reaction See more comments

To view or add a comment, sign in

No more previous content
  • A Windows 10 'hack'​ for WinHelp

    A Windows 10 'hack' for WinHelp

    Mar 1, 2017

  • Share Your Knowledge

    Share Your Knowledge

    Jan 30, 2017

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

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

    Jan 20, 2017

  • SIEMENS 840D - Creating Custom Cycles

    SIEMENS 840D - Creating Custom Cycles

    Dec 18, 2016

  • SIEMENS 840D - Creating Custom M-Codes

    SIEMENS 840D - Creating Custom M-Codes

    Dec 14, 2016

  • SIEMENS 840D - Important Rotary Axis Settings

    SIEMENS 840D - Important Rotary Axis Settings

    Nov 17, 2016

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

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

    Oct 24, 2016

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

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

    Oct 5, 2016

  • Thread Re-Cutting Made Simple by Weiler

    Thread Re-Cutting Made Simple by Weiler

    Aug 13, 2016

  • CAM Software Vendors and Post-Processors

    CAM Software Vendors and Post-Processors

    Jun 6, 2016

No more next content See all

Insights from the community

  • Manufacturing Which CNC machining services offer the most advanced automation capabilities?
  • Robotics How can CNC programming help robots in automotive, aerospace, and healthcare industries?
  • Robotics How do you select machine tools for robots?
  • Mechanics How do you troubleshoot a stepper motor?
  • CNC Manufacturing How do you prevent and recover from CNC machine crashes?
  • Robotics How can you select the best cutting tools for robotic applications?
  • Robotics How can you customize a CNC program for your robot?
  • Robotics What are the top trends for CNC programming for robots?
  • Robotics What safety measures are needed when programming CNC robots?
  • Aviation What are the newest trends in aircraft engine maintenance?
Show more Show less

Others also viewed

  • CNC Machines

    Afshin Ashofteh, PhD, MBA 1y
  • AUTOMATION & INNOVATION IN ATOMAT/GIANA CNC MACHINES

    Andrea Colussi 2y
  • Application of VFD (Variable-frequency Drive) on CNC machine tool spindle

    Jane zhang 1y
  • Application of Sunwoele HSF600 VFD (Variable-frequency Drive) on CNC machine tool spindle

    Jane zhang 1mo
  • Automation – Analyzing a Cobot CNC Machine Tending Application

    Chris Stergiou 2y
  • Delta's VFD (Variable-frequency Drive) is applied to CNC machine tools

    Jane zhang 1y
  • Sunwoele VFD (Variable-frequency Drive) application in CNC machine tools

    Jane zhang 3mo
  • Sunwoele VFD (Variable-frequency Drive) was successfully applied on large CNC lathes

    Jane zhang 7mo
  • Application of Sunwoele VFD (Variable-frequency Drive) on CNC machine tools

    Jane zhang 1y
  • The development of the components and standard parts industry

    Mark Moody 2y
Show more Show less

Explore topics

  • Sales
  • Marketing
  • IT Services
  • Business Administration
  • HR Management
  • Engineering
  • Soft Skills
  • See All

Từ khóa » G68.2 Cnc