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
Ignore while G-code is running
Moderators: TomKerekes, dynomotion
- TomKerekes
- Posts: 2677
- Joined: Mon Dec 04, 2017 1:49 am
Re: Ignore while G-code is running
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.
There is a flag JOB_ACTIVE that can be used to determine if GCode is running. So you might force no movement when true.
Regards,
Tom Kerekes
Dynomotion, Inc.
Tom Kerekes
Dynomotion, Inc.
Re: Ignore while G-code is running
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
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
- TomKerekes
- Posts: 2677
- Joined: Mon Dec 04, 2017 1:49 am
Re: Ignore while G-code is running
Hi Fancois,
Please do.
Thanks
Please do.
Thanks
Regards,
Tom Kerekes
Dynomotion, Inc.
Tom Kerekes
Dynomotion, Inc.