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:

Lathe "C" axis unwinding - not good


Philcott
 Share

Recommended Posts

Still X2

 

Can some one tell me why my code does this? I want it to wind up higher than 360.0 degrees. I know there is a switch somewhere but I can't find it at this moment.

 

 

X1.0307 Z-.0331 C359.3177

X1.0344 Z-.0375 C359.9998 (not going past 360.)

X1.0307 Z-.0331 C.6824 (gouging here)

X1.0258 Z-.0269 C1.6567

 

Thanks

Link to comment
Share on other sites

X4 here...

looking in the default X4 mill/turn post I didn't see anything that would help..

going to the C axis properites in the machine def

check the Tavel Limits setting..

The stock unedited machine def in my sytem

has Travel limits set to ± 360000°

and

the Continous Axis TYpe setting

set to Signed Continuous

Link to comment
Share on other sites

Wes,

 

What does kicks it into radial mean? I do know I had to turn on axis substitution.

 

quote:

also there are inssues with c axis toolpaths.

Ya I noticed. biggrin.gif

 

quote:

use mill paths on the main spindle.

So don't use the "C" axis toolpaths for lathe but use the mill paths?

Link to comment
Share on other sites

I found the ba$tard.

 

quote:

#SET BY MD - Variables to capture parameter values - use to set post switches in pset_mach

rot_axis : 0 #Axis of rotation - 1=X, 2=Y, 3=Z

rot_type : 1 #Rotary type - 0=signed continuous, 1=signed absolute, 2=shortest direction

rot_dir : 0 #Rotary direction - CW is positive, 0 = false, 1 = true

rot_index : 0 #Index or continuous - 0 = continuous, 1 = index

rot_angle : 0 #Degrees for each index step with indexing spindle

I needed to set this

 

rot_type : 1 #Rotary type - 0=signed continuous, 1=signed absolute, 2=shortest direction

 

to {"0").

 

I'm glad I didn't just spend around four hours chasing this down.

 

Does anyone know if this can be set in another place so I don't need to change the post to use it?

Link to comment
Share on other sites

Could I set these to yes and then use the machine definition page?

 

quote:

# --------------------------------------------------------------------------

pset_mach #Set post switches by reading machine def parameters

#Reset variables prior to MD read

y_axis_mch = no$ #Reset to zero - Set from Axis Combination

 

rd_mch_ent_no$ = syncaxis$ #Retrieve machine parameters based on current axis combination - read from .nci G950 line

rd_md$ #Read machine definition parameters - calls pmachineinfo$

 

#We only need these set at toolchange (and start of file). No need to set them each time a user may call rd_md

if rot_angle = zero, ctable = one #ctable zero will produce a divide by zero error, so force to one if zero in MD

else, ctable = rot_angle

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