Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: mjalaly on April 11, 2013, 03:02:32 PM

Title: Mach 3 motor tuning
Post by: mjalaly on April 11, 2013, 03:02:32 PM
This is my first post! Finally have and issue i cannot get around.

So i have been trying to test the accuracy on my X3 cnc conversion and i am running into a strange issue. with a dial indicator, if i move in the -x direction .100", each time it jogs the indicator goes back to 0... cool. Now if I move .100 in the x+ direction the first move goes to zero and each move after that in the same direction keeps adding .001 so it is .005 after 5 moves. The weird thing is when i change direction back, instead of going to .005 it goes back to zero!! And if i keep going in the same direction.. it goes back to zero every time!

Any thoughts??

Thanks!
Title: Re: Mach 3 motor tuning
Post by: Hood on April 12, 2013, 03:07:30 AM
Can you attach your xml please.
Hood
Title: Re: Mach 3 motor tuning
Post by: mjalaly on April 12, 2013, 08:26:58 AM
here you are
Title: Re: Mach 3 motor tuning
Post by: Hood on April 12, 2013, 02:03:04 PM
Ok go to config menu then Backlash and disable it and see if it helps, sounds to me like you may have over compensated the amount of backlash you have.
Hood
Title: Re: Mach 3 motor tuning
Post by: mjalaly on April 12, 2013, 03:14:52 PM
i tried that and it didnt seem to make a difference.
Title: Re: Mach 3 motor tuning
Post by: Hood on April 12, 2013, 03:18:42 PM
Ok keep the backlash disabled, at least for the time being. Change your active state of the step pin for the problematic axis and see if that helps.
Hood
Title: Re: Mach 3 motor tuning
Post by: mjalaly on April 12, 2013, 03:20:31 PM
Hood, could you clarify how to do that?

Also my jog is now going really slow no matter if i change the feed rate or not.
Title: Re: Mach 3 motor tuning
Post by: Hood on April 12, 2013, 03:25:40 PM
Ok jog is because you have it set to Step Jog rather than continuous, to change press the Tab Key on your keyboard then in the screen that pops up press the Jog Mode button untill it is at continuous.

To change the active setting of the step pin go to Config menu then Ports and Pins the Motor Outputs and put a tick in the Step  Low Active box for the X axis.
Hood
Title: Re: Mach 3 motor tuning
Post by: mjalaly on April 12, 2013, 03:30:09 PM
I switch between Step and Cont all the time so its not that. In cont mode it is jogging really slow how ever is was fine earlier today.
Title: Re: Mach 3 motor tuning
Post by: Hood on April 12, 2013, 03:32:19 PM
Ok have you got the Slow Jog set to a low %. The xml you attached has it in step mode and 100% but that has possibly been changed since you attached it?
Hood
Title: Re: Mach 3 motor tuning
Post by: mjalaly on April 12, 2013, 03:34:40 PM
no its set to 100%
Title: Re: Mach 3 motor tuning
Post by: Hood on April 12, 2013, 03:36:22 PM
Testing here with your xml when I jog it jogs at 35IPM which is what you have set in motor tuning, so its correct.
If you want to shut Mach down and then attach your xml again I will look and see what has changed.
Hood
Title: Re: Mach 3 motor tuning
Post by: mjalaly on April 12, 2013, 03:50:23 PM
new file
Title: Re: Mach 3 motor tuning
Post by: Hood on April 12, 2013, 03:55:22 PM
Its jogging fine here, only thing I can think of is you maybe hit a limit, pressed Reset and jogged off. It would jog off the limit at a slow rate.
If it is not that then does your Units per min DRO show 35 when you jog the X?
Hood
Title: Re: Mach 3 motor tuning
Post by: mjalaly on April 12, 2013, 04:14:39 PM
how would i find that??
Title: Re: Mach 3 motor tuning
Post by: Hood on April 12, 2013, 04:19:08 PM
On the main screen, when you press the right arrow on your keyboard the machine should jog positive and the Units per min DRO should show the speed you are jogging at.
Hood
Title: Re: Mach 3 motor tuning
Post by: mjalaly on April 15, 2013, 11:01:37 AM
this is the main screen shot while jogging.

Title: Re: Mach 3 motor tuning
Post by: Hood on April 15, 2013, 04:28:19 PM
So you were actually jogging when you took that screenshot? That is strange as there should have been a value shown in the box I have circled.
Can you attach your latest xml and I will look again.
Hood
Title: Re: Mach 3 motor tuning
Post by: mjalaly on April 15, 2013, 04:38:12 PM
Yeah when I jog that number is around 4-5 and if i change the feed rate it doesn't change the speed, still between 4 and 5. If i run a program the number does change with the feed.
Title: Re: Mach 3 motor tuning
Post by: Hood on April 15, 2013, 04:51:44 PM
Can you attach your latest xml and I will have a look and see if I can figure out the problem.
Hood
Title: Re: Mach 3 motor tuning
Post by: mjalaly on April 19, 2013, 08:45:45 AM
sorry for the late follow up. Here is the xml file. Interestingly enough is that if you use continuous jog, it jogs slow no matter how you change the feed but if you are in step mode it moves relative to the feed setting so i can make it move much faster.
Title: Re: Mach 3 motor tuning
Post by: Hood on April 19, 2013, 08:57:39 AM
Again it is working fine here, does it jog slowly if you use your mouse to click the buttons on the fly out screen?
If so then possibly a keyboard issue.
Hood
Title: Re: Mach 3 motor tuning
Post by: mjalaly on April 19, 2013, 08:59:12 AM
that is mainly what we do when joggin
Title: Re: Mach 3 motor tuning
Post by: Hood on April 19, 2013, 09:00:21 AM
Well afraid I have no idea where your problem is as the xml seems to work fine here.
Hood
Title: Re: Mach 3 motor tuning
Post by: mjalaly on April 19, 2013, 09:20:41 AM
bummer. Thanks for your help though.