CAD CAM EDM DRO - Yahoo Group Archive

Re: EMC - M codes pause motion?

Posted by foxprints2003
on 2003-08-27 04:41:09 UTC
--- In CAD_CAM_EDM_DRO@yahoogroups.com, Jon Elson <elson@p...> wrote:
>
>
> foxprints2003 wrote:
>
> >In EMC m-codes cause the interpreter to pause motion, example:
> >
> >g02x30y30i30j0f300
> >g02x0y0i0j-30m7(or m8,m3,m4 etc.)
> >EMC executes 1 quadrant arc, pauses motion, turns on M code
output,
> >resumes motion to complete arc.
> >If the M code is removed the motion is executed seamlessly.
> >
> >I need to be able to turn outputs on/off on-the-fly, Is it
possible
> >to setup EMC to allow M code output on-the-fly?
> >
> >
> M03, M04 and M05 are spindle start and stop commands, and there is
> a built-in delay (specified in the .ini file) that stops activity
> waiting for
> the spindle to come up to speed, or brake to a stop. It makes
perfect
> sense in machine tool applications to have a delay here. Reducing
the
> delay specified in the .ini file should make it shorter, but I
don't know
> how short it can be.
>
> M07, M08 andd M09 are coolant on/off commands, and it seems
reasonable
> that a delay is not always needed there. I think the problem may
be
> related to
> the fact that the auxilliary I/O is handled in the Linux part of
EMC, while
> motion is done by the real-time part. I suspect that the pause is
when
> these
> two parts are synchronizing for these operations.
>
> Jon

This must be done by the interpreter because the pause is not due to
lack of processing speed, the system decelerates to a stop turns on
the output immediately after stopping & then accelerates back into
the next move. Clearly the system planned the stop due to the m code
insertion. I can't imagine turning on a single discrete output would
require nearly as much processing time as anything else.
-Dean

Discussion Thread

foxprints2003 2003-08-26 12:50:38 UTC EMC - M codes pause motion? turbulatordude 2003-08-26 14:58:40 UTC Re: EMC - M codes pause motion? foxprints2003 2003-08-26 15:05:07 UTC Re: EMC - M codes pause motion? Paul 2003-08-26 15:30:54 UTC Re: [CAD_CAM_EDM_DRO] Re: EMC - M codes pause motion? Matt Shaver 2003-08-26 15:37:33 UTC Re: [CAD_CAM_EDM_DRO] EMC - M codes pause motion? foxprints2003 2003-08-26 16:26:41 UTC Re: EMC - M codes pause motion? foxprints2003 2003-08-26 16:29:39 UTC Re: EMC - M codes pause motion? doug98105 2003-08-26 17:59:27 UTC Re: EMC - M codes pause motion? Fred Smith 2003-08-26 18:29:46 UTC Re: EMC - M codes pause motion? doug98105 2003-08-26 19:52:25 UTC Re: EMC - M codes pause motion? Damon 2003-08-26 20:13:09 UTC Re: EMC - M codes pause motion? Jon Elson 2003-08-26 22:50:27 UTC Re: [CAD_CAM_EDM_DRO] EMC - M codes pause motion? foxprints2003 2003-08-27 04:41:09 UTC Re: EMC - M codes pause motion? Jon Elson 2003-08-27 10:47:20 UTC Re: [CAD_CAM_EDM_DRO] Re: EMC - M codes pause motion? Alan Marconett KM6VV 2003-08-27 12:38:46 UTC Re: [CAD_CAM_EDM_DRO] Re: EMC - M codes pause motion? foxprints2003 2003-08-27 13:34:45 UTC Re: EMC - M codes pause motion? Leslie M. Watts 2003-08-27 15:06:53 UTC RE: [CAD_CAM_EDM_DRO] Re: EMC - M codes pause motion? Jon Elson 2003-08-27 22:23:14 UTC Re: [CAD_CAM_EDM_DRO] Re: EMC - M codes pause motion?