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:

How to output C-0 or C+0 for lathe C axis


opcode
 Share

Recommended Posts

Have you looked at the Machine definition and sign Axis output? The only possible down side is you may get it for all C Axis output. Trick might be using a logic statement if C = 0 then you get output, but the logic would have to look ahead at the next C Axis move to determine if C+0 of C-0 is the right output for the case. Poormans method would be use a mi or mr trigger that will control the output, but it would only work on that position. Might have to be a 3rd Party Post builder to build this post for you.

Link to comment
Share on other sites

If you want the variable signed positive, you'll have to change the formatting of the output variable. Look at the documentation. I believe you put a plus sign (+) before the number column. You should only have to put one plus sign, ahead of the Inch column (if using fs2 - type).

 

Changing the CW/CCW direction would be done with the 'rotdir' variables in the 5X post. Ron is correct on the Machine Definition controlling the 4X post output for CW/CCW directions.

Link to comment
Share on other sites

If you want the variable signed positive, you'll have to change the formatting of the output variable. Look at the documentation. I believe you put a plus sign (+) before the number column. You should only have to put one plus sign, ahead of the Inch column (if using fs2 - type).

 

Changing the CW/CCW direction would be done with the 'rotdir' variables in the 5X post. Ron is correct on the Machine Definition controlling the 4X post output for CW/CCW directions.

 

I was thinking Lathe or Mill/Turn (Turn/Mill for those that want to call it that).

  • Like 1
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...