Changing trunion axis configuration

Changing trunion axis configuration

oharajesse
Enthusiast Enthusiast
625 Views
3 Replies
Message 1 of 4

Changing trunion axis configuration

oharajesse
Enthusiast
Enthusiast

Hey guys, we're using a VF3 with TRT160 trunnion, we want to change the orientation of it so that the tilt axis rotates about y instead of x. i changed the settings in the machine selection/configuration window, but when posting code it still shows a/b instead of b/c. i'm assuming i need to change the post also? we're currently using the haas/trunnion post as this is not an NGC machine.

 

are these the settings i need to change in the post? if so how/to what do i change them?

 

thanks!

0 Likes
626 Views
3 Replies
Replies (3)
Message 2 of 4

gaurav.firake
Alumni
Alumni

Hi @oharajesse ,

 

Thanks for posting!

You are on the wright track to edit the axis configuration. 

You need to edit the "axis" values which specifies the rotational axis of the rotary axis in the format of a vector. 

To get the rotation about Y-axis set axis values for aAxis to [0, -1, 0]. Also, please change the coordinate values too. 

These defines the coordinate of the axis, either X, Y, or Z. You will notice a number used in most of the generic posts, in this case 0=X, 1=Y, and 2=Z.

Please refer the below code snippet for better understanding:

var aAxis = createAxis({coordinate:1, table:true, axis:[0, -1, 0], range:[-30-0.0001, 120+0.0001], preference:1});
var bAxis = createAxis({coordinate:2, table:true, axis:[0, 0, 1], cyclic:false, range:[-360, 360]});

Kindly check and update.

Thanks!



Gaurav Firake

Message 3 of 4

oharajesse
Enthusiast
Enthusiast

great thanks!

 

how do i change/dictate that the A axis only tilt in negative?

 

i had it running correctly earlier and then all of the sudden the post started turning the axis the wrong way and machining on the other side of it, i havent changed anything.

 

i have the preferences set to negative in the machine settings in setup menu. 

0 Likes
Message 4 of 4

gaurav.firake
Alumni
Alumni

Hi @oharajesse ,

 

You can set the preferred angle direction to negative by changing the parameter "preference:" to -1 from Axis definition codes.  Also, you need to check the lower limits of the rotary axis from the "range" parameter. 

Please refer the below code snippet:

var aAxis = createAxis({coordinate:1, table:true, axis:[0, -1, 0], range:[-30-0.0001, 120+0.0001], preference:-1});

Thanks!



Gaurav Firake

0 Likes