Hello Guest it is April 19, 2024, 02:38:07 PM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - theshed

Pages: « 1 2 3
21
General Mach Discussion / Re: Still being driven mad by arcs
« on: October 11, 2010, 07:56:25 AM »
I can set the gearing to 1:1. I have not tried that. I started at 4x and moved upwards - no obvious change to the error. I am using 25kHz. My PC is only 1.1GHz with 256MB of Ram - it may not like running any faster. at 1:1 I would be up to 3200 steps per mm great resolution but maxed out at about 240mm/min! New PC?

22
General Mach Discussion / Re: Still being driven mad by arcs
« on: October 11, 2010, 07:19:20 AM »
Hi

Servos are brushed DC SEM servos Max 140v (running at 100v) Encoders are 2000 line differential - The drive is a Granite Devices Dual drive. I have varies the accel from 50mm/s/s up to 400mm/s/s it is most comfortable at between 150 and 200 - changing the accel  has no noticable effect on the error - however changing the velocity does - slower is worse.

I have set the multiplier on the drives to 16x. Since doing that I notice that the servos click at very low speeds - sounds like the brushes on the armature but I am not sure - motors are fairly new (the machine had sat all its life unused in a college)

Any thoughts at all gratefully received. I tuned the motors quite carefully and got good response curves - I am starting to wonder whether there was a backlash or stiction issue.

I have shielded all cables and do not think noise is the issue - the errors are repeatable - same size same direction. I have reloaded the pc and changed the parallel port cable - no change at all. As I say all non curve moves appear to be accurate (I have tested that statement reasonably carefully).

23
General Mach Discussion / Re: Still being driven mad by arcs
« on: October 11, 2010, 06:53:07 AM »
Thanks for the help - I will try that this evening. I am however beginning to think that my servo tuning is off. At low speeds the motors click and the errors are much worse. The faster I run the machine the less the errors - almost the reverse of the usual difficulties I have seen posted.

As for the threading - you are right I did not allow anything like enough Z before cutting - I will try again.



24
General Mach Discussion / Re: Still being driven mad by arcs
« on: October 10, 2010, 03:02:20 PM »
Thanks all,

the code in the subroutine is

G90
G2 X0 Z-24 I0 K-12
G3 X0 Z-24 I0 K-12
G0 Z48

repeated 50 times. The problem is not unique to the code but to any program with G2 or G3 moves but strangely not to any code written with straight lines including where the axis move together. I had another play today and tried to run a G76 threading cycle - not a chance! the drive signaled an E-stop saying that there was a follower error. I wonder if there is a link? I think the servos are well tuned but am not sure.

I am getting a bit grumpy with my CNC lathe a I made some parts on my 1908 lathe as therapy!

25
General Mach Discussion / Still being driven mad by arcs
« on: October 09, 2010, 09:54:30 AM »
My problem is that my lathe loses position when I use any code with either a G2 or G3 command. I think that there is something in the pulse train in curves that confuses the servo drive. I have tried the following tests. I have written a test program that runs an S shape (G2 then G3) 50 times in rapid. At the end there is an error on each axis +0.8mm Z and -1mm X. I can run a test on either axis running 200 rapid moves backwards and forwards  - no error. I can run 200 moves backwards and forwards with both axis moving together in a straight line - again no error.

The errors are repeatable. I do not think that it is noise, a weak port signal, or my rather old pc (although I could be wrong).

The servo drive needs the Dir pulse to lead the Step pulse. My problem is that I do not know what that means! I have step set in Mach3 at 3 and Dir as 10. I have tried loads of values but seen no change.

Is the Dir signal pulsed in the same way as the step or does it only change between 0 and 1 on a direction change?

As far as I can measure (which is good enough for me) I have no problems with any moves other than curves. I have been working at this for 2 months now and may just burn down the shed!

I have servos 2000 line encoders, 16x multiplier, 200/250 steps per mm and a dual axis servo drive.

26
General Mach Discussion / Re: Help Please! arcs in Mach turn
« 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.

27
General Mach Discussion / Re: Help Please! arcs in Mach turn
« 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

28
General Mach Discussion / 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?

Pages: « 1 2 3