Page 1 of 1

Ignore while G-code is running

Posted: Wed Jul 06, 2022 11:43 am
by cemoa9
Hello Tom,

On my machining center I have sometimes issue with one axis acting very badly during G-code, I found out that this is always the axis selected for the MPG, I suppose some noise is perturbing the MPG IO which then perturbs the movement.
Is there a way to ignore some lines of the init file while a G-code program is running?

Cordially,

Francois

Re: Ignore while G-code is running

Posted: Wed Jul 06, 2022 4:19 pm
by TomKerekes
Hi Fancois,

There is a flag JOB_ACTIVE that can be used to determine if GCode is running. So you might force no movement when true.

Re: Ignore while G-code is running

Posted: Thu Jul 07, 2022 12:34 pm
by cemoa9
Great,

Thanks Tom, when finished I will definitely share my programs (for both machines), not that they are exceptional but I hope they can be a good start for some people.

Cordially,

Francois

Re: Ignore while G-code is running

Posted: Thu Jul 07, 2022 4:45 pm
by TomKerekes
Hi Fancois,

Please do.

Thanks