Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: farmertwingolf on August 31, 2011, 07:27:35 PM

Title: getting no motion
Post by: farmertwingolf on August 31, 2011, 07:27:35 PM
I finally got hardware installed and got the servos to tune. Now I can't get mach3 to move the servos.  I have the pins set correctly. But dunno what else to check. I have been going to mdi and inputing a g01 command, but nothin.  Thanks
Title: Re: getting no motion
Post by: Hood on September 01, 2011, 01:59:23 AM
Do the DROs move in Mach when you command a move?
Hood
Title: Re: getting no motion
Post by: farmertwingolf on September 01, 2011, 06:31:43 AM
Yeah
Title: Re: getting no motion
Post by: Hood on September 01, 2011, 07:03:46 AM
Ok then it seems you have at least enabled the axis. Can you attach your xml and I will have a look.
Hood
Title: Re: getting no motion
Post by: farmertwingolf on September 01, 2011, 07:06:24 AM
Dunno what that is or where to find it.   Could be my problem lol
Title: Re: getting no motion
Post by: Hood on September 01, 2011, 07:08:48 AM
If you open Mach look at the lower right at the name of the profile then go to your main Mach3 folder and find a file of that name with an xml extension. Copy that to your desktop and change its name to farmertwingolf.xml and then use the additional options button on the reply page to attach.
Hood
Title: Re: getting no motion
Post by: farmertwingolf on September 01, 2011, 07:16:39 AM
Ok I will definitely do that this evening.  I got the pc with a licensed version of mach from a guy that had a 7 x 7 router so it could be set up for his.
Title: Re: getting no motion
Post by: farmertwingolf on September 01, 2011, 09:08:52 PM
this is the file. thanks again hood
Title: Re: getting no motion
Post by: Hood on September 02, 2011, 02:06:45 AM
You are using a pirated  Mach licence, that is not the reason you are not getting motion but it is the reason I wont help any more.
Hood
Title: Re: getting no motion
Post by: Tweakie.CNC on September 02, 2011, 04:21:58 AM
farmertwingolf,

Buy the license - it's good value for money - Hood's technical support alone is worth many times the license fee. http://www.machsupport.com/purchase.php

Tweakie.
Title: Re: getting no motion
Post by: farmertwingolf on September 02, 2011, 06:47:34 AM
I agree about the value and hoods advice has been priceless. I bought a small router from craigslist that had the pc.  I have sold the router since it wouldn't cut aluminum but kept the pc. It had mach installed already, I did not know it was a pirated version.
Title: Re: getting no motion
Post by: Hood on September 02, 2011, 07:20:53 AM
I have no problem with people using pirate Mach, its up to them, where I do have a problem with people who do use a pirate version is when they come here and ask for help. It seems rather cheeky to me to do that, especially as Mach Demo mode is very generous in its features and the low price of a licence anyway if you need the full options.

Now I hear what you are saying about how you came by the licence, I hear that all the time, it may be genuine, may not but I give the benefit of the doubt :)

Hood
Title: Re: getting no motion
Post by: farmertwingolf on September 02, 2011, 07:37:06 AM
Thank you. At this point I don't know if I'm going to have to buy more hardware, replace hardware, or hire someone to get it running.   Once its running I will get the correct version and send new xml
Title: Re: getting no motion
Post by: Hood on September 02, 2011, 08:13:58 AM
You will unlikely need more hardware, it is probably you have the wrong pins assigned for the motors or possibly the wrong port address. Also the steps per unit will likely not be right, depends what encoders, any reduction etc for that but think it was set at 2000 per inch so it would likely make your axis move very slow at that setting.

Up to you if you want to use a hacked licence but there are known issues which may bite you in the arse. I would suggest you delete the Mach folder and the driver from device manager and dowload and install the latest Mach and use the demo version, the limitations are few and lots of people quite happily use the demo version.

Hood
Title: Re: getting no motion
Post by: farmertwingolf on September 02, 2011, 08:34:18 AM
Right now I think I need to disable the schp on both breakout boards. Hoping that fixes it
Title: Re: getting no motion
Post by: farmertwingolf on September 02, 2011, 10:16:48 PM
Ok.   Getting movement now from mach.  The axis' are not going the distances that the dro is saying they are in mdi mode. What do I adjust to correct this?   Also it seems to travel further in one direction than the other sometimes but still wrong amount.  Thanks
Title: Re: getting no motion
Post by: Hood on September 03, 2011, 03:31:18 AM
Steps per unit need set to your hardware.
Hood
Title: Re: getting no motion
Post by: RICH on September 03, 2011, 08:50:56 AM
farmertwingolf,
Just can't restrain myself from reflecting on the situation. Consider yourself falling into a "grey zone". Let me explain........
The intent of any demo software  is to allow a user time to evaluate the software before paying for it, such that post purchasing, they are
confident that what they purchased will satisfy their needs.....thus no regrets. The demo is liberal in what it provides from an evaluation point of view
due to no time restraints on it's use. I believe we provide the best support above and beyond what one could ever find. That support comes from
a graciuos giving community of users.

