Hello Guest it is March 28, 2024, 05:24:01 PM

Author Topic: Error msg loading G-code  (Read 8373 times)

0 Members and 1 Guest are viewing this topic.

Re: Error msg loading G-code
« Reply #10 on: December 16, 2010, 07:15:06 PM »
Not sure if you wanted that "trapezoidal" shape. I changed it to a more rectangular shape with parallel sides.
Try this.
[snip]

Thanks, Gerry.  The part has to be 1.935" top to bottom, though; the only critical X axis position is that the arc must be -1.1111 from X0 Y0.  My problem here is that I don't know where the top & bottom lines (at +-0.9675) intersect the arc on the end.  I figured I could cut the straight lines and the arc separately, making the straight lines longer than necessary.  If I cut the arc first, I can't get the cutter to go to the X1 position in line N080.  For whatever reason, Mach3 executes N090 somewhere around X-.5.

Charley

Offline ger21

*
  • *
  •  6,295 6,295
    • View Profile
    • The CNC Woodworker
Re: Error msg loading G-code
« Reply #11 on: December 16, 2010, 07:48:00 PM »
Quote
My problem here is that I don't know where the top & bottom lines (at +-0.9675) intersect the arc on the end.

You can't write the correct code if you don't know that. G-code just specifies coordinates. If you don't know what they are, then you can't write the code correctly. You're trying to run before you can walk. First, do an accurate drawing and calculate all your coordinates.
Gerry

2010 Screenset
http://www.thecncwoodworker.com/2010.html

JointCAM Dovetail and Box Joint software
http://www.g-forcecnc.com/jointcam.html
Re: Error msg loading G-code
« Reply #12 on: December 16, 2010, 08:55:09 PM »
Gerry:

Having walked for a number of months, this was to be my first run.  I've been doing cutter compensation manually, and thought it time to try doing it the right way.

I didn't consider a drawing necessary, as just cutting a straight line through the arc puts me in a waste area - no need to know exactly where to stop.  Not an economical, elegant way of doing things.

Thanks for your help.

Charley

Offline ger21

*
  • *
  •  6,295 6,295
    • View Profile
    • The CNC Woodworker
Re: Error msg loading G-code
« Reply #13 on: December 16, 2010, 09:00:23 PM »
If you want to do separate moves with cutter comp, then you need to turn comp on and off for each move, and each should have it's own lead-in and lead out move. Otherwise, it won't work right.
Gerry

2010 Screenset
http://www.thecncwoodworker.com/2010.html

JointCAM Dovetail and Box Joint software
http://www.g-forcecnc.com/jointcam.html
Re: Error msg loading G-code
« Reply #14 on: December 17, 2010, 12:00:10 AM »
Gerry:

You got me thinking about my high school geometry.  The intersection of the straight side and the arc'd side occurs at 1 radius (1.1111") and at Y=0.9675" - that's two sides of a right triangle.  No problem.  They intersect at X=0.5463".

Thanks, again.

Charley