5 Axis Post Processor for Chinese HY-6040 Mill with Mach3

5 Axis Post Processor for Chinese HY-6040 Mill with Mach3

Anonymous
Not applicable
3,291 Views
8 Replies
Message 1 of 9

5 Axis Post Processor for Chinese HY-6040 Mill with Mach3

Anonymous
Not applicable

Hi, i am new to the 5-axis world and starting it all with the HY-6040 machine, so i will try to provide all the information i can regarding my problem.

This machine is controlled by mach3 and since the vendor did not supply me with a post processor for the 5-axis i studied this subject and edited a standard mach3 pp to operate with the 5 axis setup of my machine (image below shows my machine and axis setup).

hy6040_axis.JPG

 Basically i added the follwoing:

"

function onOpen() {

  if (true) {
    var aAxis = createAxis({coordinate:1table:trueaxis:[100], cyclic:truepreference:1});
  var bAxis = createAxis({coordinate:0table:trueaxis:[001], cyclic:truepreference:1});
    machineConfiguration = new MachineConfiguration(aAxisbAxis);

    setMachineConfiguration(machineConfiguration);
    optimizeMachineAngles2(1); // map tip mode
"
 
Upon doing this i was able to work perfectly with 3+2 toolpaths, the problem is that for 5-axis continuous toolpaths, the machine behaves nothing like what i programmed in Fusion. The latest test i run is shown in the image below, but, besides the 3 axis toolpaths it has a 5 axis flow.
5axistoolpath.jpg
The machine does not have features like DWO, and my default work offset (my G54) has the axis 100% centered so i know the error can´t be related with this matter.
 
I have sent an email to the vendor asking for a pp and they answered that they do not have a pp for fusion yet only for UG/NX, powermill and mastercam so i asked them to send me the pp for these softwares instead but im yet to get an answer for this.
 
Since time is becoming a problem for me and to be honest i am getting kinda mad with this, can someone tell me if my edited pp is wrong and if, upon getting the pp for the other softwares is there anyway to use them on fusion?
 
I would really appreciate some help 🙂
0 Likes
3,292 Views
8 Replies
Replies (8)
Message 2 of 9

Anonymous
Not applicable

machinetoolp.JPG

This is what the machine is doing by the way.

0 Likes
Message 3 of 9

daniel_lyall
Mentor
Mentor

The B axis should be axis:[0, 1, 0] 0,0,1 is C also you should have the range set for the B axis how to do it is here. https://forums.autodesk.com/t5/hsm-post-processor-forum/how-to-set-up-a-4-5-axis-machine-configurati...

 

Can you post a model with this problem To attach a file Go to File -> Export and save as a .F3D Archive File and attach it to your next post, if you can not post the file you can PM it to me or say in your next post you can not post the file and one of the Guys that do NDA work will help. Your Mach3 config file would help as well.


Win10 pro | 16 GB ram | 4 GB graphics Quadro K2200 | Intel(R) 8Xeon(R) CPU E5-1620 v3 @ 3.50GHz 3.50 GHz

Daniel Lyall
The Big Boss
Mach3 User
My Websight, Daniels Wheelchair Customisations.
Facebook | Twitter | LinkedIn

0 Likes
Message 4 of 9

Anonymous
Not applicable

Hi @daniel_lyall,  i had already seen the link that you inserted in your message, and i edited this post processor upon analyzing carefully that information, thing in my pp i have:

"

var aAxis = createAxis({coordinate:1table:trueaxis:[100], cyclic:truepreference:1});
  var bAxis = createAxis({coordinate:0table:trueaxis:[001], cyclic:truepreference:1});"
 

and in reality my aAxis is set to coordinate:1 and axis:[1,0,0] because it is actually referring  to my machine B axis that rotates around my machine X axis, and my bAxis is set to coordinate:0 and axis:[0,0,1] because this one is referring to my machine A axis that rotates around my machine Z axis, i know this is really confusing but that is the only way i got after numerous edits to get fusion to actually generate the G-code file instead of a failed file.

And you are right about the range to the B axis and i wanted to establish one of [-90;90] but the thing is once again, every time i had the range, when i try to generate the G-code filed i get an error file.

I´ve attached the part file, the post processor i currently have and my mach3 config file, and the image i previously attached to the original post shows the machines´s actually trajectories when i run the code. You can see that all operation run correctly apart for the flow toolpath that is the only one using 5 axis continuous.

Hope you can help me, it´s been an entire week around this issue and time is becoming a problem for me, i really need this machine to be up and running, so i am really thankful for any help at all.

Best regards.

0 Likes
Message 5 of 9

engineguy
Mentor
Mentor

@Anonymous 

 

Your file generates and runs fine here with my version of a Mach3 5 axis PP.

 

However have you thought of using the 3D Scallop toolpath ? it only requires 3 axis and IMHO will do the job equally as well as your Flow without all the multiple axis moves, a lot less to go wrong 🙂 🙂 🙂

Scallop example.jpg

 

Modified file attached and my PP attached.

Regards

Rob

0 Likes
Message 6 of 9

Anonymous
Not applicable

@engineguy hello, i´ve been working non-stop on this and i just edited a new pp that i think will be the one (at least o hope so ^^`), but i will only have the change to test it in the real machine tomorrow for now the simulation is good (pic below), if it is successful i will post it here.

toolpath.JPG

 

 

 

 

 

 

 

 

 

Aldo i know i could used the flow without the multiaxis, the thing is that i am working with this machine to finish my master´s dissertation and so i really need to use the 5 axis continuous even when normal 3 axis toolpaths can create the part.

Anyways, thank you for the help :), and will also experiment your pp and see how it runs.

Best regards.

0 Likes
Message 7 of 9

Anonymous
Not applicable

Hello,

 

I have the same 6040 cnc 5 axis machin,

can you send me your configuration if it work?

 

I use the pp of this forum and it's ok to move a and b axis but i think i have forget an operation in the configuration of fusion becouse the simulation is quitte good but on mach3 when i run the gcode in 5 axis it's wrong..

 

I have an other problem, sometimes the cnc stop to milling in the middle of the program but on my screen the gcode continu to scroll???

 

Sorry for my bad english and thanks for your help, i'm beginner

0 Likes
Message 8 of 9

Anonymous
Not applicable

Hi @Anonymous , 

 

Glad to see you post here, and I actually just bought the same cnc and now have similar problem and have been trying and error for a day.

 

Have you solve the problem - and if so, do you mind sharing the file or the tricks to get it right?

 

Thanks!

Yulin

0 Likes
Message 9 of 9

Bradshawa
Participant
Participant

@Anonymous  Did you have success with your modified PP? If so, could you share it with me?

 

Thanks

-A

0 Likes