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 post problem


CCbenz
 Share

Recommended Posts

code:

# Typical Vertical

#srotary "A" #Rotary axis prefix

#vmc : 1 #0 = Horizontal Machine, 1 = Vertical Mill

#rot_on_x : 1 #Default Rotary Axis Orientation, See ques. 164.

#0 = Off, 1 = About X, 2 = About Y, 3 = About Z

# Typical Horizontal

srotary "B" #Rotary axis prefix

vmc : 0 #0 = Horizontal Machine, 1 = Vertical Mill

rot_on_x : 3 #Default Rotary Axis Orientation, See ques. 164.

# #0 = Off, 1 = About X, 2 = About Y, 3 = About Z

rot_ccw_pos : 0 #Axis signed dir, 0 = CW positive, 1 = CCW positive

ret_on_indx : 0 #Machine home retract on rotary index moves, (0 = no, 1 = yes)

index : 0 #Use index positioning, 0 = Full Rotary, 1 = Index only

ctable : 5 #Degrees for each index step with indexing spindle

one_rev : 1 #Limit rotary indexing between 0 and 360? (0 = No, 1 = Yes)

lock_codes : 0 #Use rotary axis unlock/lock M-Codes? (0 = No, 1 = Yes)

use_frinv : 0 #Use Inverse Time Feedrates in 4 Axis, (0 = no, 1 = yes)

rot_feed : 1 #Use calculated rotary feed values, (0 = no, 1 = yes)

maxfrdeg : 2000 #Limit for feed in deg/min

maxfrinv : 999.99#Limit for feed inverse time

frc_cinit : 1 #Force C axis reset at toolchange

ctol : 225 #Tolerance in deg. before rev flag changes

ixtol : .01 #Tolerance in deg. for index error

frdegstp : 10 #Step limit for rotary feed in deg/min

check "rot_on_x" to make sure it's not turned off

Link to comment
Share on other sites

ccbenz did you look in the post for question 164? This question if set to N will not allow any post with that question to output 4th axis code.

 

Did you look at question 164 in the post looks like this:

code:

164. Enable Rotary Axis button? y  

And from the post:

code:

#Additional Notes:

# 1) Disable 4 axis by setting the numbered question 164. to 'n'.

 

--------------------------------------------------------------------------

# Rotary Axis Settings

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

# Typical Vertical

srotary "A" #Rotary axis prefix

vmc : 1 #0 = Horizontal Machine, 1 = Vertical Mill

rot_on_x : 1 #Default Rotary Axis Orientation, See ques. 164.

#0 = Off, 1 = About X, 2 = About Y, 3 = About Z

# Typical Horizontal

#srotary "B" #Rotary axis prefix

#vmc : 0 #0 = Horizontal Machine, 1 = Vertical Mill

#rot_on_x : 2 #Default Rotary Axis Orientation, See ques. 164.

# #0 = Off, 1 = About X, 2 = About Y, 3 = About Z

Do you see how both of these section refer to that question 164 what does yours have sir?

Link to comment
Share on other sites

Not exactly. It is a customer generated model and there are those pesky copywright notes on the drawing. We may be able to generate an example of the 4th axis things and put it out there. This problem is not just limited to this file. It is all of the 4th axis programs we have tried. I am sure we are doing something wrong or something is setup wrong. Just not sure what it is.

Link to comment
Share on other sites
Guest CNC Apps Guy 1

I typically use the WCS to set the top plane, then rotate about the Y axis. SOme prefer to use front for B0 and then you can use side for B90. Guess I'm just Old School That way. ANyway, once you define Top/Front Plane as a WCS then you can do your T/C PLane stuff and get the corresct output. There is a Horizontal example on the FTP I believe. I created one a while back as an example to show how to do it. Look there for horizontal example or something like that. Follow that example and you should be set.

 

James teh Rotary is my life... biggrin.gif

Link to comment
Share on other sites

CCbenz,I was able to take the transformed paths and post with rotation with no changes to your file.

 

I am going ask if you can send a copy of you post files to look at and try to see if the issue is there. Please use email and ZIP the files.

 

Thanks Jay

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