Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: exester on December 25, 2007, 07:10:02 AM

Title: Help, motors only humming but don't rotate
Post by: exester on December 25, 2007, 07:10:02 AM
My old computer was broke down and now i have a new IPC with touch screen  :).
I only can't get my motors running.
I've tried different motors, and power supply's but i'm not able to get even one axis running (Axis X)
I get 4.93 volts in step and dir pin and the motor wants to run but is only humming.
When i change the amount of steps per from 400 to 4000 it even makes a higher humming.
Please who can help me? (XML file attached, only look at the X-axis)

Thank you in advance,

Arjan
Title: Re: Help, motors only humming but don't rotate
Post by: jimpinder on December 25, 2007, 08:24:03 AM
My wife says that my CNC with Mach3 will not work on Christmas day !!! I don't know how she knows.

Having said that - you haven't really said a lot - what are you expecting. Have you got your motor attached to a driver card etc. Has this worked before ??? In other words what have you done.

New PC - download Mach3 - connect cable to printer port - (connect other end to a breakout board) - connect leads from pins 2 and 3 to step and direction pins on the driver card (and also a 0v return wire) - (if you have eight wire motors (four segments) then cross couple the wires to give four wires (two segments)) - connect driver card outputs to the four wires of the motor. Connect power supply to the card.

On the computer - mach3/ports and pins/port ********* selection - enable port 1
                                                          motor output - show port 1, pin 2 as the step for A axis, port 1 pin 2 as the dir for A axis
Make sure both are enabled in the first column, and you can tick active low on both pins (but you might have to reverse this)
Make sure there is no axis enable switch or pin on your driver card.

That should be it - away you go.

If you have done all that and it still doesn't work get back on the forum!!

Although how long I can stay on today is in the lap of the household authorities.
Title: Re: Help, motors only humming but don't rotate
Post by: Chaoticone on December 25, 2007, 11:05:53 AM
Try going to motor tuning and turning your accel way down.

Brett
Title: Re: Help, motors only humming but don't rotate
Post by: exester on December 26, 2007, 07:42:14 AM
It worked on my old computer with TurboCNC under DOS.
The touch screen must run under WINXP so that's why i'm trying Mach3.
I've slowed down the acceleration up to 0.2 and velocity to 20 but that didn't make any difference.
Any ideas?
Title: Re: Help, motors only humming but don't rotate
Post by: Hood on December 26, 2007, 08:38:52 AM
IPC = Industrial PC????
please give us specs of the PC.
You say you have 5v on bothe the setp and Dir pins, is this correct?
Does the Dir pin go low when you jog one way then the other go high?
Hood
Title: Re: Help, motors only humming but don't rotate
Post by: exester on December 26, 2007, 10:10:29 AM
Yes, IPC is industrual PC, a Distec with 2 GHz Celeron CPU and 128 mB RAM

When I jog I have the following signals: In + direction; Step 4.9V, Dir 0V.
In - direction; Step 4.9 Volt, dir 4.9 Volt.
I've changed the phases also several times (motor is wobling like the phases are mounted wrong).
Can I measure the phase outputs of the stepperdriver?
Arjan
Title: Re: Help, motors only humming but don't rotate
Post by: TonyP on December 26, 2007, 10:46:30 AM
Make sure the step pulse is set to to a reasonable figure - above 5 us. My own drives won't work with less than 6. Presumably you haven't changed the driver or motor since it worked on Turbocnc so there's no need to worry about the motor phase- leave it as it was.

Tony
Title: Re: Help, motors only humming but don't rotate
Post by: Hood on December 26, 2007, 11:00:23 AM
OK, the PC should be OK, bit low on memory but that shouldnt be your problem.
You are getting the Dir changing like it should but I am a bit surprised you are seeing 4.9v on the step pins when jogging. Are they at or near Zero when at rest? What are you measuring the voltage with, if a digital Voltmeter then I would say you should only be getting mV when jogging.
 I notice in your xml that you have Enable 1, 2 and 3 all connected to Port 1 Pin1, is this correct for your setup? Do your drives need enables and are they connected properly?
 Also you have Output 1 enabled but set to Port1 Pin0, this cant be correct so if you are not using Output1 then best to disable it, its probably not anything to do with your problems but you never know.

Hood
Title: Re: Help, motors only humming but don't rotate
Post by: TonyP on December 26, 2007, 11:55:53 AM
Hood,
wouldn't the active hi/lo make a difference to the voltage measured?

