Page 1 of 1

G84 seems to be stuck in peck mode

PostPosted: Sat Sep 16, 2017 4:00 pm
by Derek
No QX.XX in the code but it still pecks. Change G84 to G33.1 and it works as expected. Version 1.2044

Thanks
Derek

Re: G84 seems to be stuck in peck mode

PostPosted: Sat Sep 16, 2017 4:09 pm
by cncdrive
Hi Derek,

I looked in the documentation and the Q parameter is modal in the G84.
Our document says:

"If the Q parameter is not programmed then the tapping cycle is executed from a single pass, except if the Q parameter was previously defined, then the previous Q value will be used, because the Q parameter is modal."

I will look up how it is done in other controllers, because G84 is not part of the RS274NGC g-codes standards, it is not a very standard code, so I can only look into other controllers documentations and make comparions, but I think we already did this when we implemented it and probably the Q was modal in other controls is why it was done this way in the UCCNC too, but to make sure I will look this up again soon...

Re: G84 seems to be stuck in peck mode

PostPosted: Sat Sep 16, 2017 4:18 pm
by Derek
Does G80 clear it because I tried that.

Re: G84 seems to be stuck in peck mode

PostPosted: Sat Sep 16, 2017 4:27 pm
by cncdrive
Good question, I don't remember that, will have to check it, but I'm not at home at the moment, can check it only on Monday.

Re: G84 seems to be stuck in peck mode

PostPosted: Sat Sep 16, 2017 10:17 pm
by cncdrive
Maybe we should just remove the Q parameter?
I mean if it is not standard ... is it useful at all for anybody?

Re: G84 seems to be stuck in peck mode

PostPosted: Sat Sep 16, 2017 11:08 pm
by Derek