Machsupport Forum
Mach Discussion => General Mach Discussion => Topic started by: Yianni - VJ - Glaux on April 27, 2010, 09:41:56 AM
-
Hello People,
Just installed Mach3,
Hardware: STDR-4C - GeckoG540
When i disable the AutoZero function in homing each axis goes crazy, it goes to reach the limit switch and once it does then it moves in sync with another axis while it tries to home. Difficult to put in to words...
Any intake on what could be wrong?
-
Shouldnt be a problem disabling AutoZero but actually wondering why you would do that anyway?
If you want to attach your xml I will see if I can repeat your problem here.
Hood
-
Thanks for offering to have a shot at it. Here is my XML,
I want to disable Autozero to verify that i have no significant loss of steps after running a large G-code.
Is there any better way to do that?
Even if there is i wonder why this erroneous behavior.
-
Ah Ok just tried your xml and I see you are using the SmoothStepper. I will have to test this out tomorrow and see what happens. Having said that what you should really be doing is using the verify button, I have never tested it with the SmoothStepper but Verify is supposed to work in the latest plugin.
Hood
-
Hi Hood :) I have confirmed that the problem occurs with the SmoothStepper and not the LPT driver. The situation is complicated as the 'Verify' button also does strange things. I've been talking to Greg about the problem, though we have not found the cause on Greg's suggestion I tried a G28.1 with each axis individually which will home that one axis properly no matter that the 'Auto Zero' mode.
So it looks like a work around at this time is to first keep 'Auto Zero' turned on, reference all, turn 'Auto Zero' off and then us the MDI input to run a G28.1 on each axis. (i.e. G28.1 Z0, wait until it is done then G28.1 Y0, etc). I'll try and remember to update this thread when a solution is found.
-
Thanks Jeff, been too busy at the workshop to test anything, you saved me the trouble :)
Hood
-
It seams Autozero and Verify are not the only issue here.
Trying to home the machine before you run a G-code works fine if autozero is checked.
Stopping a G-code and trying to home all hell brakes loose, same like disabling Autozero.
Can somebody duplicate this error too and suggest a solution ?
Thanks.
-
Are you stopping mid program or at the end of a program? I've not had a problem homing at all with 'Auto Zero' turned on, just with it turned off.
-
I m stopping mid program,
I didn't try waiting for a code to finish, will do though.
-
Hmmm...homing mid program while it is not a typical operation should not cause problems I think. Currently though, if you try to reference all axis with 'Auto Zero' off it will do silly things. See my post above about using the G28.1 command for the MDI line, generally I would suggest waiting until motion stops before commanding a new motion.