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:

G7 output in post


Jim at Gentex
 Share

Recommended Posts

This is a question about programming with a G7 toolplane tilt and having the correct orientation.

 

This is for a 5 axis drill program I'm having a problem with. The wcs, tplane, and cplanes are all correct in Mastercam, and the backplot looks good, but when I post it out I have a problem.

 

It's probably something in my post, but I'm not sure where to look to fix it.

 

What I want is this:

 

G7 L1=1 A5=0 B5=-46.5 C5=0

 

What my post is giving me is this:

 

G7 L1=1 A5=46.5 B5=0 C5=-90

 

Any ideas?

headscratch.gif

Link to comment
Share on other sites

Jim,

 

In some cases it is possible to perform a tool plane rotation such as your post is outputting, but it depends how the machine rotates your coordinate system. If both the A and C rotation happen about the original machine coordinate systems (ie rotate 46.5 degrees about x, then rotate this new tool plane 90 degrees about the ORIGINAL z), the resulting tool plane will be equivalent to the single B rotation. This is how the G7 command should work.

 

Some machines/controls don't allow this though and require the rotations be done in a specific order. In these cases typically a post will output the rotation about the z axis first (ie G7 L1=1 A5=0 B5=0 C5=-90) and then about the x/y axis (G7 L1=1 A5=46.5 B5=0 C5=0). I doubt this is the case for your machine, it should handle everything on one line.

 

Not sure that this will help out your posting problem, but may help you understand the logic behind why the post is spitting out what it is.

 

Chris

 

[ 02-21-2008, 10:54 AM: Message edited by: Chris McIntosh ]

Link to comment
Share on other sites

Thanks for the replies!

 

Good question john316.

The post was recently upgraded from an older version, so this is the first time I'm trying 5 axis drilling with the updated version.

 

Chris,

Thanks for the explanation, and yes, it does help in my understanding. The machine (DMU80T)is only 2 years old and it will do simultaneous rotations with a single G7 call.

 

As Bruce said, it seems as though the orientation is 90 degrees off. It's probably something fairly simple, I just don't know where to look in the post to change it.

headscratch.gif

Link to comment
Share on other sites

Jim,

 

I'm saying that the post needs to output the G7 in a very specific way to make sure your X,Y and Z coordinates are mapped correctly. The only difference between the two G7 commands you've listed is the direction of the X and Y axis, the Z axis should be pointing in the same direction in both cases. The post should be looking after rotating the coordinates to match the A, B and C output. Just because the plane you are cutting on in mastercam is a 46.5 degree rotation about the Y axis does not mean the code needs to be output as a rotation about Y.

 

If indeed you do need to change the post, chances are it's in the encrypted section of the post. You will most likely need to contact your reseller to make changes.

 

Chris

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