Jump to content

Welcome to eMastercam

Register now to participate in the forums, access the download area, buy Mastercam training materials, post processors and more. This message will be removed once you have signed in.

Use your display name or email address to sign in:

90 degree shift in axis of post


m_morgan
 Share

Recommended Posts

Hey guys,

 

I'm modifying the mpmaster post to suit a loan machine which we have been supplied with, and as part of the test program I'm using, I want to tilt over on the B axis by 5 degrees and machine a pocket at an angle.

 

However, when I output the code, I get a C90. for free like this:

 

...

G0 Z10.

C90. B5.

X-157.507 Y34. Z-31.47

X-157.071 Z-36.451

...

 

It also strikes me as strange that the B and C axes outputs are reversed.

 

When I change the 'secondary shift', parameter from:

 

shift_90_s : 1

to

shift_90_s : 0

 

I get the following instead:

 

...

G0 Z10.

C90. B5.

X34. Y157.507 Z-31.47

Y157.071 Z-36.451

...

 

and all my Xs are now -Ys, and vice versa!

 

Help!

Link to comment
Share on other sites

I've rechecked the post I'm using, and I was just mistaken before. I am using the MPGEN5X post.

 

I'm still getting the same 90 degree move on the C axis.

 

The layout of the spindle/rotary axes is the same as this picture:

 

http://www.nmine.com/5axis/spindle.jpg

 

Imagining that the spindle angle can also rotate in C, and you are standing looking in the Y+ direction, that picture to me is:

 

B-20. (or thereabouts) C0.

 

But my machine wants to rotate the C axis by 90 degrees, so that the tool is tilted away from you.

 

How can I correct the 90 degree movement using the GEN5X post?

 

Sorry if my explanation is a little odd, but I've been working straight for 18 hours. :cuckoo:

Link to comment
Share on other sites

check in the machine def (.mmd) file as to where the "home position/orientation" is set...

my intital question (mill turn vs. 5x mill) was along that tangent; home position for the millturn has the B axis pointing at the back of the part (y- direction from your analogy)

so to get pointed downward "from the top" would mean an initial 90 move....

Has your local reseller been any help?

what your sim# ?

Link to comment
Share on other sites

I'll have a go at altering the machine def., but it seems that anything I do in there has no effect on the posted code. It's as though the post itself is making all the decisions.

 

As for the local reseller, my boss contacted them, and they are arranging to make us a post for the ACTUAL machine, which works differently to the LOAN machine we have at the minute. There's a lot of politics going on, and I'm not about to lift the phone and ring them to get an earful!

 

The reason we got a loan machine was that the machine tool reseller made a mistake about the configuration of the machine, so we're stuck with a loan machine that can only do 3 axis work, and I'm getting hassle for not being able to get the 5 axis working properly.

 

My current position is between Rock and Hard Place.

 

Thanks for all the help so far guys.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.

Join us!

eMastercam - your online source for all things Mastercam.

Together, we are the strongest Mastercam community on the web with over 56,000 members, and our online store offers a wide selection of training materials for all applications and skill levels.

Follow us

×
×
  • Create New...