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:

MPMaster change R-Plane output


heeler
 Share

Recommended Posts

I am trying to tweek the mpmaster post for a faagor control. The faagor wants to have the R-Plane to be output as a Z value, and the Z-Plane or depth to be an I value for example I post this

quote:

N116 G99 G82 Z-.0494 Z0. R.19 K1 F20.

N118X-11.8701Y2.0509

N120X-10.6203Y2.049

and I need this

quote:

N120 G82 G99 Z.19 I-.0494 K50 F20.

N122X-11.8701Y2.0509

N124X-10.6203Y2.049

The biggest problem I have is getting it to change the Z to an I.

Thanks

 

Glenn

 

P.S. I had to put faagor because ***or looks like this.

Link to comment
Share on other sites

The issue that you are having is that Z value needs to be I value but only for drilling cycles. Here is one way of doing it:

 

1. Define address I:

 

stri "I"

 

2. Assign zabs/zinc from "Z" to "I" in pdrlcommonb:

 

quote:

result = nwadrs(stri,zabs)

result = nwadrs(stri,zinc)


Now, your pfzout in drill cycles would output Z values as I.

 

Hope this helps,

 

Ying.

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