Hello Guest it is October 16, 2019, 03:47:56 AM

Author Topic: Position Errors Only on Diagonal Moves  (Read 10266 times)

0 Members and 1 Guest are viewing this topic.

Re: Position Errors Only on Diagonal Moves
« Reply #30 on: January 15, 2015, 11:20:43 AM »
Hi Nate,
Back plotting your code, I see that the lead in/out looks a bit peculiar.

I wonder if that might be contributing ?
Maybe adjust the code and run the same profiles but without any leadins/outs ?

Just a guess, ::)
Russ
 :)
Re: Position Errors Only on Diagonal Moves
« Reply #31 on: January 15, 2015, 11:23:08 AM »
Russ,

That's the transition between the roughing and finishing passes.  The actual lead-in and lead-out are just straight Z moves.

Regards,
Ray L.
Regards,
Ray L.
Position Errors Only on Diagonal Moves
« Reply #32 on: January 15, 2015, 11:31:14 AM »
Running your Gcode, using a laser, the centreline of the toolpath produces a 1.2" square on the first pass and a 1.25" square on the second pass. Both the X-Y aligned square and the 45 deg. square are absolutely identical in dimension - there is no error.

So I think I can safely say there is absolutely nothing wrong with your Gcode or the Mach3 interpretation of that Gcode.

Hope this helps in finding your problem.

Tweakie.

Tweakie,

I am inclined to agree with you, especially after I:
  - took a known good control computer from another machine and upon hooking it to the mill it produced the same off results.
  - rebuilt the configure file from a pristine manufacturers file and a second time from scratch and still got the same off results.
  - get the same results using the PP or a UC100

My only question is, what do I check now?


Nate
Fine Line Automation
www.finelineautomation.com
Re: Position Errors Only on Diagonal Moves
« Reply #33 on: January 15, 2015, 11:43:23 AM »
Ray,
 Watching this run Single Step, you can see that the rough pass plunges straight in, but it stays at depth and does the S shaped lead in to the finish pass.
If I see it right.
Russ

Offline Tweakie.CNC

*
  • *
  •  7,947 7,947
  • Super Kitty
    • View Profile
    • Tweakie.CNC
Re: Position Errors Only on Diagonal Moves
« Reply #34 on: January 15, 2015, 11:55:54 AM »
Hi Nate,

It beats me but I think you have ruled out everything but your machine electrical's and the tuning of your servo's.
Are all your voltages correct and being maintained during the run ? - Are all your electrical connectors truly sound ?

Tweakie.
Success consists of going from failure to failure without loss of enthusiasm.  Winston Churchill.
Re: Position Errors Only on Diagonal Moves
« Reply #35 on: January 15, 2015, 12:30:21 PM »
Ray,
 Watching this run Single Step, you can see that the rough pass plunges straight in, but it stays at depth and does the S shaped lead in to the finish pass.
If I see it right.
Russ

Russ,

Yes, that is exactly right.

Regards,
Ray L.
Regards,
Ray L.
Re: Position Errors Only on Diagonal Moves
« Reply #36 on: January 15, 2015, 12:35:21 PM »
Thanks Ray
Ok, I'm curious ....  just 1 more and I'll stay out ..
You've had this machine about a year, and has it ever run any decent parts?
Any diag. interpolated move is trash?
I see it stated where CAM and hand coding does the same.
Did you try a simple point to point rotated square pattern of 4 holes maybe ?
Start at X0,Y0

X1
hole
X0 Y1
hole
X-1 Y0
hole
X0 Y-1
hole

Then measure.

Just wondering if you tried something this simple as a test  ?
This would maybe eliminate some possibilities.
Russ
Re: Position Errors Only on Diagonal Moves
« Reply #37 on: January 15, 2015, 12:44:21 PM »
Hi Nate,

It beats me but I think you have ruled out everything but your machine electrical's and the tuning of your servo's.
Are all your voltages correct and being maintained during the run ? - Are all your electrical connectors truly sound ?

Tweakie.

It has AC servos, powered directly off the 220VAC line, so supply power is not an issue.

What baffles me is it would have to be a problem in BOTH the X and Y drives as both are going to the wrong position.  But what would cause it to only happen on coordinated moves?

Very odd problem indeed....

Regards,
Ray L.
Regards,
Ray L.

Offline BR549

*
  •  6,902 6,902
    • View Profile
Re: Position Errors Only on Diagonal Moves
« Reply #38 on: January 15, 2015, 01:50:50 PM »
Ray did you measure the Square from corner to corner to check for square or just side to side ??

Have you tried a SIMPLE test with just the basic moves . only one cut, no finish cuts,No offseting , no tool changing etc?

G20 (Units: Inches)
G40 G90 G91.1 G49 G80
F1
(Part: TestSquare)

G0 Z1.000
G00 X0.8839 Y0.0000
G01 Z-0.010 F10.0

X0.0000 Y0.8839 F17.0
X0.8839 Y1.7678
X1.7678 Y0.8839
X0.8839 Y0.0000

G00 Z0.5000
X3.4008 Y0.8839

G01 Z-.010 F10.0
Y0.2589 F17.0
X2.1508
Y1.5089
X3.4008
Y0.8834
G00 Z0.5000
M05 M30

Offline BR549

*
  •  6,902 6,902
    • View Profile
Re: Position Errors Only on Diagonal Moves
« Reply #39 on: January 15, 2015, 02:19:53 PM »
Then one more test to change the way it is programmed.

(TestSquare2.txt)
G20 (Units: Inches)
G40 G90 G91.1 G49 G80 G69
F1
(Part: TestSquare)
G00 Z1.000
G00 X0.000 Y0.000
G00 Z0.010

G01 Z-.010 F10.0
G91
G1 X2.000  F20
Y2.000
X-2.000
Y-2.000
G90
G00 Z0.5000

G91
G00 X4
G90
G68  R45

G90
G1 Z-.010 F10
G91
G1 X2.000  F20
Y2.000
X-2.000
Y-2.000
G90
G0 Z0.5000

G69
G0X0.000 Y0.000
M05 M30