Welcome, Guest. Please login or register.
Did you miss your activation email?
May 26, 2012, 01:27:48 PM

Login with username, password and session length
Search:     Advanced search
* Home Help Search Calendar Links Login Register
+  Machsupport Forum
|-+  Mach Discussion
| |-+  General Mach Discussion
| | |-+  Help Please! arcs in Mach turn
Pages: 1   Go Down
Print
Author Topic: Help Please! arcs in Mach turn  (Read 384 times)
0 Members and 2 Guests are viewing this topic.
theshed
Active Member

Offline Offline

Posts: 28


View Profile
« on: July 19, 2010, 04: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?
Logged
Hood
Active Member

Offline Offline

Posts: 17,351


Carnoustie, Scotland


View Profile
« Reply #1 on: July 19, 2010, 04:34:11 PM »

Arcs are fine for me on my lathe. Can you monitor the encoders in your drives software?
Hood
Logged
RICH
Global Moderator
*
Offline Offline

Posts: 4,707




View Profile
« Reply #2 on: July 19, 2010, 04: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
Logged
theshed
Active Member

Offline Offline

Posts: 28


View Profile
« Reply #3 on: July 20, 2010, 02: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
Logged
Hood
Active Member

Offline Offline

Posts: 17,351


Carnoustie, Scotland


View Profile
« Reply #4 on: July 20, 2010, 03: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
Logged
theshed
Active Member

Offline Offline

Posts: 28


View Profile
« Reply #5 on: July 20, 2010, 04: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.
Logged
Pages: 1   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!