Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: TT350 on March 29, 2008, 12:55:45 AM

Title: Help!!!!!
Post by: TT350 on March 29, 2008, 12:55:45 AM
This is some weird stuff guys, After this was cut I checked my X/Y position and found that my X was out over an inch.
This sould been a round hole. I was cutting this on my Tormach.
Take a look at the code and see if any thing is wrong.
Chris
Title: Re: Help!!!!!
Post by: Graham Waterworth on March 30, 2008, 06:23:10 AM
What did you use to create the code and the drawing?

The code is very long for such a simple job.

Graham.
Title: Re: Help!!!!!
Post by: TT350 on March 30, 2008, 10:40:42 AM
Visual mill 5.0
Title: Re: Help!!!!!
Post by: TT350 on March 30, 2008, 11:50:44 AM
I cut a part about 6 mouths ago where it cut an arc and the arc was made up of lots of little flats.

I called the guys at VM and they told my where to make changes so VM would cut the arcs smooth with out the segments.

With this selection made VM outputs the I&J’s for hole pocketing.
Title: Re: Help!!!!!
Post by: Graham Waterworth on March 31, 2008, 07:02:13 PM
Normally you would output without any options ticked, then you should get a single line of code for each move down in Z.

E.g. 

G03 I-.25 Z-.05
G03 I-.25 Z-.10
Etc.

Graham.
Title: Re: Help!!!!!
Post by: TT350 on March 31, 2008, 08:35:39 PM
The hole is 1.0 why is the I-.25?

Chris
Title: Re: Help!!!!!
Post by: jallitt on April 01, 2008, 05:10:32 AM
is it skipping steps in one axis in the G00's? If you turn off "use rapids" in the feedrate dialog in VM it'll do G01's at the selected feedrate instead. Have you checked your motor tuning to make sure it can still run at top speed in that axis?
Title: Re: Help!!!!!
Post by: TT350 on April 01, 2008, 09:03:46 AM
Yes it is skipping steps.
After it cut what you see in the board I checked the X Y zero
and the X was way out, over an inch.

Chris
Title: Re: Help!!!!!
Post by: TT350 on April 01, 2008, 09:17:20 AM
I don't think there's any G00's in the Hole pockting code.
Title: Re: Help!!!!!
Post by: Hood on April 01, 2008, 11:30:28 AM
Is the X DRO out as well or is it just the axis?
Title: Re: Help!!!!!
Post by: TT350 on April 01, 2008, 12:52:07 PM
It's the X that's out.

I put a edge finder on the part to see if the X was still good
and found it to be out over an inch.
Title: Re: Help!!!!!
Post by: jallitt on April 01, 2008, 05:18:33 PM
I just stepped through the hole pocketing in single-blk mode - you can see the toolpath move to the right (with a G03) before each arc is cut. Maybe try slowing down engage-feed in VM. Does it skip steps with aircuts or only when cutting?

Title: Re: Help!!!!!
Post by: jallitt on April 01, 2008, 06:51:10 PM
I think these are the problem

G03X3.2480Y1.0313I-0.1250J0.0000Q0.1250

it's that part of the path after the helical bit and before the circular cut - seems like it shouldn't look like a straight line. Any chance of a frame grab of the VM toolpath looking down at the hole?
Title: Re: Help!!!!!
Post by: Graham Waterworth on April 01, 2008, 07:19:52 PM
G03X3.2480Y1.0313I-0.1250J0.0000 Q0.1250

Mach dose not support the Q command in G03's

You need to amend the post processor to remove the Q's

Graham.
Title: Re: Help!!!!!
Post by: TT350 on April 01, 2008, 09:20:28 PM
Guys I don't know what I'd do with out !!!!
Title: Re: Help!!!!!
Post by: TT350 on April 01, 2008, 09:28:38 PM
Here ya go
Title: Re: Help!!!!!
Post by: TT350 on April 01, 2008, 10:59:43 PM
Ok guys here's a screen shot of the VM post for spiral interpolation.
You can see the Q that it outputs.
If I select helical interpolation it will output a K

Should I delete the Q command or replace it with somting else?

Now for the helical interpolation is the K output ok or should I do somthing
with it?
Title: Re: Help!!!!!
Post by: jallitt on April 01, 2008, 11:19:02 PM
I think you probably need to check "output spiral motions as linear segments" in the machining prefs if Mach can't interpret a G03 with a "Q" in it. It's already doing the helical part of the path as linear segments BTW. 
Title: Re: Help!!!!!
Post by: TT350 on April 01, 2008, 11:41:31 PM
I can edit the post for the Q if needed.

When I cut a circle I wont it to be smooth without the little flats,
so witch one do I leave unchecked?
Title: Re: Help!!!!!
Post by: FarReachFarm on April 02, 2008, 03:01:16 AM
I don't know if this is useful or not, but in the last control system I had it would make crazy spirals and loops whenever I tried to cut a interpolated hole like what I see you are doing.  I found an option in the old control setup (not Mach 3) to select Fanuc or Bridgeport style arcs when processing G-Codes.  I was using MasterCAM's default post-processor, so in the machine control I selected Fanuc arcs.  Is this related to the Q parameter?
Title: Re: Help!!!!!
Post by: jallitt on April 02, 2008, 04:11:14 AM
leave "output arcs as linear motions" UNCHECKED then the circular part of the hole will be smooth - it's just the spiral lead-in that'll end up as line segments - but with CV on Mach will interpolate a smooth curve anyway.  VM wants to make a spiral move with an R3 with a Q, if you take the Q out you'll just get an arc (not a spiral) which is almost certainly not what VM wants the toolpath to look like.

I can edit the post for the Q if needed.

When I cut a circle I wont it to be smooth without the little flats,
so witch one do I leave unchecked?
Title: Re: Help!!!!!
Post by: TT350 on April 03, 2008, 09:39:24 AM
I deleted the Q from the post with no luck, it cut the hole the same.

I left the liner motions unchecked and put check marks in the other 2
and it cut a nice hole.

Thanks to all that responded to help me resolve this.

Chris