CAD CAM EDM DRO - Yahoo Group Archive

RE: [CAD_CAM_EDM_DRO] RE: Why can't I re-run this program?

Posted by John Guenther
on 2001-07-11 05:15:59 UTC
Ray, Jon, Tim,

I have made all the suggested changes to the program to get it into proper
g-code format. It still won't restart after it has been executed.

My system is a pentium laptop with redhat 6.2 and rtlinux 2.0 and the August
2000 EMC release.

I plan on installing the BDI release soon, or at least moving up to the
January 2001 release of EMC. Thanks for all the help you have provided on
this question. I got the part I was working on machined and it came out
very nice. My CNC Sherline 5400 cutting 1018 steel with a .5 inch diameter
3/8" shank end mill is not the fastest thing in the world but it beats the
heck out of turning the cranks 4000 times to get this .75 deep by 1 by 1.5
inch pocket cut.

Thanks again

John Guenther

> -----Original Message-----
> From: Ray [mailto:rehenry@...]
> Sent: Tuesday, July 10, 2001 9:57 AM
> To: CAD_CAM_EDM_DRO@yahoogroups.com
> Subject: [CAD_CAM_EDM_DRO] RE: Why can't I re-run this program?
>
>
>
> John, Tim, Jon
>
> (comments mixed in)
>
> ----Original Message-----
> > From: Tim Goldstein [mailto:timg@...]
> > Sent: Monday, July 09, 2001 12:19 PM
> > To: 'CAD_CAM_EDM_DRO@yahoogroups.com'
> > Subject: RE: [CAD_CAM_EDM_DRO] Why can't I re-run this program?
> >
> >
> > I never really got a good explanation of the various "M" codes,
>
> Concerning program end codes, Tom Kraamer's interpreter page says,
> "To end a program, program M2. To exchange pallet shuttles and then end a
> program, program M30. Both of these commands have the following effects.
>
> 1. Axis offsets are set to zero (like G92.2) and origin offsets
> are set to the default (like G54).
> 2. Selected plane is set to CANON_PLANE_XY (like G17).
> 3. Distance mode is set to MODE_ABSOLUTE (like G90).
> 4. Feed rate mode is set to UNITS_PER_MINUTE (like G94).
> 5. Feed and speed overrides are set to ON (like M48).
> 6. Cutter compensation is turned off (like G40).
> 7. The spindle is stopped (like M5).
> 8. The current motion mode is set to G_1 (like G1).
> 9. Coolant is turned off (like M9).
>
> No more lines of code in an RS274/NGC file will be executed after the M2
> or M30 command is executed. Pressing cycle start will start the program
> back at the beginning of the file."
>
> > but I use an
> > M2 at the end and the programs to rewind to the top after a couple of
> > seconds and will rerun with just the press of the run button.
> >
> > Tim
> > [Denver, CO]
> >
> > > -----Original Message-----
> > >
> > > I have the following short G-code program I would like to run in EMC
> > > multiple times without reloading it.
> <s> > g20
> > > f 2
> > > g01 x1.5
> > > g01 y .5
> > > g01 x0
> > > g01 y0
> > > m30
> <s>>
>
> I did a little editing on this g-code to simplify but do the same thing.
> Since g1 is modal it only needs to be stated once. And several words can
> be piled into the same line.
>
> g20 g01 f2 x1.5
> y .5
> x0
> y0
> m2
>
> I tried this code with both m2 and m30 and the result was the same here.
> It would restart every time. (I remember some kind of a problem
> with program end
> with some release a while back.)
>
> The only difference between the revised program and the original is that
> the interpreter does not have to read and set g01 each time. If this were
> a large contouring file it would read ahead and work a little faster.
>
> Ray
>
>
> Addresses:
> FAQ: http://www.ktmarketing.com/faq.html
> FILES: http://groups.yahoo.com/group/CAD_CAM_EDM_DRO/files/
>
> Post messages: CAD_CAM_EDM_DRO@yahoogroups.com
> Subscribe: CAD_CAM_EDM_DRO-subscribe@yahoogroups.com
> Unsubscribe: CAD_CAM_EDM_DRO-unsubscribe@yahoogroups.com
> List owner: CAD_CAM_EDM_DRO-owner@yahoogroups.com, wanliker@...
> Moderator: jmelson@... timg@... [Moderator]
> URL to this page: http://groups.yahoo.com/group/CAD_CAM_EDM_DRO
> bill,
> List Manager
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>

Discussion Thread

jguenther@v... 2001-07-09 08:46:59 UTC Why can't I re-run this program? Tim Goldstein 2001-07-09 09:22:31 UTC RE: [CAD_CAM_EDM_DRO] Why can't I re-run this program? jguenther@v... 2001-07-09 09:34:51 UTC RE: [CAD_CAM_EDM_DRO] Why can't I re-run this program? Jon Elson 2001-07-09 10:17:41 UTC Re: [CAD_CAM_EDM_DRO] Why can't I re-run this program? Ray 2001-07-10 07:38:51 UTC RE: Why can't I re-run this program? Jon Elson 2001-07-10 10:20:01 UTC Re: [CAD_CAM_EDM_DRO] RE: Why can't I re-run this program? Alan Marconett KM6VV 2001-07-10 13:59:22 UTC Re: [CAD_CAM_EDM_DRO] RE: Why can't I re-run this program? Jon Elson 2001-07-10 20:54:17 UTC Re: [CAD_CAM_EDM_DRO] RE: Why can't I re-run this program? Ray 2001-07-11 04:55:59 UTC Re: RE: Why can't I re-run this program? John Guenther 2001-07-11 05:15:59 UTC RE: [CAD_CAM_EDM_DRO] RE: Why can't I re-run this program? Smoke 2001-07-11 08:09:01 UTC Re: [CAD_CAM_EDM_DRO] Why can't I re-run this program? Alan Marconett KM6VV 2001-07-11 10:49:29 UTC RE: Why can't I re-run this program? Alan Marconett KM6VV 2001-07-11 12:11:59 UTC RE: Why can't I re-run this program? Jon Elson 2001-07-11 20:20:59 UTC Re: [CAD_CAM_EDM_DRO] RE: Why can't I re-run this program? Jon Elson 2001-07-11 20:32:56 UTC Re: [CAD_CAM_EDM_DRO] RE: Why can't I re-run this program? Alan Marconett KM6VV 2001-07-11 21:49:11 UTC RE: Why can't I re-run this program? Ray 2001-07-12 06:50:59 UTC Re: Why can't I re-run this program? Ray 2001-07-12 06:51:14 UTC RE: Why can't I re-run this program? Jon Elson 2001-07-12 11:11:09 UTC Re: [CAD_CAM_EDM_DRO] RE: Why can't I re-run this program? Alan Marconett KM6VV 2001-07-12 12:39:47 UTC RE: Why can't I re-run this program? Alan Marconett KM6VV 2001-07-12 13:25:00 UTC RE: Why can't I re-run this program?