Page 1 of 1

macro running once in reset mode

PostPosted: Tue Nov 26, 2024 1:04 pm
by sebba
Hello,

I noticed a strange behavior. To be sure, I checked also with a new UCCNC installation, different computer. UCCNC v1.2117, demo mode, no machine connected.
So...
Program start (obviously in RESET mode which should be), type M200 (let's say) in MDI, "The reset logic of the software is active!" window pop-up (which is also OK)
but, after toggle the reset button twice (and not having the machine homed), coming back in the reset mode, type M200 in MDI, I get "The machine was not yet homed, home the machine before run to parking position!" message window, not the "The reset logic..." one.
After I get rid of this message and type again M200 I get the normal notification about reset logic mode

It seems this happen with other macros, too
M7, let's say, same scenario:
put the machine online then put it in reset mode and type M7 in MDI, even in reset mode the output is activated

can somebody else confirm this behavior?

Re: macro running once in reset mode

PostPosted: Tue Nov 26, 2024 5:08 pm
by RsX
yes, same

Re: macro running once in reset mode

PostPosted: Fri Nov 29, 2024 5:52 pm
by cncdrive
I checked and it is a bug, I corrected it now.

Re: macro running once in reset mode

PostPosted: Fri Nov 29, 2024 6:55 pm
by sebba
Great, thanks.
And BTW, there are any chances to have some easy way to run macros in reset mode?
Not with plugins, not with macroloops, something straight. Of course, restricted to some commands like moving axis or similar....
Maybe with some allowed numbers only for this.
Thank you

Re: macro running once in reset mode

PostPosted: Sun Dec 01, 2024 3:38 pm
by cncdrive
Currently the only way is via macroloops.
We did not plan to use other methods.
There was an ongoing discussion about this years ago and finally we agreed that running macros from button calls while the Reset is active is unwanted.