Machsupport Forum

G-Code, CAD, and CAM => G-Code, CAD, and CAM discussions => Topic started by: myk on December 18, 2012, 10:59:26 PM

Title: Mach sees Angles instead of Radius corners
Post by: myk on December 18, 2012, 10:59:26 PM
 ???
I have no idea what I am doing in this forum or how these work but I have come to hopefully find some help. If this post does show up and is in the wrong place I apologize.

I have finally got some parts to run and learned enough about machining and now I have this problem.

I converted a Bridgeport and have been using it with Mach 3 for several months in my spare time. I use Alibre CAD/CAM to generate G-Code and this has always worked fine for me. Recently I did a simple outside and interior profile with radius corners on the outside and Mach cut 45 degree angles instead. I don’t understand much G Code so I tried to redraw the part and found that it wanted to do the same thing. I then loaded the G Code into My trial and unregistered version of Mach that is not connected to a machine. The file came up fine with radius corners but again when I loaded the file into my licensed version on the mill it shows up with angled corners.

This machine has always done what I asked it to up until now. I can think of no changes that I have made other than speeding up my steppers. I do not understand what is happening here. Can someone help me out? Have I changed something inadvertently?

Here is the code:
G00 G49 G40.1 G17 G80 G50 G90
G20
(Outer Profile)
(1/4" EM)
M6 T15
M03 S2400
G00 Z0.2500
X-2.1164 Y-1.9990
G01 Z0.1375  F15.0
X-2.4000 Z0.0875  F5.0
G17
G02X-2.6240Y-1.7750I0.0000J0.2240 F7.0
G01 Y0.0100
Z0.1000
Y0.4580
Z0.0875
Y1.7750
G02X-2.4000Y1.9990I0.2240J0.0000
G01 X0.0101
Z0.1000
X0.4581
Z0.0875
X2.4000
G02X2.6240Y1.7750I0.0000J-0.2240
G01 Y-0.0101
Z0.1000
Y-0.4581
Z0.0875
Y-1.7750
G02X2.4000Y-1.9990I-0.2240J0.0000
G01 X-0.0102
Z0.1000
X-0.4582
Z0.0875
X-2.4000
Z0.0500
G02X-2.6240Y-1.7750I0.0000J0.2240
G01 Y0.0100
Z0.1000
Y0.4580
Z0.0500
Y1.7750
G02X-2.4000Y1.9990I0.2240J0.0000
G01 X0.0101
Z0.1000
X0.4581
Z0.0500
X2.4000
G02X2.6240Y1.7750I0.0000J-0.2240
G01 Y-0.0101
Z0.1000
Y-0.4581
Z0.0500
Y-1.7750
G02X2.4000Y-1.9990I-0.2240J0.0000
G01 X-0.0102
Z0.1000
X-0.4582
Z0.0500
X-2.4000
Z0.0000
G02X-2.6240Y-1.7750I0.0000J0.2240
G01 Y0.0100
Z0.1000
Y0.4580
Z0.0000
Y1.7750
G02X-2.4000Y1.9990I0.2240J0.0000
G01 X0.0101
Z0.1000
X0.4581
Z0.0000
X2.4000
G02X2.6240Y1.7750I0.0000J-0.2240
G01 Y-0.0101
Z0.1000
Y-0.4581
Z0.0000
Y-1.7750
G02X2.4000Y-1.9990I-0.2240J0.0000
G01 X-0.0102
Z0.1000
X-0.4582
Z0.0000
X-2.4000
G00 Z0.2500
M5 M9
M30

Title: Re: Mach sees Angles instead of Radius corners
Post by: BR549 on December 18, 2012, 11:29:58 PM
Change the changes you made BACK to the old settings and see if the problem goes away.

(;-) TP
Title: Re: Mach sees Angles instead of Radius corners
Post by: myk on December 19, 2012, 08:51:52 AM
Ya, Tried that and there was no change. Mach keeps track of the last 20 or so sessions kind of like a restore point in windows. I went back near to the beginning and I still have the same problem.
Title: Re: Mach sees Angles instead of Radius corners
Post by: BR549 on December 19, 2012, 09:06:13 AM
Code looks fine here . COULD be your CV settings OR you are cutting faster than axis acceleration can keep up AND mach3 is compensating.

Try cutting in exact stop mode.

Does the display SHOW the angle cut or the machine cuts the angle cut but shows the radius correctly?

(;-) TP
Title: Re: Mach sees Angles instead of Radius corners
Post by: myk on December 19, 2012, 10:10:58 AM
The display shows the angle. The demo version not attached to the mill shows the radius using the same code.
Title: Re: Mach sees Angles instead of Radius corners
Post by: Hood on December 19, 2012, 10:26:29 AM
Attach your xml from the machine please, it will likely be the easiest way to find the problem if it can be seen.
Hood
Title: Re: Mach sees Angles instead of Radius corners
Post by: myk on December 19, 2012, 10:34:33 AM
Sounds good... What is the xml and where do I find it so I can attach it?
Title: Re: Mach sees Angles instead of Radius corners
Post by: Hood on December 19, 2012, 10:45:22 AM
It is your config and is in the main Mach3 folder, it will have the name of the  profile you are using and will have a xml file extension. For example if you are using the default Mill profile it will be called Mach3Mill.xml
You will have to copy it to your desktop and rename it to something unique for the forum to accept. You then use the additional options button on the reply page to attach it.
Hood
Title: Re: Mach sees Angles instead of Radius corners
Post by: myk on December 19, 2012, 10:51:04 AM
Thanks,  I will do it tonight when I get home from work.  Thanks to everyone for all the input so far. I felt like I was putting a message in a bottle and sending it out to sea with my first post. Good to know there are people out there picking up the bottles.
Title: Re: Mach sees Angles instead of Radius corners
Post by: myk on December 19, 2012, 11:15:22 PM
Renamed the file with a .dwg extension. I don't know if that will render it useless or not but it will not allow me to attach a .xml or in this case a .xb## file.

There is a xmlbackups folder that I pulled this file from. No config file folder.

Myk
Title: Re: Mach sees Angles instead of Radius corners
Post by: Hood on December 20, 2012, 03:38:29 AM
Your IJ mode is incorrect, put a G91.1 in the first line of code and it should be fine. You can also change on General Config page to what you want as default  but as code can be written in either (Abs or Inc) then it is always wise to have the G90.1 or G91.1 in your code and that way it will always be changed to the correct mode no matter what your default is.
Hood
Title: Re: Mach sees Angles instead of Radius corners
Post by: myk on December 20, 2012, 07:54:47 AM
Brilliant!  I would have never found that and didnt even know that was there.  I must have some how changed it though. I swapped the setting back and it works fine. I assume that is absolute and incremental from one point to another?

Thanks so much for the help. That saves me a few months of trying to figure out what went wrong.
Title: Re: Mach sees Angles instead of Radius corners
Post by: Hood on December 20, 2012, 08:22:38 AM
The problem is it can be changed by code so you could run some code that had G90.1 in it and then try and run some other code and unless that code had the G91.1 in it it would not be reset. Restarting Mach should set it to default however but as said best to have it in all code so that it is set correctly for that code.
Hood
Title: Re: Mach sees Angles instead of Radius corners
Post by: myk on December 20, 2012, 09:25:45 AM
Good to know. Looks like I have a lot to learn about G Code. I didn't know there was any G Code with decimal points. I've yet to find a really good list of G Code and all its functions. Ill make G91.1 standard practice.

Thanks
Title: Re: Mach sees Angles instead of Radius corners
Post by: Hood on December 20, 2012, 09:55:22 AM
Have a look on the main page of the standard screeset, you will see a button labeled G Code. When you click that a window will pop up with descriptions of the code in Mach. You will likely need to read it a few times before some of it makes sense.

Hood
Title: Re: Mach sees Angles instead of Radius corners
Post by: myk on December 20, 2012, 10:06:51 AM
Will do