B axis with tilted mounting point

B axis with tilted mounting point

sislana
Explorer Explorer
652 Views
3 Replies
Message 1 of 4

B axis with tilted mounting point

sislana
Explorer
Explorer

Hello,

I am having a trouble configuring post processor for 5 axis machine with 5 axis head, where A axis rotates arround Z axis, while B axis mounting point is tilted. Machine is Maka HC 57R. I am attaching a photo. 

for example in axis definition like this:
var bAxis = createAxis({coordinate:0, table:true, axis:[0, 1, 0], range:[-360,360], preference:1});

I can't see where I could specify this angle at which axis is attached.
I would need this post for Mach4, which doesn't support TCP or any other advanced 5 axis features.

 

Thank you

MAKA-HC-57-Robot-5.jpg

0 Likes
Accepted solutions (2)
653 Views
3 Replies
Replies (3)
Message 2 of 4

serge.quiblier
Autodesk
Autodesk
Accepted solution

Hi @sislana 

 

It's in the axis definition, by modifying the axis:[0, 1, 0] definition.
That current definition means the axis is rotating around the Y axis.

If it's a 45 degrees compound angle, then the definition should be:
axis:[0, 0.70710678, 0.70710678],

If it's another angle, use the value for the sine and cosine of that angle instead.

 

 

Regards.

 


______________________________________________________________

If my post answers your question, please click the "Accept Solution" button. This helps everyone find answers more quickly!



Serge.Q
Technical Consultant
cam.autodesk.com
0 Likes
Message 3 of 4

sislana
Explorer
Explorer

Thanks @serge.quiblier ,
this was fast and exactly the explanation I needed. 
There is a thing that causes me some troubles. A axis revolves arround Z axis, but if set axis:0,0,1 there will be no output from post processor. But If I define it as axis:1,0,0, there is output.

This is how I defined A and B axis, and on attached picture, offsets can be seen:

var aAxis = createAxis({coordinate:0, table:false, axis:[0,0,1], offset:[-0.3,149.84,0], range:[-280,30], cyclic:false, preference:0, tcp:useTCP});
var bAxis = createAxis({coordinate:1, table:false, axis:[0,0.766672327695,0.64203858291067], offset:[0,0,0], range:[-280,30], cyclic:false, preference:0, tcp:useTCP});

    machineConfiguration = new MachineConfiguration(aAxis, bAxis);

    setMachineConfiguration(machineConfiguration);
    optimizeMachineAngles2(0); // map tip mode
 

Would my definitions make any sense?
Thanks

0 Likes
Message 4 of 4

serge.quiblier
Autodesk
Autodesk
Accepted solution

Hi @sislana 

 

You definition need to be slightly improved.
As I don't want to guide you through modifying the post, in twenty different places, the easiest will be that one:7

The kinematic definition and the axis output are related thru the coordinates variable.

It is driven by the three lines like that one:

if (!machineConfiguration.isMachineCoordinate(0)) {
aOutput.disable();
}

What we will do is defining your first axis as an axis rotating aroung Z, or else the c Axis.

var aAxis = createAxis({coordinate:2, table:false, axis:[0,0,1], offset:[-0.3,149.84,0], range:[-280,30], cyclic:false, preference:0, tcp:useTCP});
var bAxis = createAxis({coordinate:1, table:false, axis:[0,0.766672327695,0.64203858291067], offset:[0,0,0], range:[-280,30], cyclic:false, preference:0, tcp:useTCP});

    machineConfiguration = new MachineConfiguration(aAxis, bAxis);

    setMachineConfiguration(machineConfiguration);
    optimizeMachineAngles2(3); // optimize for head head machine

 

I changed two elements, the coordinate for the aAxis definition, and the optimizeMachineAngles2, as your machine does NOT support RTCP, and it's a head / head configuration.

Then we need to change the prefix for the axis, as the cOutput variable will be using a C prefix, but this aggregate is not managing a C axis, but an A axis. (Not respecting the usual axis denomination)
We have to edit that line, near the beginning of the file:

 

var cOutput = createVariable({prefix:"A"}, abcFormat);  // changing the prefix to A

 

Regards


______________________________________________________________

If my post answers your question, please click the "Accept Solution" button. This helps everyone find answers more quickly!

 



Serge.Q
Technical Consultant
cam.autodesk.com
0 Likes