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:

Dia. offset variable adjustment

Recommended Posts

simple example

a single line cut using Ccomp. I need to weigh balance this part so I want to use one program.

can I use a macro to make a change to tool 1 Dia. offset at the top of the program to auto change the D value and run the same program over and over using different amounts of stock removal using dia. comp?

Link to comment
Share on other sites

To understand you better, you need to balance a part and keep it's weight w/in a certain range? And you do this by cutting 1 straight wall on the part?

I assume you are taking the part out after every pass you currently make to weight and balance it?

I think it would come down to how accurate your balancing device and scale is and if your balancing device has any kind of scale on it. If you can find a correlation between how much the weight is off compared to the balance of the part I think you probably could.

Lets say your part is 1 ounce to heavy and you've determined that removing that same 1 ounce will put the part in perfect balance. You can calculate how much material you need to take off that wall to remove 1 ounce. You could just make a chart that would tell you how much to reduce the tool diameter by to remove the 1 ounce or you could make a macro where you can either put say #700=1 (where the number after = sign is how much weight you need to remove) and you would edit this number for every part or you could manually change #700 in you macro variable table so you don't have to edit your program. Then you add some macro code to calculate how much material needs to be removed and adjust the tool diameter. With either method you would want to reset your tool diameter back to nominal after every part (which can be done thru code) so that you don't accidentally cut to much material off on the next part.

More info and pics of the part and the edge you cut would be needed to get a better idea if this would work for you.

Link to comment
Share on other sites

I got this to work without having to edit the program or enter data on the offset page, simply entering data to #101,#102,#103. I'm setting this up for a green operator to run.

now to crash proof it. If they dont enter anything the offsets stay at zero and tool wont cut any material. Now if they enter to large of a negative value it will scrap the part.  So I need to figure out a GT statement for a max negative value.

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.

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.


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