Hello Guest it is December 10, 2019, 07:42:11 AM

Author Topic: Loosing X,Y position location  (Read 5554 times)

0 Members and 1 Guest are viewing this topic.

Loosing X,Y position location
« on: January 23, 2012, 01:48:04 PM »
Hello,

I manage a student fabrication shop at Hampshire College and four or five years ago a student converted one of our manual Bridgeports to CNC run with Mach3.  I have no prior experience with CNC and haven't been able to dedicate much time to working with this one, but I'm trying.  The student did an impressive job considering he had no prior experience with this sort of thing and was completely self guided.  Not everything worked out quite right including being able to have MPG control on only one axis at a time, and, of greater significance, he was never able to get the positional feedback system (whatever that's called) working.  Fixing that is more than I can probably take on at this point but I can't ignore a new problem we're having.

For a while now if I rapid in both axes simultaneously one of them will unpredictably stall and won't more again until I stop moving the other axis (and of course it loses its position).  I have not had this happen when I am feeding a lower rates.  Recently, after zeroing on a part and starting to run code the machine would go to the wrong Y starting operation position, and (after stopping the code) when I hit "Go to Z" it would go to a position offset from the part origin.  Sometimes it would do the same thing (to the same position) on repeated attempts and sometimes it would offset by even greater amounts.  This primarily happened on the Y but then started happening on the X as well.  Now, it makes sense that this might happen like it does on the manual rapiding since it is rapiding in two directions at once, but the odd thing is that it hasn't happened (except for possibly once) while in the middle of running code (even though it rapids multi-axis for tool changes and such).  Also,  when it happens during manual rapiding you can hear the motor complaining as long as you're holding the jog.  I don't ever hear this while running code.

I may be leaving out some relevant details, but does anyone have any suggestions about where this problem is coming from?

Thanks,

Glenn
http://lemelson.hampshire.edu/
http://www.hampshire.edu/academics/index_lemelson.htm

Offline Hood

*
  •  25,856 25,856
  • Carnoustie, Scotland
    • View Profile
Re: Loosing X,Y position location
« Reply #1 on: January 23, 2012, 06:07:14 PM »
Sounds like your velocity and/or acceleration is just on the edge, try lowering a bit and see.
Hood

Offline RICH

*
  • *
  •  7,376 7,376
    • View Profile
Re: Loosing X,Y position location
« Reply #2 on: January 23, 2012, 06:32:11 PM »
Glenn,
Are you using servo's or steppers on the mill?
RICH
Re: Loosing X,Y position location
« Reply #3 on: January 24, 2012, 07:57:34 PM »
The machine has steppers.  A student had the idea of reducing the velocity and it hasn't seized up while rapiding since then.  We haven't run code yet though because we're having a new problem.  When doing reference all home on start-up, when the Z  switch trips, the reset button lights up and gives a Limit Switch Triggered message.  My student wondered if it had to do with the velocity being reduced, but changing it to different rates has not effected the problem.

Any thoughts on that?

Thanks for the help.
Glenn
Re: Loosing X,Y position location
« Reply #4 on: January 24, 2012, 08:52:35 PM »
What is your Debounce Interval setting currently set at ? (upper right of the Config. screen)
Increase it buy 500. If that helps, then decrease it until the problem reoccurs, then increase it by 50.
Could be a bouncing contact inside the switch.
Russ
Re: Loosing X,Y position location
« Reply #5 on: January 25, 2012, 11:27:12 AM »
Russ,

It was at 14, I changed it to 500, but it made no change in the problem.

Glenn

Offline Hood

*
  •  25,856 25,856
  • Carnoustie, Scotland
    • View Profile
Re: Loosing X,Y position location
« Reply #6 on: January 25, 2012, 11:41:56 AM »
Is the limit tripped constantly even if you are away from the switch? If it is then the most likely are the switch is broken or the wiring has come loose.
Hood
Re: Loosing X,Y position location
« Reply #7 on: January 25, 2012, 11:46:50 AM »
No, I can reset and manually move all axes.

Offline Hood

*
  •  25,856 25,856
  • Carnoustie, Scotland
    • View Profile
Re: Loosing X,Y position location
« Reply #8 on: January 25, 2012, 11:50:05 AM »
Ok then it does sound like a bouncing switch, try 2000 or even 10000 and see if that helps but if it does, replace the switch as soon as you can as its better to have as little debounce interval as possible in my opinion.
Hood
Re: Loosing X,Y position location
« Reply #9 on: January 25, 2012, 12:09:05 PM »
So I just played around with the debounce.  Setting it to a much higher number I could see that it was hitting the switch and then reversing direction for a while but even up to 10000 it would still trip the reset on the way down.  The higher the number the great the distance it would go down.
What's it all mean?
Glenn