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:

need help when using G17


Recommended Posts

need help when using G17 XY axis on lathe, the mastercam output coordinates are obtained by diameter, but it does not suit me, I need to output code by radius, how to fix it?

I need it for Siemens 840C with c axis, which has xy coordinates set by radius.

turning must be by diameter

any idea???

Link to comment
Share on other sites

I use GENERIC FANUC AXIS LATHE C-post with some changes that can work with Siemens 840C, I tried to change

dia_mult: 2 # Multiplier for output on X axis (Neg. switches sign of X)

milling output codes look good (I did not tried it on the machine)

but turning must remain at diameter

Link to comment
Share on other sites

Then you must place a conditional statement that chages the dia_mult from 2 to 1 and back to 2 after milling ops are complete, something along the lines of:

if cuttype = 4, dia_mult = 1
...

And towards the end of the mill tool change, set it back like this:

dia_mult = prv_dia_mult

What are you trying to do a C-axis contour or a Cross conntour. I fired up my debugger and used the same post as you and got a good output.

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