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:

coordinate rounding issue


mowens
 Share

Recommended Posts

We have an ancient Thermwood post processor. Our updated MCX post seems to treat circular interpolation differently than linear. Notice the Y coordinates below. It rounded the Y on the G03 differently than the G01. It's not much, but it's just enough to freak out our machine. Sometimes it's worse than this.

 

G0 X-4.4547 Y-1.13929

G01 Z.025 F75.0

G03 Y-1.1393 I-.375 J0. F250.0

G01 Y-1.13929 Z1.

G0 X-4.8297 Y-1.13929

 

The machine reads this code but just makes a tiny circle or none at all, just a plunge move. Any suggestions would be greatly appreciated.

 

Thanks

Link to comment
Share on other sites

You can try searching your post for the following:

 

code:

fmt  X  2   xabs        #X position output

fmt Y 2 yabs #Y position output

fmt Z 2 zabs #Z position output

This should make you post out put X, Y, And Z to only 4 decimals and should round it to match what was on the G03 line.

 

It's my only idea... But it might work for you.

 

Jeff

Link to comment
Share on other sites

Slepy,

 

Unfortunately, this post is so old it looks very different from those included with MCX. Judging from the header this post was originally written in version 4. The closest I could find to what you suggested was this:

 

# --------------------------------------------------------------------------

# Format Assignments

# --------------------------------------------------------------------------

# Axis output formats - Linear

# --------------------------------------------------------------------------

fmt X 1 x$ # X Axis Pos

fmt Y 1 y$ # Y Axis Pos

fmt Z 1 z$ # Z Axis Pos

fmt X 1 xr$ # X Rapid Pos

fmt Y 1 yr$ # Y Rapid Pos

fmt Z 1 zr$ # Z Rapid Pos

fmt X 1 xh$ # X Home Pos

fmt Y 1 yh$ # Y Home Pos

fmt Z 1 zh$ # Z Home Pos

 

When I changed the top 3 to a value of 2 it didn't appear to change the code. I'm thinking maybe I should modify one of the generic posts in MCX and just forget about the dinosaur we're using now.

 

I see you're from Wichita, too.

Link to comment
Share on other sites

I noticed that section was labled:

 

# Axis output formats - Linear

 

There isn't another section labled

 

# Axis output formats - Circular or arcs

 

where the values are different?

 

I don't know alot about the old post I've only been using since VER 8.1. So I'm just guessing here.

 

If you want to email it to me at [email protected] I could try messing w/ it during my break later. and see If i can find the answer your issue.

 

 

Yep I've Been here my whole boring life...

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