Tony
Title: Re: Help, motors only humming but don't rotate
Post by: Hood on December 26, 2007, 12:16:40 PM
Hood,
wouldn't the active hi/lo make a difference to the voltage measured?

Tony
Yes that is correct Tony but I was using the xml supplied by Exester so I presume the  active state to be correct.
Hood
Title: Re: Help, motors only humming but don't rotate
Post by: TonyP on December 26, 2007, 12:37:05 PM
Ah, fine, I hadn't looked at it myself.

Tony
Title: Re: Help, motors only humming but don't rotate
Post by: exester on December 26, 2007, 03:30:08 PM
I've measured again with another digital meter and i'm getting 138 mV by movement and 90 mV when stopped.
Where can i change the step pulse timing? Is it in "Config" "Motor Tuning" and then by "Step pulse"?
Title: Re: Help, motors only humming but don't rotate
Post by: Hood on December 26, 2007, 04:46:44 PM
Where can i change the step pulse timing? Is it in "Config" "Motor Tuning" and then by "Step pulse"?

yes
Title: Re: Help, motors only humming but don't rotate
Post by: exester on December 26, 2007, 04:55:36 PM
I changed it to different values but without any result.
What else can it be?

Arjan
Title: Re: Help, motors only humming but don't rotate
Post by: Hood on December 26, 2007, 04:59:08 PM
Do your drives require the enable?
What drives are they?

Hood
Title: Re: Help, motors only humming but don't rotate
Post by: exester on December 26, 2007, 05:03:21 PM
It are Linisteppers and as far as I know they don't require enable.
Otherwise, does anybody know a good adres (website) for other drives?

Arjan
Title: Re: Help, motors only humming but don't rotate
Post by: Hood on December 26, 2007, 07:12:21 PM
Do you have anything connected to Pin 1 on your port? it could just be that that is giving you problems.
Not familiar with your drives at all so cant advise on them but maybe the guys that make them can advise on how to test.
Are you using a breakout board? if yes have you checked to see the Step/Dir is getting through it?
Lastly if you are looking for drives have a look through the links above (from Artsoft tab) But if your drives were working before I wouldnt rush out and replace them, well that is unless you were unhappy with them in some way.

Hood
Title: Re: Help, motors only humming but don't rotate
Post by: exester on December 27, 2007, 01:30:33 AM
I'm using a breakoutboard and on this pin 1 is connected to a relay (which is not powered because i don't use it).
Title: Re: Help, motors only humming but don't rotate
Post by: Hood on December 27, 2007, 03:24:45 AM
Have you checked to see if the Step and Dir signals are getting through the breakout?
If you are not using the relay disable your Enable signals in Mach, also disable output 1 as you have it enabled but have it set to Pin0.
 I am wondering however what this relay is for? if you have it set to pin 1 and all three enable signals are set to pin 1 then maybe it is meant to be switching an enable signal or even an estop circuit?
Hood
Title: Re: Help, motors only humming but don't rotate
Post by: Chip on December 27, 2007, 01:46:56 PM
Hi, Exester

Are you sure your step & dir pin's are set properly, In Ports & Pins, Motor Outputs, Try swapping one of your axises from 3, 2 to 2, 3.

Some Stepper controls are sensitive to Dir, Step "Low Actives", Try it X then with Checked, Remember the "Apply" after changing.

Chip
Title: Re: Help, motors only humming but don't rotate
Post by: TonyP on December 27, 2007, 02:24:17 PM
I assume that youv'e read and checked all the points about controller inputs etc. on the website.:http://www.piclist.org/techref/io/stepper/linistep/lini_use.htm


Tony
Title: Re: Help, motors only humming but don't rotate
Post by: exester on December 27, 2007, 03:03:21 PM
I changed the step and dir signals several times and read the linistepper and Mach documentation also many times to see if i missed something.
Underwhile i've noticed that there are more problems with the linisteppers and now i'm busy with another driver to see if that will work.
Till so far i thank everybody for their help and as soon as i know more i will post it here.

Arjan
Title: Re: Help, motors only humming but don't rotate
Post by: exester on January 07, 2008, 04:23:10 PM
Today i visited damencnc.com and pick up a complete new set............running very smooth. Thank you all for your help and will close this topic.

Arjan
Title: Re: Help, motors only humming but don't rotate
Post by: Chaoticone on January 07, 2008, 08:13:35 PM
 :)