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:

G98 / G99 in drill cycles


BK
 Share

Recommended Posts

I am trying to get my posts to use the G98 / G99 to control the Z clear when doing canned cycle operations. Does anybody have any good information or a link they can steer me to regarding this? The post I am working on works okay but it forces a G80 with a hard Z clear value. This posts okay but it uses this clear value on the next hole in the database so it is using the "big" z clear on two holes instead of just one. Yeah I know, big deal right!

Anyway I was hoping someone has some ideas on how to trigger this in the post.

Thanks ahead of time,

Bob

Link to comment
Share on other sites

I started with the mpsubrep post that does the work offset with sub calls. It works well but it either codes out a G98 or G99 at the start of the cycle and that's it. It never switches when you change the jump height. Is there something that needs to be re-initialized so that is will see the clearance height change?

Link to comment
Share on other sites

Any time the "Initial position" Z changes, the .NCI file goes through a new drill cycle (which has to cancel the previous one first). To get around this you have to put in some conditional flags into the pcanceldc and pdrill(ppeck, etc.) cycles to check for new op_id's. If you're not VERY comfortable editing posts, I'd stay away from this one. It's REAL time consuming.

Link to comment
Share on other sites

Thanks gstephens for the info. I can see there is definitely an advantage to the software functioning this way, such as starting a drill / tap op at a low z level and being able to control the retract value and then be able to move to a higher "R" and clear plane. I was just trying to get rid of the one extra move to the clear plane when you edit the jump height. Hey it still puts out awesome code!

Thanks again,

cheers.gif

Bob

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