Hello Guest it is April 26, 2024, 09:03:04 PM

Author Topic: 4 axis inventor hsm post  (Read 7459 times)

0 Members and 1 Guest are viewing this topic.

4 axis inventor hsm post
« on: November 12, 2016, 07:29:30 PM »
hello

my mach3 post is working perfectly f or 3 axis... i recently added a fourth axis on the table rotating around the x axis... i was able to grt the a axis working by changing the post from false to true to get the axis ouput worjking..

the a axis indexes properly .... the first cut at 0 deg goes good but when the A axis indexes to the 120 deg position... x y and z move in a triangular pattern... not right...

is there anyone using inventor hsm pro and mach3 with 4th axis...who might share the post processor or put me in touch with someone who can help me.. i have posted on the autodesk forum as well...

heres two vids showing the simulation in inventor and the post toolpath..

hers the part and simulation .. i think i did it right and its working right
https://www.youtube.com/watch?v=Bcuizz6cH-w


and heres the wonky post toolpath
https://www.youtube.com/watch?v=UTHKzvj-7vo
RET SSG Gonzales
5th SFG
DE OPPRESSO LIBER

Offline dude1

*
  •  1,253 1,253
    • View Profile
Re: 4 axis inventor hsm post
« Reply #1 on: November 12, 2016, 11:39:37 PM »
at the end of the A axis string what do you have the numbers set to or post the code
Re: 4 axis inventor hsm post
« Reply #2 on: November 13, 2016, 12:12:59 AM »
function onOpen() {

  if (true) {
    var aAxis = createAxis({coordinate:0, table:true, axis:[-1, 0, 0], cyclic:true, preference:1});
    machineConfiguration = new MachineConfiguration(aAxis);

    setMachineConfiguration(machineConfiguration);
    optimizeMachineAngles2(1); // map tip mode
  }

  if (!machineConfiguration.isMachineCoordinate(0)) {
    aOutput.disable();
  }
  if (!machineConfiguration.isMachineCoordinate(1)) {
    bOutput.disable();
  }
  if (!machineConfiguration.isMachineCoordinate(2)) {
    cOutput.disable();
  }
 
  if (!properties.separateWordsWithSpace) {
    setWordSeparator("");
  }

  sequenceNumber = properties.sequenceNumberStart;
RET SSG Gonzales
5th SFG
DE OPPRESSO LIBER

Offline dude1

*
  •  1,253 1,253
    • View Profile
Re: 4 axis inventor hsm post
« Reply #3 on: November 13, 2016, 12:42:26 AM »
Ok that looks correct, it could just be a setup problem and how are you setting the index.

your post on the HSM, start a new one and have the question title, how do I set up this for 4th axis and post the file you are trying to do the index on.
Re: 4 axis inventor hsm post
« Reply #4 on: November 13, 2016, 12:44:05 AM »
will do...thanks for the input boss..ive been up for two days reading and reading...and changing posts and trying simulations...wow.... but i have learned toda7y...
« Last Edit: November 13, 2016, 12:59:56 AM by 1hander »
RET SSG Gonzales
5th SFG
DE OPPRESSO LIBER

Offline dude1

*
  •  1,253 1,253
    • View Profile
Re: 4 axis inventor hsm post
« Reply #5 on: November 13, 2016, 01:35:09 AM »
when you do a index with HSM and Fusion360 Ultimate same code now days.

you set the first index up in the setup and on the first index toolpath what ever 3D one you are doing in the HSM settings and fusion you just set the Z and that can be all.

then when you set the next index you just set you Z again to the index angle and that's it so on.

the thing that gets most people is you don't need to do a lot with the toolpath you need to set the set up correctly, onces that is done you don't need to do much else other than selecting a toolpath and the Z axis.
Also set the origin to dead center left if you are cutting in the X+ direction with the X going into the stock, if you are cutting on the right cutting in the X - direction you have the origin dead center on the right side with the X pointing out, this will give you a - x direction in the code if you have it the other way around you will get a +x direction what would be a crash into the 4th axis.

This should help I do this at least once a week and no complaints yet by private means or on the fusion forum, HSM, here and cnczone, one of the old HSM guys showed me how to do all this hes not working for ADSK anymore what is a shame
Re: 4 axis inventor hsm post
« Reply #6 on: November 13, 2016, 01:42:45 AM »
i though that is what i did...i watched all the tutorials i could find...
if you want to have a look heres the file..
it wont let me attach it... if you want i can email it
RET SSG Gonzales
5th SFG
DE OPPRESSO LIBER

Offline dude1

*
  •  1,253 1,253
    • View Profile
Re: 4 axis inventor hsm post
« Reply #7 on: November 13, 2016, 01:46:07 AM »
I only have fusion at the moment but the cam is the same
« Last Edit: November 13, 2016, 01:57:44 AM by dude1 »
Re: 4 axis inventor hsm post
« Reply #8 on: November 13, 2016, 01:49:45 AM »
in the setup stock...i set the rotatiponal axis to be the a axis... so the stock is facing the right direction... then in the ops like you said... set the z to each hole... the simulationds look great in inventor... (this is why i suspect the post processor is wrong but what do i know) but the simulation in the post processor(backplot) is the one thats wrong... im not sure...
RET SSG Gonzales
5th SFG
DE OPPRESSO LIBER

Offline dude1

*
  •  1,253 1,253
    • View Profile
Re: 4 axis inventor hsm post
« Reply #9 on: November 13, 2016, 01:58:39 AM »
send it to me in a PM