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:

X8 Limiting Axis windup


Recommended Posts

I have a swarfing cut making multiple passes.

 

I am using the Generic HAAS 5X which has been modified for axis label output. (thanks Colin) ;)

 

The initial axis rotates between -45 and -90 degrees while the (A) axis turns completely in circles..

 

X-.0176 Y-2.4001 Z1.8735 A-2154.67 B-89.868
X-.0121 Y-2.4009 Z1.8726 A-2156.32 B-89.927
X-.0065 Y-2.4015 Z1.8725 A-2157.97 B-89.969
X-.001 Y-2.4018 Z1.8733 A-2159.619 B-89.987
 
After several passes the A is wound up to 2159 degrees.
 
Is there a way to limit this?
 
I have tried here....
#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$   : -9999 <<<<<<<<<<<<<<< HERE
pri_limhi$   : 9999
#Set intermediate angle, in limits, for post to reposition machine
pri_intlo$   : -9999
pri_inthi$   : 9999
 
#Set the absolute angles for axis travel on secondary
sec_limlo$   : -9999 <<<<<<<<<<<<< HERE
sec_limhi$   : 9999
#Set intermediate angle, in limits, for post to reposition machine
sec_intlo$   : -9999
sec_inthi$   : 9999
 
But that posts an error
 
Could it be somewhere in here? vvvvvv
 
#Tolerance settings for wind up
p_tol_ang    : 210   #Primary angle move to exceed for direction change
s_tol_ang    : 210   #Secondary angle move to exceed for direction change
d_tol_ang    : 210   #Dummy angle move to exceed for direction change
 
#pri_limtyp = 1, tolerance to validate tripping limit
#                reset the p_frc_adj_sec flag when back to normal range
#pri_limtyp = 2, angle move >= to trigger reposition on primary and
# angle move >= with rev5 or 180 reposition to validate tripping limit
p_rsoft_tol  : 45
 
#sec_limtyp = 2, Angle move >= for reposition 
s_soft_tol   : 270
 
adj_lim_trp  : 90    #Angle move in p_pri_rot180 to trip reposition
 
#pri_limtyp = 3 and sec_limtyp = 3 control values
p_rsoft_tol3 : 90    #Angle move >= with rev5 or 180 reposition
 
Any input would be greatly appreciated.
 
Thank you.

 

Link to comment
Share on other sites

NOOOOOOO!

 

Lol. Ok, sorry. Had to get that out.

 

You don't want to limit the Wind Up that way. Depending on how you've got the post setup, that would actually cause the swarf tool path to hit the rotary limit, and then do an "unwind move", where the Z axis retracts, and the A Axis unwinds back to within the travel limits before restarting.

 

You need to use these variables:

pang_output  : 0     #Angle output options, primary
sang_output  : 0     #Angle output options, secondary
                     #0 = Normal angle output
                     #1 = Signed absolute output, 0 - 360
                     #2 = Implied shortest direction absolute output, 0 - 360

Try setting 'pang_output' to '2'. That would let the A axis "wrap" over from +360 to "0", without changing the ability of the Rotary to "wind up" without forcing a retraction...

  • Like 2
Link to comment
Share on other sites

Thanks Colin I will try that. I didn't set wind up limits btw. I did however have to set Mi 8 to 4. 

 

It was set to 1 and at the end of the swarf single pass (cutting Y- side of trunnion) it would retract to Z7 reposition X correctly but turn Y to positive Z rapid into trunnion and then make the correct Y- move to position of start of cut.

 

Scared the crap out of the operator.

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