Hello Guest it is June 18, 2019, 01:47:04 AM

Author Topic: Z axis drift during X-axis motion...  (Read 9406 times)

0 Members and 1 Guest are viewing this topic.

Offline Chet

*
  •  58 58
    • View Profile
Re: Z axis drift during X-axis motion...
« Reply #10 on: November 19, 2010, 02:53:28 PM »
No, no error messages.
But I did make another observation... The Z-axis is stable during the duration of a cut, it only drifts when it is on it's way to the next cut. It's almost like it's easing in....
Re: Z axis drift during X-axis motion...
« Reply #11 on: November 19, 2010, 06:00:53 PM »
try a 0.1uf cap from each input to ground, has worked for me in the past.

Offline Chet

*
  •  58 58
    • View Profile
Re: Z axis drift during X-axis motion...
« Reply #12 on: November 19, 2010, 06:10:41 PM »
Angel Tech, thank you!
BUT they're already in place!
Remember I'm only getting the drift when the Z-axis is on it's way to the next location.
No drift with shuttle, or at specified depth...
Seems to me I remember something, way back when, about the settings of the limit switches in Mach3 that could affect Z-axis drift...
Chet

Offline Hood

*
  •  25,844 25,844
  • Carnoustie, Scotland
    • View Profile
Re: Z axis drift during X-axis motion...
« Reply #13 on: November 19, 2010, 06:23:53 PM »
Does the Z DRO show this movement?
Hood

Offline Chet

*
  •  58 58
    • View Profile
Re: Z axis drift during X-axis motion...
« Reply #14 on: November 19, 2010, 07:23:53 PM »
Yes! I was surprised to see it, but the Z-axis numbers change on the readout... even thought they are not supposed to...
But, I am embarrassed to admit, I forgot to notice whether the program is actually calling for that change...  Rats!
I'm using Acme Profiler to generate the code, but it theoretically shouldn't be generated the shift...

Offline Chet

*
  •  58 58
    • View Profile
Re: Z axis drift during X-axis motion...
« Reply #15 on: November 19, 2010, 07:28:00 PM »
Okay, I got lucky...
I have a program running and it allowed me to see the drift in action...
The Z-axis readouts show the drift with changing numbers, but the programming code does NOT call for any change.
I look forward to your analysis...

Offline Hood

*
  •  25,844 25,844
  • Carnoustie, Scotland
    • View Profile
Re: Z axis drift during X-axis motion...
« Reply #16 on: November 19, 2010, 07:32:45 PM »
Can you post your code and I will see if I can get the same in simulation. Also if you could attach your  xml if it has changed from the last time you posted it.

Hood

Offline Chet

*
  •  58 58
    • View Profile
Re: Z axis drift during X-axis motion...
« Reply #17 on: November 19, 2010, 08:01:29 PM »
It's a kind offer, Hood, but it's 56,000 lines of code.
I'll hold off on sending the file for now.
Let's see if someone else is having the same problem...
I'm sure I read about this a year or so ago when I was just getting familiar with Mach3...

Offline Chet

*
  •  58 58
    • View Profile
Re: Z axis drift during X-axis motion...
« Reply #18 on: November 20, 2010, 09:48:30 AM »
One more observation...
The Z-axis is stable during the duration of a Depth of Cut...
It is only drifting during the duration of a Height of Clearance...
Both are arbitrary commands set by the programming code.
Why would one be stable and the other unstable?

Offline Hood

*
  •  25,844 25,844
  • Carnoustie, Scotland
    • View Profile
Re: Z axis drift during X-axis motion...
« Reply #19 on: November 20, 2010, 11:21:59 AM »
Afraid with out being able to replicate it here I am out of ideas.
I have tried with your xml and it seems fine but without trying with code that you definitely get the problem with its not possible to say whether its a hardware, software or config issue.
 I understand you may not want to share the code for many reasons but if you find some simple code that also causes problems for you please post and I will see if I can replicate it.

Hood