PDA

View Full Version : Error-Arc Radius


dschutz
10-13-2011, 09:48 AM
Hi All,

"Errore-Arc Radius" in win cnc.

Read a few discussions to no avail.I am not qualified to play with PP or G-Code.
I do three simple circles,three simple toolpaths.This is driving me nuts.
VCP6,Win CNC.
I'll try to attach what I am able.

Eric Mims
10-13-2011, 10:01 AM
I have an old post somewhere here on Camheads which should help you. From the manual:

G2
Clockwise Arc - G2 L# X# Y# I# J# Z# W# K#
Moves to the position specified at Feed velocity. I is the X distance to the center point. J is the Y distance to the center point. If no XY move is specified a full circle is cut. If no I or J is specified previous I J values are kept. Any axis spec that is not part of the arc its self is a simulated move with the arc.


I cannot view your crv file, can you post a screenshot of the circles you are cutting? thanks

dschutz
10-13-2011, 10:06 AM
I tried to print screen in a word document but it wouldn.t allow me to upload it.
I saw the previous post.A lot of this is greek to me.I did go in and try changing the values at incriments of .002.No luck.

dschutz
10-13-2011, 10:29 AM
Here she is.Thank you.

Eric Mims
10-13-2011, 10:35 AM
If I had to guess, I'd say it was an absolute/relative issue. Meaning, when it makes an arc, it starts at some XY, then it sees the G2 command which tells it the next point to make an arc to. The 'I' is the x offset to the arc center and the "J" is the Y offset to the center. If it starts at x20 y20 then you do a clockwise arc from there (g2 x25 y25 I5 J0), the I and J (center of arc) are relative to the starting position (x20,y20). But if it is expecting the I and J to be absolute (ie. I25 J20), then it would give an arc error.

i think I have that right.... Read through my old post on here from late 2009.

JohnnyCNC
10-13-2011, 11:30 AM
The circles work on mine Eric. I think he doesn't have an arc error set up in his WinCNC.ini file.

Eric Mims
10-13-2011, 11:40 AM
he should be able to test it all manually. Open wincnc, manually move the router by typing x10y10. type the g code right into wincnc for the g2 move you want.

g2 x12 y12 i2 j0

He does have arc error set in his ini, and it's plenty high. In the example above there is .000 arc error so I wouldn't think the arc error setting would even play a role.

dschutz
10-13-2011, 12:32 PM
The machine moved when doing the x10 y10 but when I did the other code,I got the same error.

Eric Mims
10-13-2011, 12:34 PM
Sorry, I may have misspoke earlier. I think the XY part of the G2 arc line is where the relative/absolute conflict would come into play. Not the I and J. I could be wrong, but I think I and J are always relative in Wincnc.

if you had x10y10

then did g2 x12y12i2j0 but you were in g91 mode, it would set your arc center at x12y10, but be trying to get over to x22y22. Do it in g90 mode and it would work.

just throwing around ideas. are you in g90 or g91 mode? look at bottom right of wincnc window.

dschutz
10-13-2011, 12:42 PM
I appreciate your time.

G91

Eric Mims
10-13-2011, 12:49 PM
do the same manual test above that you tried but type g90 (and hit enter) right before the g2 code

dschutz
10-13-2011, 12:54 PM
I load the file in win cnc and all appears ok.I always hit my "view" tab after loading.It is when I hit the "view"tab that I get the Arc Error.Instead of hitting the view tab after loading the file,I tried to run the file instead and got this error.(Attached)
Pulling my hair out.Self inflicted growing pains.[lol]

dschutz
10-13-2011, 01:00 PM
Sorry to be a thorn(darn newbies).

G90 G2 X12 Y12 I2 J0 Literally the G90 before the G2?Like so?

Eric Mims
10-13-2011, 01:00 PM
I can't read the error, what does it say? Try adding g90 as the first line on your .tap file.

Eric Mims
10-13-2011, 01:01 PM
no, it would be a separate line.

dschutz
10-13-2011, 01:03 PM
Limit Switch High Z

dschutz
10-13-2011, 01:07 PM
G90 Enter,then load file?

Newbie,sorry.

Eric Mims
10-13-2011, 01:11 PM
just hit g90 and enter, check bottom corner to see if it's in g90 mode, and then try the g2 line we talked about above.

JohnnyCNC
10-13-2011, 01:22 PM
Eric, if he does to G90 mode thing, I think his file will run.

Just a guess, but the file looks fine on my PC.

dschutz
10-13-2011, 01:23 PM
Same error.

Brendan from Camaster is going to call Win CNC and try to figure something out.
I even tried an older file that I've ran in the past and the same error comes up.

Thank you for your time and effort.I will continue to check this every 15 minutes or so.If anythingthing else jogs your memory,I am more than happy to learn.

Thank you so much,
Doug

Eric Mims
10-13-2011, 01:30 PM
strange, update when you figure it out

dschutz
10-13-2011, 01:36 PM
Eric,

Thank you for your time.

I did the G90 thing after powering everything down and it worked well.
This learning thing can be frustrating but rewarding.
What a community.

Thanks again,
Doug

JohnnyCNC
10-13-2011, 01:41 PM
Doug, have Brandon add a G90 to your post. They probably have one now that has it already added.

Every file should have the G90 in it just in case your machine accidentally gets switched over. G91 is relative mode, G90 is absolute. Programs written for one will not run in the other.

Good call Eric.

Joey Jarrard
10-13-2011, 02:54 PM
Good work Eric and Johnny. Thanks for your help on this.