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:

Missing G2/G3


Bob K
 Share

Recommended Posts

Good morning.

I'm having a problem this morning with my post not putting a G2 or G3 on a particular line.

 

N118 G3 X6.662 Z-6.5234 I.8634 K10.9967

N119 G1 X6.7086 Y-3.4653 Z-6.5255

N120 X6.7563 Y-3.5285 Z-6.5256

N121 X6.8057 Y-3.6216 Z-6.5198

N122 X6.8254 Y-3.6653 Z-6.5152

N123 X6.9152 Y-3.7021 Z-6.5169

N124 X6.9611 Y-3.7261 Z-6.5166

N125 X6.9608 Y-3.727

N126 X6.9573 Y-3.7407 Z-6.5136

N127 X7.2002 Y-3.7021 Z-6.5389

N128 X7.2005 Y-3.5189 Z-6.5677

N129 X7.2006 Y-3.4167 Z-6.5783

N130 X7.1917 Y-3.4098 Z-6.5782

N131 X6.6217 Y-3.4097 Z-6.5193 J.0138 I1.0056 K12.5268

N132 X6.6201 Y-3.4113 Z-6.519

 

Line N131 should have a G2 or G3. I see that the Y axis is only moving .0001. Not sure if that has anyting to do with the missing G code.

My machining center is looking for a "valid interpolation mode" to use with the I word.

 

Using V9.1.

 

Thanks,

Bob K.

Link to comment
Share on other sites

quote:

I don't know of any control out there that outputs a G2 or G3 move in X, Y, & Z at the same time

I think it would need to, Trevor, for any helical milling?

 

Bob K

 

What machine, control, and post are we talking here?

 

I think the missing code might be related to arc tolerancing; though I can't understand why it posted I, J, K but not the interpolation code?

 

[ 05-05-2003, 09:43 AM: Message edited by: chris m ]

Link to comment
Share on other sites

You are correct about the helical move Chris, except for one thing. Look at the first line where there is a G3 listed. It only has a X - Z - I - K segments in it. None of my posts have ever, that I remember, post all axis in a helical move.

 

Also, he is using a surfacing toolpath, not a helical.

 

He may have other issues.

 

[ 05-05-2003, 11:27 AM: Message edited by: Trevor Bailey ]

Link to comment
Share on other sites

Variables drop only when 1/4, 1/2, 3/4 or full circles are interped. All positions may be required for incomplete or oblique interpolations. I have seen all 3 as well as the i,j values. The key is in the I,J,K values - a helix move will be perpendicular to the interp plane (G17,18,19) and so the corresponding I,J,K will drop out, not the X,Y,or Z.

 

Since this is a surfacing tool path, there is something wrong with the point as output from the NCI File - There isn't a G2/G3 missing, there is a problem with what the move type is in the toolpath generation. The post will only do what it is told to do - so look further up the data stream for the error. With the surfacing path - maybe it slipped into Multax somehow and the post doesn't support the rotary axes needed. For a 3ax path all the i,j,k's should be set at the start and that is it - all others to be ignored.

 

[ 05-05-2003, 11:37 AM: Message edited by: Andrew McRae ]

Link to comment
Share on other sites

quote:

and so the corresponding I,J,K will drop out, not the X,Y,or Z.

 


Believe it or not some controls use the third vector component as the pitch of one complete rev of the arc in a helical interpolation. Not that this has anything to do with this guys problem. Just thought I'd mention it for accuracy. wink.gif

Link to comment
Share on other sites

quote:

I have heard of a control that will be able to read/create arc toolpaths' say at a 45 degree surfacing toolpath. I can't remember which it was though.


Sounds like a Siemans Control, the trick here is that the plane needs to be defined in the code before the arc.

 

 

Here is a blurb from Northwood Designs the makers of MetaCut Finish

quote:

Arcs may be fit in one of three methods: 1) relative to the standard orthogonal planes (XY,XZ,YZ). 2) relative to any rotation of the standard orthogonal plane. 3) to completely arbitrary planes (3D arcs). Almost all controls will machine arcs using the first method, some controls will allow method number 2, and a few controls are able to machined true 3D arcs. (*note- a 3D arc is not a helix).

HTH

Link to comment
Share on other sites

Thanks for the replies.

I downloaded the MPMASTER with the following result:

 

N121 G03 X6.662 Z-5.5234 I.8634 K10.9967

N122 G01 X6.7086 Y-3.4653 Z-5.5255

N123 X6.7563 Y-3.5285 Z-5.5256