So hope you have a positive experience during your evaluation and find that Mach is worthy of purchase.

RICH

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Just a little personal reflection on any pirated user having the gall to use me or the community ...........

Where you got your rotten eggs and bacon from is no concern of mine and only request that they be taken to a different restaurant for preparation
as there is no more free seating available nor free coffee to go!
Title: Re: getting no motion
Post by: Tweakie.CNC on September 03, 2011, 08:54:37 AM
Well said Rich.

Tweakie.
Title: Re: getting no motion
Post by: farmertwingolf on September 03, 2011, 11:24:46 AM
Thank you hood for the benefit of the doubt. And your help.  Anyone with common sense would not have sent an xml file to anyone if they knew it was pirated. However a few people here have given the reflection that they are without flaws to the point of considering themselves justified in their remarks.  Not anything I will loose sleep over. I did download the legal free version yesterday morning with intent of buying the full version. I will not seek help here anymore . Thanks again to hood though.
Title: Re: getting no motion
Post by: RICH on September 03, 2011, 04:03:47 PM
farmertwingolf,
Not here to spare with you. My wish is for you to have a positive experience with the community of all the users and enjoy Mach.
I certainly didn't judge your posting in bad light since if that were the case there would be no post to reply back to.
My reflection was not towards you, should not be taken as such, and if so then accept a personal apology from me to you and you only.

RICH
Title: Re: getting no motion
Post by: farmertwingolf on September 03, 2011, 04:20:17 PM
Thank you rich. I appreciate that and apologize if I had taken it the wrong way. I am still having issues with the settings calculating the steps. Z seems ok but x and y aren't cooperating.
Title: Re: getting no motion
Post by: RICH on September 04, 2011, 06:39:29 AM
Try Mach's axis calbration feature which is located above Reset on the Settings (Alt-6) screen. My experience is with steppers so will leave the tuning
of your servos to those who use servos since I have a stepper system.

RICH
 
Title: Re: getting no motion
Post by: Hood on September 04, 2011, 09:23:58 AM
Could be you have electronic gearing set in the Dugong if the calcs are not coming out to what you expect. The steps per utility that Rich mentions should get you close but personally I prefer calculating things as the utility will only be as accurate as your measuring where calculating will be as accurate as your hardware.
Hood
Title: Re: getting no motion
Post by: farmertwingolf on September 04, 2011, 07:17:42 PM
I used the mach3 settings and got the machine to move .025 when commanded using a dial indicator. I'm having two problems, its traveling too far when commanded to move in mdi mode.  And when I use the virtual jog buttons it travels smooth in one direction and slow and jerky in the other. Same settings for each direction I assume.   
Title: Re: getting no motion
Post by: Hood on September 05, 2011, 02:07:38 AM
Can you attach your new xml and I will see if there is an issue. Jogging should be the same both ways, could possibly be you have the Step active Hi/lo setting the wrong way for your drives.
Hood
Title: Re: getting no motion
Post by: farmertwingolf on September 05, 2011, 08:59:16 AM
I turned the step pulse to 5 and the dir pulse to 3 in motor tuning and it seems to have straightened it out.
Title: Re: getting no motion
Post by: farmertwingolf on September 05, 2011, 11:00:16 AM
I changed the active high/low setting and now the axis' move with the step and dir settings at zero. It goes consistent in one direction then when I change directions it goes off about .010 then goes correct if I continue that direction.  A backlash issue maybe. The machine didn't have backlash issues with the anilam controller. I decided maybe I need to use servo tuning software to maybe fine tune it, but now using servoconfig3 software the servo idles so bad its shaking the machine. Nothing is being consistent.
Title: Re: getting no motion
Post by: Hood on September 05, 2011, 12:29:07 PM
Backlash enabled?
Hood
Title: Re: getting no motion
Post by: farmertwingolf on September 05, 2011, 01:30:10 PM
No
Title: Re: getting no motion
Post by: Hood on September 05, 2011, 02:31:08 PM
And if you put the Step active setting back to what you had previously do you still get this?
Hood
Title: Re: getting no motion
Post by: farmertwingolf on September 05, 2011, 02:38:49 PM
Do you mean the high/low setting or the step pulse in the motor tuning?
Title: Re: getting no motion
Post by: Hood on September 05, 2011, 02:40:47 PM
both
Title: Re: getting no motion
Post by: farmertwingolf on September 05, 2011, 02:44:18 PM
I believe my high/low settings are correct because I am able to get motion with step pulse at zero now. But I have tried the step and direction pulse on different settings. Seems to be consistent in getting off when changing directions.
Title: Re: getting no motion
Post by: Hood on September 05, 2011, 02:47:17 PM
Do the DROs show this out of position?
Attach your xml and I will have a look.
Hood
Title: Re: getting no motion
Post by: farmertwingolf on September 05, 2011, 04:01:54 PM
i noticed it was still on the wrong version. i went in and renamed the free version i had downloaded and think i set the pins, ports, inputs, and outputs the same as the wrong version, but getting no motion again.  i am close to pulling all my hair out.  here is the new xml that i am getting no motion from. thank goodness you have a lot of patience.
Title: Re: getting no motion
Post by: Hood on September 05, 2011, 04:32:47 PM
My patience ran out, must have been the long trip down the Clyde in the banana boat ;)
Hood
Title: Re: getting no motion
Post by: farmertwingolf on September 05, 2011, 04:36:17 PM
Oh. How did that xml look? 
Title: Re: getting no motion
Post by: RICH on September 05, 2011, 05:13:02 PM
You can find whatever xml was working for you by going to the xmlsbackups directory of where Mach 
is installed. You'll find a copy of the old xml file there.
RICH
Title: Re: getting no motion
Post by: farmertwingolf on September 05, 2011, 05:25:42 PM
The old xml file was the pirate one.  I have motion again with trial version. Still not moving the same in one direction as the other.  I am trying to set Y axis first.  It will move long in one direction and short in the other. If I get one direction calibrated the other direction has been off around .010
Title: Re: getting no motion
Post by: RICH on September 05, 2011, 07:06:21 PM
Quote
The machine didn't have backlash issues with the anilam controller

