Re: Autodesk Fusion 360 Posts - 4th axis works, moving on to 5th axis
Posted: Tue Jul 17, 2018 1:51 pm
by Sportbikeryder
Through use of the Autodesk Post Processor Training Guide (Which I was unaware of previously) located herehttps://cam.autodesk.com/posts/posts/gu ... 0Guide.pdf, along with some input form a fellow forum user with a similar machine, i was able to at least get a baseline post that should be suitable for testing.
I have included the post below, for a Centroid control and a TRT-32 tilt / rotary table. It has not yet been tested and is likely only suitable for 3+2 positioning (may not be suitable for compound angles)
A key element to this post is the following, and the exact number should be measured using the tooling balls for each specific machine. The variable headOffset is typically used for a Head rotation machine, however due to the nature of the non intersecting a and b axis on the TRT, thisis where the offset is implemented (at least this time)
//edit 07/12/18 Head offset is distance from A axis to B axis centerline Centroid TRT-32 is -7.7602"
var headOffset = toPreciseUnit(-7.7602, IN);
John
Re: Autodesk Fusion 360 Posts - 4th axis works, moving on to 5th axis
Posted: Tue Jul 17, 2018 1:58 pm
by Sportbikeryder
For anyone interested in adding a dwell time to allow the spindle to reach target speed prior to cutting, the following code can be added.
This adds in a proportional dwell time based on the programmed spindle speed. Adjustment to the "5/6" value can be made to adjust the amount of dwell time based on the specific spindle. This takes spindle speed, divides by 1000, and then multiplies by the "5/6" value. The output is then rounded to contain only one decimal place.
If a simple, fixed dwell amount is desired, only "onDwell(5.0)" would need to be added to the pos, resulting in a 5.0 second dwell.
John
var dwellTime = tool.spindleRPM /1000 * (5/6);//dwell calculated based on spindle speed and set to "5/6" of calculation due spindle accel properties
onDwell(dwellTime);//edit 07/16/2018 Add dwell after spindle start
Re: Autodesk Fusion 360 Posts - 4th axis works, moving on to 5th axis
Posted: Sat Jan 04, 2020 12:49 pm
by Sportbikeryder
It has been awhile, but I finally tested the 5 axis post from fusion. The post attached below works with my TRT32 (pending some accuracy verification). I wanted to post this in case others are trying to use Fusion with a Centroid tilt table.
as noted previously, the distance from the tilt to the rotary axis must be inserted into this post based on the output from the tilt.dat file for tilt axis centerline verification (difference between Z ht of A and B axes).
John
The variable headOffset is typically used for a Head rotation machine, however due to the nature of the non intersecting a and b axis on the TRT, this is where the offset is implemented
//edit 07/12/18 Head offset is distance from A axis to B axis centerline Centroid TRT-32 is -7.7602"
var headOffset = toPreciseUnit(-7.7602, IN);
Re: Autodesk Fusion 360 Posts - 4th axis works, moving on to 5th axis
Posted: Wed Mar 03, 2021 2:09 pm
by jhenise
I just found this thread. looks like we are both into motorcycles too
I have been working on similar stuff running HSMworks in Solidworks. I am running a 3-axis mill with a 4th axis rotary table rotating about the X-axis.
my machine build: viewtopic.php?f=64&t=3552&start=30
just FYI: I was able to use 4th axis indexing with the generic Centroid post processor available from autodesk with no modification (as you point out in your first post of this thread)...
I have found the fusion 360 / HSM / HSMworks instructions to enable multi axis (exactly as you show in your first post) so i will start there. I have the 4th axis brake so that also worked by default.
anyway glad to see someone doing cool stuff for motorcycles with centroid HSM and multi axis machining! perhaps your posts will help me too!!
Re: Autodesk Fusion 360 Posts - 4th axis works, moving on to 5th axis
I have found the fusion 360 / HSM / HSMworks instructions to enable multi axis (exactly as you show in your first post) so i will start there. I have the 4th axis brake so that also worked by default.
Have you tried my version of the post processor? Check it out HERE
-swissi
Re: Autodesk Fusion 360 Posts - 4th axis works, moving on to 5th axis
Posted: Fri Mar 05, 2021 12:46 am
by jhenise
Hi Swissi,
very cool! looks like you have put a lot of work into the multi axis post. I have read the whole thread you linked to about development of your post.
I spent the last day working with Autodesk Centroid Generic Post 43182.
I was able to enable the 4th axis (I am running it rotating around the X axis on a 3-axis mill pointing in the X- direction (right hand side of the mill table) in the post. I was also able follow instructions in the Autodesk post manual (section 7.6) to steal code from one of their Haas with trunnion posts and insert it into the Centroid post to get the inverse time feed rates working for interpolated 4-axis moves.
and the post processor seems to work, despite some issues I have noticed.
You may be way ahead of me though! I think I will try yours out, I am ready to set up and start making some test parts now so I can give you feed back.
My system is: Solidworks w/ HSMworks CAM, Centroid Oak, and proper 32"x16"x20" mill with 10" rotary with brake, all AC servo, tool changer, and spindle encoder for rigid tapping.
Re: Autodesk Fusion 360 Posts - 4th axis works, moving on to 5th axis
Posted: Sun Mar 07, 2021 12:20 pm
by Sportbikeryder
I never persued more than positioning. As already mentioned Swissi has a huge jump on advanced features.
Re: Autodesk Fusion 360 Posts - 4th axis works, moving on to 5th axis
Posted: Sun Mar 07, 2021 7:10 pm
by jhenise
I have machined some air with tool paths produced using Swissi's post processor and it seems to basically work.
It fixes at least one shortcoming of mine. i wont go into detail here as I have not verified on parts yet.
But will post some real results when I get them! hopefully this week.
making these:
Re: Autodesk Fusion 360 Posts - 4th axis works, moving on to 5th axis
Posted: Mon May 09, 2022 4:54 pm
by CrossfireX
Hey did you end up getting this to work?
I'm having a lot of trouble with simultaneous 4th axis. I've been using my forth axis for positioning for a while, no problems, but in simultaneous mode it over feeds the A Axis. If I command the A axis to rotate, say, 29.8 degrees, it does it perfectly, but in the program it commands 29.8 degree while also moving the X Axis, say, 100mm, then the A Axis rotates about 50 degrees. I've scrapped a few parts now trying to get it sorted. Not sure if anyone knows how to fix this or what i'm doing wrong. I thought it had to do with the feedrate, but my confusion is that it's in absolute, so 29.8 degrees should be 29.8 degrees, regardless of feedrate... or am I wrong? that's a legitimate question.
Re: Autodesk Fusion 360 Posts - 4th axis works, moving on to 5th axis
Posted: Tue May 10, 2022 11:50 am
by Sportbikeryder
CrossfireX wrote: ↑Mon May 09, 2022 4:54 pm
Hey did you end up getting this to work?
I'm having a lot of trouble with simultaneous 4th axis. I've been using my forth axis for positioning for a while, no problems, but in simultaneous mode it over feeds the A Axis. If I command the A axis to rotate, say, 29.8 degrees, it does it perfectly, but in the program it commands 29.8 degree while also moving the X Axis, say, 100mm, then the A Axis rotates about 50 degrees. I've scrapped a few parts now trying to get it sorted. Not sure if anyone knows how to fix this or what i'm doing wrong. I thought it had to do with the feedrate, but my confusion is that it's in absolute, so 29.8 degrees should be 29.8 degrees, regardless of feedrate... or am I wrong? that's a legitimate question.
First, I would probably stop trying to cut parts, and instead just do some air moves to verify the rotation.
Without digging in too deep, perhaps you are using inverse time (or not using inverse time) when you should / shouldn't.