Hello Guest it is June 17, 2019, 03:27:28 AM

Author Topic: Help Please! arcs in Mach turn  (Read 2621 times)

0 Members and 1 Guest are viewing this topic.

Help Please! arcs in Mach turn
« on: July 19, 2010, 05:14:41 PM »
Hi
I have retrofitted my lathe and all is fine. Simple x and z cuts seem very accurate. But...I have hand written code to produce a pawn shape (No that was spelt correctly!) I am using a series of subroutines with G2 and G3 cuts using the I K system. My all dimensions are in mm to 4 decimal places. After 30 loops the position has drifted significantly by around 0.5mm per axis. What am I doing wrong??

I am on Servo motors with 2000 resolution encoders.

I have adjusted Gibs, backlash in the belts, the ballscrews seem fine.

I have slowed down velocity and acceleration to a fraction of what the servos can cope with.

I have broken each arc down into a separate subroutine in order that the errors do not add up - minor improvement

I have broken arcs that intersect axis lines (causing the motors to reverse) into separate sections.

I could get around the error multiplication by resetting zeros before a final cut but that seems very crude.

Are arc moves generally inaccurate or is it me?

Offline Hood

*
  •  25,843 25,843
  • Carnoustie, Scotland
    • View Profile
Re: Help Please! arcs in Mach turn
« Reply #1 on: July 19, 2010, 05:34:11 PM »
Arcs are fine for me on my lathe. Can you monitor the encoders in your drives software?
Hood

Offline RICH

*
  • *
  •  7,337 7,337
    • View Profile
Re: Help Please! arcs in Mach turn
« Reply #2 on: July 19, 2010, 05:45:18 PM »
I never found any problem with ARC's on my lathe.

Any cutting on the lathe will only be as accurate as your machines system.

Hood can help more relative to setup since you use servos.

RICH
Re: Help Please! arcs in Mach turn
« Reply #3 on: July 20, 2010, 03:17:25 AM »
Everything I know about electronics has been learned on this project so I am a little bit slow! I am using a dual servo drive from Granite Devices. There is software to monitor the encoder although I think that requires me to disconnect the BOB. If I can manage that what should I be looking for?

Many thanks for your prompt responses. This is my first experience with Mach3 - previous and very dead control was 1980s Anilam - its quite a jump up.

John

Offline Hood

*
  •  25,843 25,843
  • Carnoustie, Scotland
    • View Profile
Re: Help Please! arcs in Mach turn
« Reply #4 on: July 20, 2010, 04:44:12 AM »
What I am thinking is it may be a tuning issue.
If you can monitor the encoder position whilst Mach is running then you could run some code and have some M1's in the code and take a note of the encoder reading at each M1, Run the code over and over and see if the encoder readings are the same on each run.
Hood
Re: Help Please! arcs in Mach turn
« Reply #5 on: July 20, 2010, 05:53:58 AM »
I think you are right. I tuned the motors carefully but only thereafter noticed that the gibs were loose in Z and belts loose in X and Z. I will retune and see what happens. Many thanks for your help. I can see that you are a great supporter of the forum - many thanks.