N124 X6.8057 Y-3.6216 Z-5.5198

N125 X6.8254 Y-3.6653 Z-5.5152

N126 X6.9152 Y-3.7021 Z-5.5169

N127 X6.9611 Y-3.7261 Z-5.5166

N128 X6.9608 Y-3.727

N129 X6.9573 Y-3.7407 Z-5.5136

N130 X7.2002 Y-3.7021 Z-5.5389

N131 X7.2005 Y-3.5189 Z-5.5677

N132 X7.2006 Y-3.4167 Z-5.5783

N133 X7.1917 Y-3.4098 Z-5.5782

N134 G03 X6.6217 Y-3.4097 Z-5.5193 I1.0056 K12.5268

N135 G01 X6.6201 Y-3.4113 Z-5.519

 

The code is identical with the exception of the interpolation codes being put in their proper spots.

Before I posted this problem here this morning I put a G3 in the code at the control and the machine read right through it.

 

So where do I go from here? Looks like an issue with my post. Not sure where to look for the problem/solution in the post though.

 

Thanks again all.

 

Bob K.

Link to comment
Share on other sites

Bob K

 

 

This Morning

quote:

N131 X6.6217 Y-3.4097 Z-6.5193 J.0138 I1.0056 K12.5268


MPMASTER

quote:

N134 G03 X6.6217 Y-3.4097 Z-5.5193 I1.0056 K12.5268


Notice the difference now? There is a J value in the code and the z-ponstions are different. Sure MPMASTER puts in the proper code and you are working in the XZ plane for the interpolations so just what is it you wnat to accomplish with this move. Look furhter into the tool plane when you are generating the tool path and disable that nasty arcfilter - its not doing you anygood anyway.

 

Are you trying to use HighSpeed loops to connect?

 

[ 05-05-2003, 02:30 PM: Message edited by: Andrew McRae ]

Link to comment
Share on other sites

Andrew,

My bad. Should have looked closer.

So why did my post output the J, but not a G3?

The difference in Z value is part of the customization(sp) of my post.

I do have the arc filter on with a "total tolerance" of .003. You say this is doing me no good? Please explain.

Not doing highspeed loops intentionally. I'm using "follow surfaces" as my gap setting. Am I overlooking the highspeed settings with this toolpath?

 

Bob K.

Link to comment
Share on other sites

Try using the "one way" filtering. Did you update your post for the current version of MC that you are now running? Did you "tweak" your post yourself? What is your machining angle for the toolpath you are using? Are you using the "collapse" option made to overide resolution in accordance with the 3d cut method? There are many different options here. If your post has not let you down before, cut some air or a peice of wood to test the toolpath.

 

Personally, I would use the latest MPMASTER post from this site.

Link to comment
Share on other sites

quote:

I do have the arc filter on with a "total tolerance" of .003. You say this is doing me no good? Please explain.


If you filter an arc that is only .003 in length, then you are only consolodating 3 linear moves anyway. Looks like the file is being drip fed so there is no real imputus for making the code smaller. This is my opinion/preference so do what you need to and are comfortable with. Also look at the magnitude of the K value - a 12" radius on a move that is only .050" in length might as well just be straight!

 

I was thinking of the roughing paths where you can use the loop connect on ends of the tool path. Looking into the surface finsih shallow parameters just now, looking quickly, I have no advise on what to do to eliminate the code or fix the error. Look further into the screen/configure options and change something and post until you get what you want.

 

quote:

So why did my post output the J, but not a G3?

If I could answer that then I would be able to sleep better this evening. Have you edited the post in anyway or is it just as shipped? With G-Codes post above, I would look into this as well.

 

Short on answers but hope we are steering in the right directions.

 

[ 05-05-2003, 03:39 PM: Message edited by: Andrew McRae ]

Link to comment
Share on other sites

Trevor,

Yes I'm using the one way filtering.

My post was a paid mod. and is updated to V9.1.

Angle is set to 45 and I'm not using the collapse option. Should I be?

Maybe I'll have to look into having the current MPMASTER modified for our use.

 

gcode,

I received the email and checked for the arccheck variable. Problem is my post doesn't have that variable. Could that be part of the problem here?

 

Andrew,

No drip feed here. So reducing file size does help somewhat. Our biggest gain with using the filter is surface finish. I do agree that this particular instance may not be the best candidate for it though.

I will look further into the screen/config settings.

Have a good evening and get plenty of sleep. cheers.gif

 

Thanks,

Bob K.

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