Re: EMC - M codes pause motion?
Posted by
foxprints2003
on 2003-08-27 13:34:45 UTC
The catch with M codes is that the EIA standard only defines them as
being Miscellaneous function codes & their operating characteristics
are up to each manufacturer to determine.
-Dean
--- In CAD_CAM_EDM_DRO@yahoogroups.com, Alan Marconett KM6VV
<KM6VV@a...> wrote:
being Miscellaneous function codes & their operating characteristics
are up to each manufacturer to determine.
-Dean
--- In CAD_CAM_EDM_DRO@yahoogroups.com, Alan Marconett KM6VV
<KM6VV@a...> wrote:
> Hi Dean,Another
>
> Yes indeed, the interpreter INTENTIONALLY delays where needed.
> example is in the drill cycles, where a G82 or G83 (and others)dwell at
> the full depth if the cycle. for example, my 'C' code calls adelay
> function (watches clock ticks) for the prescribed amount of time.wrote:
>
> Alan KM6VV
>
>
> foxprints2003 wrote:
> >
> > --- In CAD_CAM_EDM_DRO@yahoogroups.com, Jon Elson <elson@p...>
> > >there is
> > >
> > > 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
> > > a built-in delay (specified in the .ini file) that stopsactivity
> > > waiting forReducing
> > > 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.
> > themay
> > > 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
> > beof
> > > related to
> > > the fact that the auxilliary I/O is handled in the Linux part
> > EMC, whilepause is
> > > motion is done by the real-time part. I suspect that the
> > whendue to
> > > these
> > > two parts are synchronizing for these operations.
> > >
> > > Jon
> >
> > This must be done by the interpreter because the pause is not
> > lack of processing speed, the system decelerates to a stop turnson
> > the output immediately after stopping & then accelerates backinto
> > the next move. Clearly the system planned the stop due to the mcode
> > insertion. I can't imagine turning on a single discrete outputwould
> > 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?