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:

c axis address


Guest
 Share

Recommended Posts

how i can change the rotary axis address for the sub spindle in a twin spindle lathe for the mastercam 9.0 post.

i did add the following in the pcout postblock but it didn't work:

 

if spindle_no <> 0, str_cax_abs "A"

 

anyone can help with that, please.

thank you.

Link to comment
Share on other sites

yes, i just want to have A output instead of C, for the rotary axis.

 

Millman, i am using lathe 9.0 post and i know it supports sub spindle because i customized it. i dont get any error when i post it; it only outputs A string along with C for the sub spindle " for example: A C 90.0" instead of "A 90.0 ".

Link to comment
Share on other sites

D&S,

 

Couple things you can do. Keep in mind I don't know what post you're using.

 

 

code:

  

 

define these in your strings

stra "A"

strc "C"

 

the put either of these in your pcout

 

 

if spindle_no <> 0, result = nwadrs(cabs,stra)

else, result = nwadrs(cabs,strc)

 

or try this

 

if spindle_no <> 0, str_cax_abs = stra

else, str_cax_abs = strc

Brett

Link to comment
Share on other sites

Thanks Brett,

 

The following is what i added to the post and it did give me what i was looking for

 

if spindle_no = 0, result = nwadrs(stra, cabs)

else, result = nwadrs(strc, cabs)

 

thanks for all of you too.

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