Hello Guest it is July 17, 2019, 09:38:29 AM

Author Topic: Error when machine goes back to part origin after job  (Read 3145 times)

0 Members and 1 Guest are viewing this topic.

Offline maxy

*
  •  21 21
    • View Profile
Error when machine goes back to part origin after job
« on: January 27, 2008, 11:13:42 PM »
We have our system finally setup with Mach3 and when doing test cuts as the machine finishes and moves back to it's part origin it is not going to the exact starting point.

The bit always ends up 1/8 past it's original x position...the Y looks correct...We know it's not hardware...we have calibrated the software and now we are lost on this strange problem.

The DRO's are reading 0,0,0 x y z, but the bit is ending up at approx  -.120 past our original starting point. We are not on the limit switches as the test are in the centre of the table.

P.S.  I went back and wrote G code for a 5x5 square, and ran it...when i ran that code it was also was not in the correct origin when it finishes, each time it runs it adds just a little more error it seems in the -X direction only.....

This is a servo system, we have checked for back lash and thats not the problem...


Thanks
« Last Edit: January 27, 2008, 11:59:47 PM by maxy »

Offline Hood

*
  •  25,849 25,849
  • Carnoustie, Scotland
    • View Profile
Re: Error when machine goes back to part origin after job
« Reply #1 on: January 28, 2008, 02:03:56 AM »
Does your part come out the correct size?
Hood

Offline maxy

*
  •  21 21
    • View Profile
Re: Error when machine goes back to part origin after job
« Reply #2 on: February 02, 2008, 01:32:25 AM »
Hi Hood,

As i was saying when i cut the square out it is the correct size, but the Zero position is 0.010 in the -x position on returning home and each time i re-run the program it looses another -0.010. So after 2 runs the entire square is 0.020 i the -x position.

Jeff

Offline Hood

*
  •  25,849 25,849
  • Carnoustie, Scotland
    • View Profile
Re: Error when machine goes back to part origin after job
« Reply #3 on: February 02, 2008, 09:52:24 AM »
Jeff
 Re-do your code so that it goes the opposite way round the square and see if it is now a +ve error.
Hood
Re: Error when machine goes back to part origin after job
« Reply #4 on: February 02, 2008, 02:39:14 PM »
Hi All   it is a servo system   what are you using for motor drivers. Geckos?

abheli

Offline Chip

*
  • *
  •  2,057 2,057
  • Gainesville Florida USA
    • View Profile
Re: Error when machine goes back to part origin after job
« Reply #5 on: February 02, 2008, 03:19:03 PM »
Hi, Jeff

Check in your Config, Ports & Pins, Motor Tuning, Are the Step & Dir Low Actives all set the same ? Thy should be if the servo control's are the same.

Some control's are sensitive to this setting and will preform poorly. Set them the same and use Config, Home and Limits, "Reversed" to change Direction as

needed.

May Be It, Chip

 

 
Re: Error when machine goes back to part origin after job
« Reply #6 on: February 05, 2008, 04:20:57 PM »
Jeff,

I would suggest you take an oscilloscope and check the Chan A and Chan B from the optical encoders on your X, Y and Zed axis' to make sure the signals are not noisey.  Too much electrical noise could cause missed counts and therefore cause your axis to over-run.


SC.

Offline maxy

*
  •  21 21
    • View Profile
Re: Error when machine goes back to part origin after job
« Reply #7 on: February 05, 2008, 08:46:36 PM »
WE Finally solved it on Sunday...and it was the encoder (noisy) causing the added 10thou in the -z direction......THANKS EVERYONE :) :o