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:

Post with Advanced Probing Logic


Recommended Posts

I have been tasked with developing a post that does some very advanced tweaking of a program. This will require an entire program to be 'best-fit' on a casting, including rotation and floating 'groups' of toolpath to match casting features.

 

My plan of attack is to use comments to 'instruct' the post what calculations to do and what features to probe. The post will 'read' the comment lines and calculate accordingly.

 

If anyone has tried to do anything like this, I would be interested in avoiding some of the problems that were encountered... :blink:

Link to comment
Share on other sites

I do a few casting parts with the G68 coordinate rotation (horizontal front plane) and several casting parts with multiple variable offsets for "best fit", but none with both. You have a lot of work. The biggest problem for me was (is) that very few casting processes are similar to others so you have to be careful with messing up previous processes. One thing I did which made life easier for me with multiple offsets was to probe the part at it's nominal zero position, copy all the offsets from the original and as the offsets are probed for each part shift the distance from where the original zero point (X,Y,Z,B. )

Link to comment
Share on other sites

This project requires all adjustments to be made to XY code. On the same work coordinate. In other words, evaluate the casting via the probe, and turn straight cuts into angled cuts if necessary. Plus float groups (using adjusted XY values) without shifting work coordinates.

 

This is going to be fun... :rolleyes:

Link to comment
Share on other sites
Guest CNC Apps Guy 1

Probe for angle, rotate using Coordinate Rotation... done. Been doing that since the early 90's. You just need to do two things IIRC, have your initial move be in an always safe location, then expand your search distance to cover max error.

 

JM2C

Link to comment
Share on other sites

I have a modified mpmaster horizontal post which could do all of this very nicely, will output G68 values and you can insert sub programs (for probing and macro calls) at the end of the posted code as comments and they will post after the M30 so they read in properly without hand editing. Then I call the subprograms with the subprogram drill cycle. I would be willing to help you modify a post for your own needs / provide you with sections of code so you post can do this without any hand editing beyond what you hand write in with manual entry for the probing portion.

 

Good luck.

 

 

Husker

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