Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: gene8522 on November 23, 2010, 07:01:40 PM

Title: Why is the 'X' axis moving
Post by: gene8522 on November 23, 2010, 07:01:40 PM
This is my first post on this forum.
I have built a "home built CNC" from ply-wood. And this may not even be the place to ask for help. But I have about run out of ideas. I tried the other forum sites and have not found an answer to my problem.  My CNC is a Blacktoe V4 2X4 w/ chain drive on the X & Y axis. Z axis has a 1/2" 10 x 5 start lead screw.
I have been having a problem getting my motor to run smoothly. And keeping Z axis motor from stalling.
 
Saturday, I setup a simple gcode to test the motors as listed in Mach3 manual. The gcode runs in a loop and moves the gantry X axis up & down the table 50 times. I also added more moves to the gcode. Giving it a move across the 'Y axis', a move across from X0,Y0 to X20,Y12 and a move in the 'Z axis' of 4 inches up & down. Here's what it was doing while making an air cut. Everything was running fine, with just a small knock once in a while. Then the shocker, when the Z would try to move from Z0 to the + it would move about 2 or 3" and stall making a loud buzzing noise then start moving again. I tried changing the Velocity & Acceleration settings up & down but could not stop the Z motor from stalling. Of course when the Z motor would go into a stall it would throw the rest of the gcode off and start at a different spot in the code. When I stopped the program and returned to "Home" 0,0,0, it would be way off of 0,0,0 and 'Z' would drive into the table top. NOT GOOD!!!
The Z motor stalling has been going on sense day one, I kept thinking that the anti-backlash nut would work its way in, but still, it is not that tight. And YES I have been lubing it.
I tried changing the velocity & acceleration. After experimenting with the settings, the only way I could come close to having the steppers run smooth was to lower the setting on the velocity from 700 which what the math says it should be, to a lower setting.  Set X= steps @ 1420.682271 which is the setting that were set by the auto "Set steps per unit" by Mach3. Velocity @ 400, acceleration @3, step pulse @4, Dir pulse @5. Set Y= steps @ 1422.456593 (set by Mach3) velocity @ 450 acceleration @ 3. . Z= steps 1602 velocity @ 100, acceleration @ 10. I would let the loop run an air cut for a while and listen to the motors. I air cut this loop program about 15 or 16 times.  Most of the time they were running smooth, but then there would be a noticeable bump and knock like a motor skipping a step. The knocking sound has been very persistent.  And the knock and bump is coming sometimes from the X motor and sometimes from the Y motor. There is no pattern to the bumps. When I would stop the loop and go to home zero.   0,0,0 would be off, sometimes by as much 0.18 to X+ side. And a couple of times at 0.06" to the X- side of Zero. 
Here's the question: Is it likely that I have motors that are undersized and or bad? They should be 382 in oz. but here are no markings on the motors. Just a small paper tag with a couple of numbers. I put markers on all the sprockets and lead screw, and there is NO movement.
I had noticed before that sometimes when the gcode made a change in the 'Z' level is when the trouble would start.
The photo shows how much the X axis moved is one of my test cuts. Good thing it was scrap wood.
(http://i1031.photobucket.com/albums/y380/gene8522/IMG_4986.jpg)

Title: Re: Why is the 'X' axis moving
Post by: Hood on November 23, 2010, 07:15:55 PM
Have you run the driver test to see what the graph looks like?
Hood
Title: Re: Why is the 'X' axis moving
Post by: ger21 on November 23, 2010, 07:54:45 PM
What drives and power supply?
Title: Re: Why is the 'X' axis moving
Post by: gene8522 on November 23, 2010, 09:40:51 PM
.
Have you run the driver test to see what the graph looks like?
Hood

Hood,
Please tell me more about testing the drivers. My drivers are KL-4030 w/ 36 volt power supply. And the C-10 breakout board. The motors have no name on them, but they should be 382 oz in, of course made in China.(http://i1031.photobucket.com/albums/y380/gene8522/IMG_4932.jpg)

P.S. You live in a very beautiful part of the world. My Grand-son's , Grandfather is from Dundee & lives in Lenzie..... And you have some of the world's prettiest women in Scotland. ::)
Title: Re: Why is the 'X' axis moving
Post by: Hood on November 24, 2010, 03:20:29 AM
Dundee is only 12 miles from where I live.

If  you close Mach then look in the Mach3 folder you will see an icon named Drivertest.exe, double click on that and see if the pulse looks smooth, if there are large spikes or the line is very rough then you have pulsing problems.
If that is the case then it might be worth doing the optimisation steps, they are detailed in a file at the bottom of the Mach download page.
Hood
Title: Re: Why is the 'X' axis moving
Post by: Mogal on November 24, 2010, 01:44:23 PM
things to look into:

If your loosing steps, slow the machine right down. I was hoping for 150+ out of my machine,
but I lose steps around 80ipm. I currently run 60ipm max, and I haven't lost a step since.
(I need some harmonic balancers - and need to do more tweaking)

Could also look into the wiring for posible electrical interferance. Was shielded cable used?

Possible binding in the rails... did/does the gantry travel freely without the leadscrews attached?
Could we see some pics of your machine?

Hope you get it sorted out, cuz these things are great once you get them working!

Chris
Title: Re: Why is the 'X' axis moving
Post by: gene8522 on November 24, 2010, 04:35:57 PM
Believe it or not it was because of this post that I think I have found my problem. I was looking at the photo i posted and could not believe what i saw.  If you look at the dip switches maybe you will see what I saw. SWITCHES SET WRONG!!!!!. Set for 2.7A instead of 3.0A.  Reset the dips, ran an 8800 line gcode 5 or 6 times that had been giving me problems and guess what.  The tool return dead on "Home 0,0,0" at the end of each air cut!!! Funny how the more you look for a problem the easier it to over look it. Now after about 3 weeks I can get down to some real CNC work.
Here are some more photos of my build:
(http://i1031.photobucket.com/albums/y380/gene8522/IMG_4936.jpg)
(http://i1031.photobucket.com/albums/y380/gene8522/IMG_4933.jpg)
(http://i1031.photobucket.com/albums/y380/gene8522/IMG_4931.jpg)
(http://i1031.photobucket.com/albums/y380/gene8522/IMG_4930.jpg)
(http://i1031.photobucket.com/albums/y380/gene8522/IMG_4927.jpg)
(http://i1031.photobucket.com/albums/y380/gene8522/IMG_4937.jpg)
(http://i1031.photobucket.com/albums/y380/gene8522/IMG_4953.jpg)
Title: Re: Why is the 'X' axis moving
Post by: Hood on November 24, 2010, 04:39:50 PM
Good to hear and great looking machine :0
Hood
Title: Re: Why is the 'X' axis moving
Post by: Mogal on November 24, 2010, 05:04:18 PM
Nice! Grats!
Thanks for the picks looks Great!

Chris
Title: Re: Why is the 'X' axis moving
Post by: gene8522 on November 24, 2010, 05:33:23 PM
I am still getting a small bump and knock, but only when I drive the gantry up and  down the table at full velocity.

Hood have you figured out how my Grandson's, Grandfather can be from Dundee?

I live in Texas, close to Houston...................

Gene
Title: Re: Why is the 'X' axis moving
Post by: Hood on November 24, 2010, 05:55:13 PM
Ha ha well I was thinking it was his other Granddad but eh see what you are getting at now ;)


When did you leave?
Hood
Title: Re: Why is the 'X' axis moving
Post by: Hood on November 24, 2010, 06:07:41 PM
Oh hang on just read again and think I was right the first time, so take it your sone married a Dundonian lassie?
Hood
Title: Re: Why is the 'X' axis moving
Post by: gene8522 on November 24, 2010, 10:35:46 PM
It's A long story. I'm from Texas, my wife was born and raised in Glasgow. We were married 45 years ago. and live here in Texas close to Houston. My oldest daughter married a boy from Lezie. So my Grandson's Grandfather lives in Lezie, Scotland. Just outside Glasgow............... And Scotland does have some of the prettiest girls in the world. ;)

Got it?  ???   ::)
Title: Re: Why is the 'X' axis moving
Post by: Hood on November 25, 2010, 04:44:14 AM
Well sort of but where does Dundee fit in ;D Presume it must be son in laws faither was originally a Dundonian?

Hood
Title: Re: Why is the 'X' axis moving
Post by: M250cnc on November 25, 2010, 05:24:51 AM
gene8522

Nice looking build you have there.

Getting back to the problem  ;D you mentioned that you are almost happy apart from the occasional glitch since you upped the motor amps to 3amps

Look at your power supply it is only rated at 8amps you need some headroom, you could add another PS in there to give to give you a surplus

Phil
Title: Re: Why is the 'X' axis moving
Post by: gene8522 on November 25, 2010, 11:12:39 PM
Dundee is only 12 miles from where I live.

If  you close Mach then look in the Mach3 folder you will see an icon named Drivertest.exe, double click on that and see if the pulse looks smooth, if there are large spikes or the line is very rough then you have pulsing problems.
If that is the case then it might be worth doing the optimisation steps, they are detailed in a file at the bottom of the Mach download page.
Hood
The drivertest.exe will not start. Is there somewhere I can download the file?

Hood is it raining in Dundee today? Dry and 22C here in Texas.
Title: Re: Why is the 'X' axis moving
Post by: gene8522 on November 25, 2010, 11:21:34 PM
gene8522

Nice looking build you have there.

Getting back to the problem  ;D you mentioned that you are almost happy apart from the occasional glitch since you upped the motor amps to 3amps

Look at your power supply it is only rated at 8amps you need some headroom, you could add another PS in there to give to give you a surplus

Phil

My 36 volt Power supply is rated at 8.8 Amps. Do you think I should have  more?
Title: Re: Why is the 'X' axis moving
Post by: Hood on November 26, 2010, 02:19:53 AM
Drivertest comes with the Mach install. Did you have Mach running when you double clicked on it, if so close Mach and try again. If it still doesnt work try a reinstall of Mach over the top of itself. Just make sure you have your xml backed up in the unlikely event something goes wrong.

Dont know what its like in Dundee but its still dark, a bit of snow lying and minus 3 Deg C in Carnoustie.

Hood