& Construction

Integrated BIM tools, including Revit, AutoCAD, and Civil 3D
& Manufacturing

Professional CAD/CAM tools built on Inventor and AutoCAD
Integrated BIM tools, including Revit, AutoCAD, and Civil 3D
Professional CAD/CAM tools built on Inventor and AutoCAD
Transcript
00:02
In this lesson, we'll compare postal code for multi-axis positioning.
00:09
After completing this lesson, you'll be able to create NC code and analyse code differences for angular rotation.
00:17
In Fusion 360, we want to carry on with our multi-axis positioning.
00:22
From here, we want to take a look at what the code looks like for multi-axis positioning.
00:26
If you remember in our first operations, our coordinate system is located on the top of the part with Z pointing up.
00:33
However, when we get to our patterns, the coordinate system rotates based on that WCS.
00:40
Now there are some things that we need to consider based on the specific post processors that we're using,
00:46
and that some of the selections that we've made.
00:49
So to get started, I'm only going to select spot 5X one, and I want to try to post this.
00:56
We're going to be taking a look at both Hurco and Mazak posts.
01:01
You can do this by filtering by milling, selecting the vendor or by simply searching based on text.
01:08
There are two Hurco posts in here right now.
01:11
The generic Hurco and the 3D, and we're going to be just using the one that says hurco end posting.
01:19
When we do this, you might notice that you get a log file in an error.
01:24
Now often times when we get these errors, especially in these multi-axis parts, it can be extremely difficult to try to figure out what's happening.
01:32
When we take a look at this, notice that it tells us that the work offset has not been specified using G54 as WCS.
01:42
When we see that, this instantly makes us think that we need to go back to our setup or back somewhere to make that distinction as to what the WCS is.
01:50
However, it's telling us that the depth is invalid, so the actual error is telling us that the depth is invalid.
01:58
When we see something like this, I always want to go back to that original operation, and I want to take a look at what we've done.
02:06
First, our coordinate system has been set up based on the selected hole.
02:11
Everything there is fine, there's no problems.
02:14
We can make a different selection if we needed to but I don't think there's any problem with that.
02:18
Where I think we start to get into trouble with some of these is that we've actually selected a hole that we're not drilling down to.
02:26
In most cases, when you select a hole, it's not going to have this counter bore.
02:30
So in order to fix this issue, I'm going to reselect the hole as this edge here.
02:35
Then when we go to our depths, I'm going to get rid of this offset value and simply allow it to drill based on the whole bottom and say ‘okay’,
02:50
notice it's telling us it failed to evaluate because we actually need to have a number in the offset and we'll say ‘okay’.
02:57
Now that we have this one operation updated, let's try to repost it using the same Hurco and just see if we get any outputs.
03:06
With that difference in the selection, now we actually have an output for that spot 5X operation.
03:14
So knowing that we'll come back and we'll make some adjustments,
03:17
and we'll take a look at what this means but let's go ahead and fix everything else first.
03:22
We take a look at the spot drill.
03:25
We're going to rotate this around, and once again for a whole geometry,
03:28
we're going to select this position and for our heights, we're going to use the whole bottom with no offset in here.
03:36
So this should post ‘okay’ but let's double check the drilling.
03:40
Let's see if we can actually post just a drilling operation to that same post processor or maybe that has issues as well.
03:47
So the drilling operation post just fine and oftentimes when we're dealing with these problems, it can be extremely helpful to do one post at a time.
03:56
So now that we validated both the spot and the drilling operations are able to post, we could go back and make some adjustments for how deep that is.
04:05
But for right now, what I want to do is I want to take a look at both.
04:08
Spotting 5X position one and two, and once again post them to that Hurco post processor.
04:16
When we're talking about multi-axis positioning,
04:19
the type of machine controller and the type of post configuration we use will give you different results.
04:26
What we're going to talk about here is something called G68.2, which we can find here online 19, G68.2 is a tilted work plane reference code.
04:39
There are other codes that go along with it, like G8.2.
04:43
In some cases, G53.1.
04:46
These are going to be tool access control in X, Y and Z.
04:51
The main thing that I want to focus on when we look at this is the fact that we have this X, Y and Z, which is our standard coordinate system.
04:60
But then we have I, J and K values, and then we have U, V and W1.
05:06
The I, J and K values are going to be those rotation angles, and when we talk about the use of G68.2.
05:15
Often times there's additional code that goes along with that in a P reference,
05:20
that p reference will often times let you use things like Euler angles or roll pitch yaw angles, three points or two vectors.
05:30
And again, it really depends on the specific post processor.
05:34
We're going to take a look at Mazak milling.
05:38
And in this case, I'm just going to simply select the generic Mazak and try to post this and see if it supports multi-axis.
05:46
So when we take a look at the Mazak, again we have that G68.2 and the G68.2 again is that tilted work plane reference.
05:56
But in this case, we have X, Y and Z but then we have A, B and C.
06:01
These A, B and C are the rotation angles that we would typically associate with 4th, 5th and potentially a 6th axis.
06:10
So in this case for spot 5X position one, A is rotating 45 degrees and B is rotating 90.
06:20
When we go to position 2A is -45 and B is 90.
06:27
So when we take a look at this, when we're going from our default X, Y, Z, and we're going to position one.
06:34
What we're doing is we're rotating 45 degrees about the Y axis to get our Z coordinate location.
06:42
And we're rotating 90 degrees about the X axis to get the correct orientation for drilling that hole.
06:52
So again, that's that A45 and B90.
06:56
When we go to position 2, again we're still rotating that 90 degrees about the original X axis.
07:03
But we're rotating -45 about the Y.
07:06
So these two holes are 90 degrees apart,
07:08
but they're rotating 45 degrees in the positive direction or 45 in the negative direction based on their orientation.
07:17
So this is why it's so important when we're talking about multi-axis positioning to understand the coordinate system,
07:25
and also understand what your machine is looking for.
07:28
Understanding the A and the B references for that 4th and 5th axes
07:33
are really going to help you understand when you start to look at the code
07:36
that is actually coming out of fusion when you want to run this on your machine.
07:41
Now that we've taken a look at some of the basics of the code that we see when we're talking about 3+2 or multi-axis positioning,
07:50
and we've created our spot and our drilling operations as well as the pattern for those,
07:55
this is a great time for us to go ahead and save this before moving on to the next step.
Video transcript
00:02
In this lesson, we'll compare postal code for multi-axis positioning.
00:09
After completing this lesson, you'll be able to create NC code and analyse code differences for angular rotation.
00:17
In Fusion 360, we want to carry on with our multi-axis positioning.
00:22
From here, we want to take a look at what the code looks like for multi-axis positioning.
00:26
If you remember in our first operations, our coordinate system is located on the top of the part with Z pointing up.
00:33
However, when we get to our patterns, the coordinate system rotates based on that WCS.
00:40
Now there are some things that we need to consider based on the specific post processors that we're using,
00:46
and that some of the selections that we've made.
00:49
So to get started, I'm only going to select spot 5X one, and I want to try to post this.
00:56
We're going to be taking a look at both Hurco and Mazak posts.
01:01
You can do this by filtering by milling, selecting the vendor or by simply searching based on text.
01:08
There are two Hurco posts in here right now.
01:11
The generic Hurco and the 3D, and we're going to be just using the one that says hurco end posting.
01:19
When we do this, you might notice that you get a log file in an error.
01:24
Now often times when we get these errors, especially in these multi-axis parts, it can be extremely difficult to try to figure out what's happening.
01:32
When we take a look at this, notice that it tells us that the work offset has not been specified using G54 as WCS.
01:42
When we see that, this instantly makes us think that we need to go back to our setup or back somewhere to make that distinction as to what the WCS is.
01:50
However, it's telling us that the depth is invalid, so the actual error is telling us that the depth is invalid.
01:58
When we see something like this, I always want to go back to that original operation, and I want to take a look at what we've done.
02:06
First, our coordinate system has been set up based on the selected hole.
02:11
Everything there is fine, there's no problems.
02:14
We can make a different selection if we needed to but I don't think there's any problem with that.
02:18
Where I think we start to get into trouble with some of these is that we've actually selected a hole that we're not drilling down to.
02:26
In most cases, when you select a hole, it's not going to have this counter bore.
02:30
So in order to fix this issue, I'm going to reselect the hole as this edge here.
02:35
Then when we go to our depths, I'm going to get rid of this offset value and simply allow it to drill based on the whole bottom and say ‘okay’,
02:50
notice it's telling us it failed to evaluate because we actually need to have a number in the offset and we'll say ‘okay’.
02:57
Now that we have this one operation updated, let's try to repost it using the same Hurco and just see if we get any outputs.
03:06
With that difference in the selection, now we actually have an output for that spot 5X operation.
03:14
So knowing that we'll come back and we'll make some adjustments,
03:17
and we'll take a look at what this means but let's go ahead and fix everything else first.
03:22
We take a look at the spot drill.
03:25
We're going to rotate this around, and once again for a whole geometry,
03:28
we're going to select this position and for our heights, we're going to use the whole bottom with no offset in here.
03:36
So this should post ‘okay’ but let's double check the drilling.
03:40
Let's see if we can actually post just a drilling operation to that same post processor or maybe that has issues as well.
03:47
So the drilling operation post just fine and oftentimes when we're dealing with these problems, it can be extremely helpful to do one post at a time.
03:56
So now that we validated both the spot and the drilling operations are able to post, we could go back and make some adjustments for how deep that is.
04:05
But for right now, what I want to do is I want to take a look at both.
04:08
Spotting 5X position one and two, and once again post them to that Hurco post processor.
04:16
When we're talking about multi-axis positioning,
04:19
the type of machine controller and the type of post configuration we use will give you different results.
04:26
What we're going to talk about here is something called G68.2, which we can find here online 19, G68.2 is a tilted work plane reference code.
04:39
There are other codes that go along with it, like G8.2.
04:43
In some cases, G53.1.
04:46
These are going to be tool access control in X, Y and Z.
04:51
The main thing that I want to focus on when we look at this is the fact that we have this X, Y and Z, which is our standard coordinate system.
04:60
But then we have I, J and K values, and then we have U, V and W1.
05:06
The I, J and K values are going to be those rotation angles, and when we talk about the use of G68.2.
05:15
Often times there's additional code that goes along with that in a P reference,
05:20
that p reference will often times let you use things like Euler angles or roll pitch yaw angles, three points or two vectors.
05:30
And again, it really depends on the specific post processor.
05:34
We're going to take a look at Mazak milling.
05:38
And in this case, I'm just going to simply select the generic Mazak and try to post this and see if it supports multi-axis.
05:46
So when we take a look at the Mazak, again we have that G68.2 and the G68.2 again is that tilted work plane reference.
05:56
But in this case, we have X, Y and Z but then we have A, B and C.
06:01
These A, B and C are the rotation angles that we would typically associate with 4th, 5th and potentially a 6th axis.
06:10
So in this case for spot 5X position one, A is rotating 45 degrees and B is rotating 90.
06:20
When we go to position 2A is -45 and B is 90.
06:27
So when we take a look at this, when we're going from our default X, Y, Z, and we're going to position one.
06:34
What we're doing is we're rotating 45 degrees about the Y axis to get our Z coordinate location.
06:42
And we're rotating 90 degrees about the X axis to get the correct orientation for drilling that hole.
06:52
So again, that's that A45 and B90.
06:56
When we go to position 2, again we're still rotating that 90 degrees about the original X axis.
07:03
But we're rotating -45 about the Y.
07:06
So these two holes are 90 degrees apart,
07:08
but they're rotating 45 degrees in the positive direction or 45 in the negative direction based on their orientation.
07:17
So this is why it's so important when we're talking about multi-axis positioning to understand the coordinate system,
07:25
and also understand what your machine is looking for.
07:28
Understanding the A and the B references for that 4th and 5th axes
07:33
are really going to help you understand when you start to look at the code
07:36
that is actually coming out of fusion when you want to run this on your machine.
07:41
Now that we've taken a look at some of the basics of the code that we see when we're talking about 3+2 or multi-axis positioning,
07:50
and we've created our spot and our drilling operations as well as the pattern for those,
07:55
this is a great time for us to go ahead and save this before moving on to the next step.
Step-by-step guide
How to buy
Privacy | Do not sell or share my personal information | Cookie preferences | Report noncompliance | Terms of use | Legal | © 2025 Autodesk Inc. All rights reserved
Sign in to start learning
Sign in for unlimited free access to all learning content.Save your progress
Take assessments
Receive personalized recommendations
May we collect and use your data?
Learn more about the Third Party Services we use and our Privacy Statement.May we collect and use your data to tailor your experience?
Explore the benefits of a customized experience by managing your privacy settings for this site or visit our Privacy Statement to learn more about your options.