Did you test to see how much backlash you have? You do have backlash it's just a matter of how much.

RICH

Title: Re: getting no motion
Post by: farmertwingolf on September 05, 2011, 07:10:59 PM
The anilam just didn't have issues with the backlash. I'm sure it was corrected electronically. I turned backlash on and tried adjusting the numerals in the Y axis but didn't seem to correct the issue. Frustrating to be so close and not be able to make parts. The help here has been great.
Title: Re: getting no motion
Post by: RICH on September 05, 2011, 07:20:41 PM
You need to measure the backlash. That is done by moving in one direction and then moving in the other to see how much lost motion there is.
I use use steppers and thus rather servo tuning stupid so I leave that to those with experience on it.

RICH
Title: Re: getting no motion
Post by: farmertwingolf on September 05, 2011, 07:26:02 PM
Will that be the value I put in for the backlash value once backlash is enabled? And if I move .200 each direction and get a .010 difference, would it be that number or how far off per inch that would come out to be?
Title: Re: getting no motion
Post by: RICH on September 05, 2011, 08:11:04 PM
It would be the distance / .010". You moved one direction say .2", actualy you should move twice in the first direction just to make sure that all play is taken out.
When you  move the opposite direction your off  by say .010" and that is due no linear axis movement. The motor will be tuning but the axis movement is just taking up
the slack in the system.

You can also just move in one direction and then jog in say .001" increments the other way and you will see that it took 10 jogs @.001"  to get movement.

There are some controllers that required the backlash be set in pulses but that is not the case in Mach.

My 50-50-50 rule which you may want to consider.
50% - The max velocity is 50% of where your steppers will start to skip
50% - Set the shuttle Wheel setting in configuration to .0050  to .050 ( .5 too slow )
50% - Backlash speed
Not sure how the above works for servos.

RICH
Title: Re: getting no motion
Post by: farmertwingolf on September 05, 2011, 08:16:56 PM
Ok. Thanks rich. When I go from + to - it goes the correct distance. But when I go - then + it is off. I'm not sure how to compensate for only one direction. Another thing I have noticed is that I don't see where mach is reading my encoders. They plug into the dugong drive so I don't see where I would assign the pins.
Title: Re: getting no motion
Post by: RICH on September 05, 2011, 08:24:37 PM
Backlash only provides compensation on change of direction.

No experience with the drives you have but there a numerous folks in here that are. There also are numerous posts about using them so try a search.

RICH
Title: Re: getting no motion
Post by: farmertwingolf on September 05, 2011, 08:26:56 PM
Ok thanks again rich.