Machsupport Forum
Mach Discussion => Mach4 General Discussion => Topic started by: DonnyM on January 01, 2019, 07:59:59 PM
-
I tried using the search but it seems something is broke and I keep getting brought back to the forum index.
I am using the Return to Zero button and it works as expected but pops a "Axis 0 error while disabled"
This contraption has only 3 axis. All rotary. They are set up Axis 0 =A, Axis 1=B and Axis 2=C. So far running from MDI works as expected. The return to Zero does not.
---------------------------------------------------------------
-- Go To Work Zero() function.
---------------------------------------------------------------
function GoToWorkZero()
mc.mcCntlMdiExecute(inst, "G00 A0 B0 C0")--Without Z moves
--mc.mcCntlMdiExecute(inst, "G00 G53 Z0\nG00 X0 Y0 A0\nG00 Z0")--With Z moves
end
Any suggestions?
-
I'm not sure. From what you are saying, A, B, and C are set up as 0, 1, and 2; this should work.
Maybe go into the config and disable all other motors just to be sure.
-
Under Axis mapping the only items checked are A(3) B(4) and C(5) which are set to Motor0 Motor1 and Motor2. All others have a red X.