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:

4th axis winding up


PROG_MAN_DO
 Share

Recommended Posts

My post is winding up the 4th axis. How do I stop it. Where is this section do I change something?

 

pcoutrev #Rotary axis revolution calculation (Modify for wind-up)

cdelta = csav - prv_csav

while abs(cdelta) > ctol, #If motion exceeds ctol, add wind-up

[

if cdelta > zero,

[

rev = rev - one

cdelta = cdelta - 360

]

else,

[

rev = rev + one

cdelta = cdelta + 360

]

]

if cuttype <> one, cabs = rev * 360 + csav

else, cabs = sav_rev * 360 + csav

!csav

 

confused.gifconfused.gif

Link to comment
Share on other sites

I am using mpfan.pst

 

Using that post I am very close to what I want, however, I have found at the end of each tool via the following line the post outputs A0

 

pbld, n, protretinc, e

 

This is not desirable. If I # it out the 4th winds up. I need the 4th axis to reset, just not show it in the code. I have frc_cinit set to 1 fyi. After this problem is solved I then need to lock and unlock the 4th. More code please..

smile.gif

Link to comment
Share on other sites

Yes what Buckethead said smile.gif I'd highly recommend the MPMaster post if you're doing 4 axis work.

 

I've used the MPMaster for the Fanuc, Okuma, A2100 and the Seimens 840D. These posts rock, for both 3 axis and 4 axis.

 

A containerload of kudos to InHouse Solutions, and especially Dave Thomson....

 

Now, Dave, if you've got any spare time, there is a huge gap, that MPLMaster_Okuma would fill.... hehehehehehehehe

Link to comment
Share on other sites

I assume mpmaster is on the installation disk. If not where can I get it?

 

Thanks for the help gentleman. Much appreciated!!

 

I have been banghead.gif

 

and now I am almost.. cheers.gif

 

One other question. I was told by me reseller that the only post that was updated with each release was mpfan. That's why I was using that post. Is there any truth to that statement?

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...