error in mach3...

Help for setting up and using
Post Reply
allnew
Posts: 7
Joined: Tue May 06, 2014 10:39 pm

error in mach3...

Post by allnew »

When I load the autolever gcode into mach 3, I receive the following error:
"radius to end of arc differs from radius to StartLine939"
which then prevents me from running and testing the code.
Any ideas?
thanks
tony
Zig
Posts: 27
Joined: Wed Oct 02, 2013 12:29 pm

Re: error in mach3...

Post by Zig »

post a sample of Your G code with arc format.
allnew
Posts: 7
Joined: Tue May 06, 2014 10:39 pm

Re: error in mach3...

Post by allnew »

code sample with error is in the attachment.
tony
Attachments
ALgcode testCopperCAM.zip
(93.25 KiB) Downloaded 335 times
Zig
Posts: 27
Joined: Wed Oct 02, 2013 12:29 pm

Re: error in mach3...

Post by Zig »

Had a look at Your file on LinuxCNC software.
Reported unkmown G code at line 22 or thereabouts.
Did not have enough time to look at the report thoroughly.
Will try to locate offending statement
Zig
Posts: 27
Joined: Wed Oct 02, 2013 12:29 pm

Re: error in mach3...

Post by Zig »

a little while later...

Changed G31 ( or was it G32 ) to EMC compatible statement G38.2 see the link for explanation of G38.2

commented T lines as current tooltable reported not to conatin tool

Program bombs out on an arc statement.


G2 I-0.019 J0 X1.9475 Y-0.959 Z[#100 + -1]
G0 F2999 Z2
G0 F2999 X1.9285 Y-1.059
G0 F1499 Z0
#102=[#580+0.23597*#602-0.23597*#580]
#101=[#581+0.23597*#603-0.23597*#581]
#100=[#102+0.59285*#101-0.59285*#102]
G1 F59 Z[#100 + -1]
#102=[#580+0.23597*#602-0.23597*#580]
#101=[#581+0.23597*#603-0.23597*#581]
#100=[#102+0.64203*#101-0.64203*#102]
G1 F300 X1.9475 Z[#100 + -1]
#102=[#580+0.23597*#602-0.23597*#580]
#101=[#581+0.23597*#603-0.23597*#581]
#100=[#102+0.64203*#101-0.64203*#102]
G2 I-0.019 J0 X1.9475 Y-159 Z[#100 + -1] ######## program bombs out on this line ( first instance of error)
G0 F2999 Z2
G0 F2999 X1.9285 Y-1.159
G0 F1499 Z0

Note Y value is -159 subsequent Y value 1.159 -previous Y value -0.959

Please check source of Y=-159


LinuxCNC reports

Near line 948 of...

Radius to end of arc differs from radius to start:
start = (X1.9475, Y-1.0590)
center = (X1.9285, Y-1.0590)
end = (X1.9475, Y-159.0000) r1=0.0190
r2 = 157.9410 abs_err = 177.9
rel_err = 99.9880%


This is probably not all there is in the file and You may need to go onion skin by onion skin ( with some tears )


I hope this helps.
User avatar
Country_Bubba
Posts: 124
Joined: Wed Oct 02, 2013 3:07 pm
Location: LaGrange, GA USA
Contact:

Re: error in mach3...

Post by Country_Bubba »

Also just happen to think, as this is an arc problem,
is your mach set up for incremental or absolute in the ijk functions??? Most cam programs that I am aware of use incremental for their setup.

Just a thought.
Art
Country Bubba
Zig
Posts: 27
Joined: Wed Oct 02, 2013 12:29 pm

Re: error in mach3...

Post by Zig »

... how did it go?
Post Reply