Mazak Vcn 5 axis post processor help

Mazak Vcn 5 axis post processor help

epalmerANXTH
Explorer Explorer
1,869 Views
6 Replies
Message 1 of 7

Mazak Vcn 5 axis post processor help

epalmerANXTH
Explorer
Explorer

I am trying to get my new Mazak Vcn machine up and running with fusion and am having a little trouble with the post processor.  Our machine is A and C axis.  I am using roll pitch and yaw angles.  5 axis positional is working ok but needs some tweaks. 5 axis simultaneous is not working at all.  I took the 5 axis mazak post from the library and have modified it to work with our machine but would like to fix the following issues.

 

1. Machine will not post C0. on the  first and last G53 line.  This causes issues if the C axis is not at zero when the program is started. In addition B should post as A

 

How it is  posting now.

N25 G53 X0. Y0. B0.

 

How it should post

N25 G53 X0. Y0. A0. C0.

 

2.  after every operation where there is a rotary move it is posting  X0. and Y0. in the G53 line   I would like to remove these  x, y movements as they are unnecessary.

 

4.   I followed the instructions on the link below but the code is still outputting B axis moves instead of A axis moves

https://knowledge.autodesk.com/support/autodesk-hsm/learn-explore/caas/sfdcarticles/sfdcarticles/How...

 

 

 For 5 axis simultaneous does Fusion use a ordinate system fixed to the table or rotating with the table?  I need to change some parameters in my control depending on which is used.   

 

 

 

Thanks

Eric

Alloy Craft

0 Likes
Accepted solutions (1)
1,870 Views
6 Replies
Replies (6)
Message 2 of 7

engineguy
Mentor
Mentor
Accepted solution

@epalmerANXTH 

 

You need to change the "Coordinate" value from 1 to 0 as below, here is the setup for A and C axis configuration, the coordinate system is A=0, B=1,C=2.

 

if (true) { // note: setup your machine here
var aAxis = createAxis({coordinate:0, table:true, axis:[1, 0, 0], range:[0,360], cyclic:true});
var cAxis = createAxis({coordinate:2, table:true, axis:[0, 0, 1], cyclic:true});
machineConfiguration = new MachineConfiguration(aAxis, cAxis);

 

I have also setup the A and C axis to do the G53 as you wanted at both the start and end, that`s all I have time to do for now, modified PP attached , give it a whirl, hope it helps some 🙂 🙂 🙂

 

Regards

Rob

Message 3 of 7

epalmerANXTH
Explorer
Explorer

Awesome, thanks for the help. I will try this out today. 

0 Likes
Message 4 of 7

epalmerANXTH
Explorer
Explorer

So I had a chance to try this out today and noticed some strange motions during simultaneous 5 axis machining.  It appears that the c axis is 90 degrees out off phase or something.   Also I noticed that the code is outputting A and C axis moves?  However when I am using G68.2 the code uses I,J, K, roll pitch and yaw angles.  Should G43.4 also be using I,J and K as well?

 

thanks

 

 

 

0 Likes
Message 5 of 7

epalmerANXTH
Explorer
Explorer

Every thing looks to be working now.  it was an issue with the machine axis labels.  When I fixed that the code is working good now.  

 

I would still like to figure out how to remove the G53 X0 and Y0 between each operations though. 

0 Likes
Message 6 of 7

engineguy
Mentor
Mentor

@epalmerANXTH 

 

Eric, try the attached PP, removed the X0,Y0 but left the Z0 in si it is G53 Z0 now between operations, safe enough ??

 

Regards

Rob

0 Likes
Message 7 of 7

epalmerANXTH
Explorer
Explorer

Thanks again @engineguy , it is almost working now.    The issue I am having now is that it is posting  G53 B0. C0. at the end of blocks that dont use G68.2 at all.   And after some blocks that use G68.2 or G43.4 is doesn't post G53 B0. C0. for the next operation if it is at B0. C0.  This means that sometimes the next operation after a G68.2 or G43.4 block is cutting air, with the table still in the position that it was for the last  operation.    

 

I think the logic for G53 should be:  If current operation G68.2 is used and next operation uses G68.2  compare angles.  If not same, G53 B0. C0.  Else  no G53?  And if G43.5 is used always output G53 C0. B0. after block

 

Thanks for the help. 

0 Likes