Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: cliveastro on February 11, 2010, 12:40:01 PM

Title: Stepper Driver Playing Up
Post by: cliveastro on February 11, 2010, 12:40:01 PM
Hi
I am just finishing off modifying my lathe for Mach3 based CNC.
Although it runs, the Z motor runs fine in one direction when I reverse the direction it slows and nearly stalls then runs fine. Each jog in that direction is fine.
When I reverse direction again it stalls then runs fine.
I swapped the motors and they are both fine the fault follows the stepper driver.
Any clues please

Clive
Title: Re: Stepper Driver Playing Up
Post by: M250cnc on February 11, 2010, 12:41:28 PM
Can you swap a driver ?

Phil
Title: Re: Stepper Driver Playing Up
Post by: cliveastro on February 11, 2010, 12:44:26 PM
Hi
I dont have another driver that size.
Its a Motion Control Products MSD325 they are quite small.
Title: Re: Stepper Driver Playing Up
Post by: M250cnc on February 11, 2010, 12:54:17 PM
The only thing i can think of to try is make sure in the motors section of ports and pins that Dir LowActive & Step Low Active are all unticked.

Motor reverse is best done in Config, Homing limits

Phil
Title: Re: Stepper Driver Playing Up
Post by: cliveastro on February 11, 2010, 01:03:59 PM
I must admit I havent looked at the config lately as it all worked.
Its almost like it runs out of power in the other direction.
I initally thought the motor was underpowered.

Clive
Title: Re: Stepper Driver Playing Up
Post by: M250cnc on February 11, 2010, 01:09:17 PM
Clive they work best when the power supply is up to 25 times the motors rated voltage.

What is your rated voltage ?

I would take off the motor and turn the screw by hand so you can feel if one way is stiffer over the other.

Phil
Title: Re: Stepper Driver Playing Up
Post by: cliveastro on February 11, 2010, 01:14:38 PM
It does with the motor on the bench.
Its definately the stepper driver because when I swap motors it does it on the other motor.
Title: Re: Stepper Driver Playing Up
Post by: M250cnc on February 11, 2010, 01:19:42 PM
Clive sorry, you already said that.

Have you checked the config ?

Phil
Title: Re: Stepper Driver Playing Up
Post by: cliveastro on February 11, 2010, 01:44:08 PM
I think I will have another bash tomorrow or the weekend I dont fancy trudging through the snow again tonight.

Clive
Title: Re: Stepper Driver Playing Up
Post by: cliveastro on February 13, 2010, 07:01:22 AM
Stiill having problems
1. Have checked the config
2. Have tried sherline
3. Have buzzed out all wires
4. Removed 5v ground
5. swapped motors
6. Moved wires on breakout board from 4 and 5 to 6 and 7
7. Swapped stepper driver - this was interesting both stepper drivers work in the X axis both drivers didnt work in the Z axis
Have now run out of ideas

Clive
Title: Re: Stepper Driver Playing Up
Post by: M250cnc on February 13, 2010, 07:34:50 AM
Clive if the X is OK with both drivers but the problem is with the Z then that is where the problem lies.

If there is some intermittent binding at certain points, or lower the motor top speed in motor tuning that also might tell you if it is a lack of power

While i was building my lathe i used a cordless drill to move the Z axis you may have some "Crabbing" when you make a reverse move

Phil
Title: Re: Stepper Driver Playing Up
Post by: cliveastro on February 13, 2010, 08:12:42 AM
Hi Phil
Its not binding, the motors on the bench!
It does it with both motors.
I am starting to think its breakout board, cable or parallel port as it works on pin 2 and 3 but not on pins 4 and 5, 6 and 7, 8 and 9.
I think I will swap computers next.

Clive
Title: Re: Stepper Driver Playing Up
Post by: cliveastro on February 14, 2010, 06:00:55 AM
Hi Phil
The problem appears to be computer/software related I swapped the computer and put in the same settings as I have been using and it worked.
So the problem is either the port drivers or the software. Any suggestions?

Clive
Title: Re: Stepper Driver Playing Up
Post by: M250cnc on February 14, 2010, 06:45:38 AM
Clive glad you are getting there.

Start each computer into the BIOS check what the printer port mode is if they are different try the working computer settings on the non working computer.

Phil
Title: Re: Stepper Driver Playing Up
Post by: cliveastro on February 14, 2010, 09:05:08 AM
Hi Phil
Fixed it.
I reloaded Mach3 and removed the wireless network card.
Dont know which one fixed it but both motors run very much better.
Thanks for your help.
Clive
Title: Re: Stepper Driver Playing Up
Post by: Hood on February 14, 2010, 10:16:33 AM
Was it a Netgear wireless card? a few people seem to have issues and all I think have been with Netgear wireless.
Hood
Title: Re: Stepper Driver Playing Up
Post by: cliveastro on February 14, 2010, 04:24:14 PM
Yes it was a netgear wireless router card.
I have used a buffalo usb wireless stick with no problems.
Clive