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:

Generic Fanuc 5X Post Define rotary axis


Lee1
 Share

Recommended Posts

The  vertical 5 axis machine, A axis rotary X axis  ,B axis rotary Y axis,  B  axis zreo on XY plane (parallel Z axis),B limit +45 to -110.(same as BC axis type)

 

How can  i  configure rotaxis1$,rotdir1$,rotaxis2$,rotdir2$.

see below picture

picture show as B axis zero

 

thanks

555.png

 

Link to comment
Share on other sites

I would start with the following, and see how it works.

 

#Primary axis angle description (in machine base terms)
#With nutating (mtype 3-5) the nutating axis must be the XY plane
rotaxis1$ = vecx  #Zero
rotdir1$  = vecy  #Direction

#Secondary axis angle description (in machine base terms)
#With nutating (mtype 3-5) the nutating axis and this plane normal
#are aligned to calculate the secondary angle
rotaxis2$ = vecz  #Zero
rotdir2$  = -vecx  #Direction

For the limits, set as below.

#Set pri_limtyp and sec_limtyp on following conditions
#0 = Less than 180 degrees
#1 = Equal or greater than 180 degrees and less than 360 degrees
#2 = Soft limit at 0-360 degrees with hard limits slightly beyond
     #Set limhi-limlo to hard limits, inthi-intlo to 360 degrees total
     #limhi-limlo are expected equal amount from inthi-intlo
#3 = Greater than 360 degrees
auto_set_lim : 1     #Set the type from the angle limit settings (ignore these)
pri_limtyp$  : 0
sec_limtyp$  : 0

#Rotary axis travel limits, always in terms of normal angle output
#Set the absolute angles for axis travel on primary
pri_limlo$   : -999999
pri_limhi$   : 999999
#Set intermediate angle, in limits, for post to reposition machine
pri_intlo$   : -99999
pri_inthi$   : 99999 

#Set the absolute angles for axis travel on secondary
sec_limlo$   : -110
sec_limhi$   : 45
#Set intermediate angle, in limits, for post to reposition machine
sec_intlo$   : -110
sec_inthi$   : 45

 

There will likely be a fair bit more work past this.

Link to comment
Share on other sites
2 hours ago, huskermcdoogle said:

I would start with the following, and see how it works.

 


#Primary axis angle description (in machine base terms)
#With nutating (mtype 3-5) the nutating axis must be the XY plane
rotaxis1$ = vecx  #Zero
rotdir1$  = vecy  #Direction

#Secondary axis angle description (in machine base terms)
#With nutating (mtype 3-5) the nutating axis and this plane normal
#are aligned to calculate the secondary angle
rotaxis2$ = vecz  #Zero
rotdir2$  = -vecx  #Direction

For the limits, set as below.


#Set pri_limtyp and sec_limtyp on following conditions
#0 = Less than 180 degrees
#1 = Equal or greater than 180 degrees and less than 360 degrees
#2 = Soft limit at 0-360 degrees with hard limits slightly beyond
     #Set limhi-limlo to hard limits, inthi-intlo to 360 degrees total
     #limhi-limlo are expected equal amount from inthi-intlo
#3 = Greater than 360 degrees
auto_set_lim : 1     #Set the type from the angle limit settings (ignore these)
pri_limtyp$  : 0
sec_limtyp$  : 0

#Rotary axis travel limits, always in terms of normal angle output
#Set the absolute angles for axis travel on primary
pri_limlo$   : -999999
pri_limhi$   : 999999
#Set intermediate angle, in limits, for post to reposition machine
pri_intlo$   : -99999
pri_inthi$   : 99999 

#Set the absolute angles for axis travel on secondary
sec_limlo$   : -110
sec_limhi$   : 45
#Set intermediate angle, in limits, for post to reposition machine
sec_intlo$   : -110
sec_inthi$   : 45

 

There will likely be a fair bit more work past this.

thanks a lot .

but post process fail,error msg

"ERROR-THE TOOL CAN NOT BE POSITIONED WITHIN MACHINE ROTARY LIMITS"

 

Link to comment
Share on other sites

Check your misc ints in your ops, as well as how your planes are setup. 

Then check the following:

shift_90_s is set to 1
bias_null is 1 
mtype is 0 
spind_align is 3
Machine base matrix is set for VMC

Then read through the rest of the settings in the post under the "Debugging and Factory Set Program Switches" section to see if they make sense for what you want.

Possibly post a sample file, so we can take a look and see.  Since it is a generic post, you can zip to go it all up if you post a sample, then we can help you by digging into your post if we have time, to help steer you in the right direction.  It's hard to help when we are blind.  

What version are you running?

Husker

Link to comment
Share on other sites
10 hours ago, huskermcdoogle said:

Check your misc ints in your ops, as well as how your planes are setup. 

Then check the following:


shift_90_s is set to 1
bias_null is 1 
mtype is 0 
spind_align is 3
Machine base matrix is set for VMC

Then read through the rest of the settings in the post under the "Debugging and Factory Set Program Switches" section to see if they make sense for what you want.

Possibly post a sample file, so we can take a look and see.  Since it is a generic post, you can zip to go it all up if you post a sample, then we can help you by digging into your post if we have time, to help steer you in the right direction.  It's hard to help when we are blind.  

What version are you running?

Husker

The post is ok.

Thank you so much.

too :mellow:

 

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