4th and 5th axis machining

4th and 5th axis machining

john44SD4
Contributor Contributor
2,208 Views
20 Replies
Message 1 of 21

4th and 5th axis machining

john44SD4
Contributor
Contributor

Hi Guys, following on from my post the other day about setting the axis's up and orientation of them, today i tried to run a simple program where i was using the 4 th and 5th axis like a dividing head/ indexer, which i could get them to the correct osions but when the tool came down to start machining a pocket it didnt componensate and used the original g54 work offset. Can any one offer any advice please.

0 Likes
2,209 Views
20 Replies
Replies (20)
Message 2 of 21

DarthBane55
Advisor
Advisor

Can you share the file?

0 Likes
Message 3 of 21

john44SD4
Contributor
Contributor

Hi yeah no problem

0 Likes
Message 4 of 21

john44SD4
Contributor
Contributor

It all looks fine untill i come to run it on the m/c which is a doosan dnm4500 with a nikken 4th and 5th axis on the table, it tilts the b axis over to 10degrees but goes to bore the 4 pockets at the origanal work offset

0 Likes
Message 5 of 21

DarthBane55
Advisor
Advisor

Check your output code before putting it on the machine.  Try this attached file, and look where the tools index, you should see a different work offset.  If this work, but the output is not the number written on the folders, it's a simple post tweak (for some reason, G54 outputs as G48 in some posts, there is a "minus 6" math in some posts for the work offset, not sure why, but it's easily fixed.

Let me know if this works, and I can explain in more details if you need it, but open the folders I created, and you will see the "override WCS offset" box, this is where it happens.
 

0 Likes
Message 6 of 21

john44SD4
Contributor
Contributor

hi I've just tried it and for some reason its its outputting the g55 as g54.1 p49 and causes a illegal offset number error, our machine only goes to  p48 which is  a offset i use to set tools.

0 Likes
Message 7 of 21

DarthBane55
Advisor
Advisor

Ok, at least the problem seems solved within Fusion.  Your offset output is due to the post, and post editing is beyond me except for very simple stuff, which this might be actually...  do you mind sharing your post?

0 Likes
Message 8 of 21

john44SD4
Contributor
Contributor

ok thank you for the help, how do i share it?

0 Likes
Message 9 of 21

DarthBane55
Advisor
Advisor

Same you did for the actual Fusion file, just do it as an attachment.

0 Likes
Message 10 of 21

john44SD4
Contributor
Contributor

yes no probs

0 Likes
Message 11 of 21

DarthBane55
Advisor
Advisor

You attached your posted file, but I need the post processor, in order to change the work offset output.

0 Likes
Message 12 of 21

john44SD4
Contributor
Contributor

sorry ive attached it now

0 Likes
Message 13 of 21

DarthBane55
Advisor
Advisor

Ok, I did a very simple fix in the post, so that now, in the folders, you set whatever offset number you want and there is no "minus 6" math anymore.  So in the folder, if you set the WCS to 10, it will output G54.1P10.  If you set it to 49, it will fail to post because your machine stops at 48.

Post attached, and file attached with fixed offsets in the folders.  The key is to set your WCS numbers in these folders.  What I do usually, is I will create 1 folder with offset 10, and duplicate it a bunch of times, and repeat for all the offsets I will need.  That way you don't make the mistake of forgetting to set the offset later on if you re-create the folder again later.  Anyways, look at the folders and you will see how that works.

If you need more help, let me know!

PS:  don't forget to set the attribute "Has 5-axis" back to YES when you post the 1st time!

 

0 Likes
Message 14 of 21

DarthBane55
Advisor
Advisor

It only allowed me to attach 1 file.  Here's the CAM file with the folders fixed.

0 Likes
Message 15 of 21

john44SD4
Contributor
Contributor

Hi I just tried the updated post processor and program and while the first part where it tips over and machines and drills the pockets worked the rest didn't. Do i need to set a offset up so the machine knows the centre height of the rotation around the y-axis? While I've been a machinist since i left school,on 3 axis machines the world of 5-axis is totally new to me, sorry for all the questions.

Regards

John

0 Likes
Message 16 of 21

DarthBane55
Advisor
Advisor

There are 2 parts to this issue I think.  Fusion part, then machine setup part.

FUSION: Did you download just the post, or the Fusion file I attached too?  If you didn't, please download the Fusion file as well.  You need to create folders, and check the box to overwrite the WCS offset with the number of your choice, IE if you put 10, it will output G54.1P10 for all operations under that folder.

You did your tool orientation correctly from what I can see (I didn't verify the X-Y orientation in relation to your machine, I just assume you got those right, but the Z is correct for each operation).  You do not pick another origin when you do the tool orientation, so you did that correctly.  

MACHINE: In your machine though, you need to define these points correctly.  In your example, I think you ended up with 4 different offsets, so in your machine you need those offsets defined correctly.  For that, you should have access to a macro or excel spreadsheet with math built-in to find the point in space for when you index to an different angle.  Imagine the X-Y-Z being top center of a bore, when you tilt the indexer, that center is now somewhere else, but if you want to keep the origin the same for all angles (which you should and did), you need to figure out the center point of that new location of the origin for each angle you use.  I am hoping you do have a spreadsheet or something similar to find the points.  These will be calculated with the relation between the center of rotation of your indexer and the new origin location.  It is not easy to pickup the origin when the indexer is tilted, in the bore example, that bore cannot be dialed anymore when it is tilted, so you need to do the math for that.

0 Likes
Message 17 of 21

john44SD4
Contributor
Contributor

Yeah I did wonder about the co-ordinate shift as the part moves around a arc when its indexed over. Unfortunatly no i don't have a macro or spread sheet i will have to sort one out. 

0 Likes
Message 18 of 21

DarthBane55
Advisor
Advisor

Maybe someone has a different method, please chime in.  This is the way I work, it doesn't mean it is the only valid method though.

0 Likes
Message 19 of 21

john44SD4
Contributor
Contributor

hey i totally get what you mean, I did just try a slightly different method where i imported a model of a vice in with a sketch of where the rotation point is and datumed everything from this, i did set g55 to be the centre of rotation of my indexer and it has worked. it was from a youtube video. It maybe of some use to others. Thanks again for all  your help.

 

 

0 Likes
Message 20 of 21

DarthBane55
Advisor
Advisor

Ah yes, if you datum to center of rotation it solves it in a simple way.  But your part needs to be bang on in relation to your center of rotation otherwise you will have issues.  For that, we prefer to pickup a feature on the part itself.  But if you just cut your fixture it'll be fine for sure!

So you understand the Fusion part of it now with the folders?

0 Likes