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:

arc calculation error


Recommended Posts

Need some help with a post.

 

I am getting small differences in calculated arcs that are erroring out at the machine.

 

For example the following moves should have the same arc:

 

N436 G3 X1.5036 Y-1.7636 R.0434 (from X1.4284 Y-1.8067)

N438 X1.4284 Y-1.8067 R.0433

 

The .0001 difference gives an overflow error.

Actual arc is .043338

so .0434 is fine but not the .0433 arc.

 

I am not sure if I should be changing a tolerance setting in the post processor

or if the problem is in the MasterCam toolpath.

 

Using MasterCam X3, generic mpfan.pst, Tiger IV controller.

 

Thanks in advance for any insight.

Jeff

Link to comment
Share on other sites

I'm not post editing guy nor am I familiar with the Tiger IV control. Perhaps try this:

 

The MPFAN post can handle this, not sure if your control supports IJK output...

 

Settings, Machine Definition, Control definition, Arc, set the XY, xz, yz planes to Delta start to center. This should produce IJK's for your output.

 

Play with the break at quadrants, 180., or Allow 360 arcs.

 

For more detailed info, search the forum as the instuctions above have been covered repeatedly in greater detail than I provided.

Link to comment
Share on other sites

I tried IJK output, same overflow error.

Control prefers R output.

 

I assume it's some type of rounding error.

The arc should round down to .0433, but this makes the arc is too short.

If I add .0001 to the arc value, error goes away until it encounters another.

There are multiple situtations in the post where this occurs.

 

Truncating the arc value won't work, I need to round up for all values.

Arc needs to be > than 1/2 of point to point move.

 

Thanks for your thoughts.

Jeff

Link to comment
Share on other sites

NC precision already set to .0001

 

What are the rounding rules in general?

I assume .04335 is rounded up to .0434

where .04334 is rounded down to .0433.

 

I need to a force round up for all cases.

Is this even possible?

 

Or do I need to edit the code each time to add .0001?

 

Thanks,

Jeff

Link to comment
Share on other sites

I have run into this prob. some times with the tool size. say a 3mm em (.1181).

it will try and round up and down the .00005 rad. value of the .0001.

i change the tool size to an even # (.1180) and re generate. this usually cleans up

the prg.

 

HTH Ken

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