CAD CAM EDM DRO - Yahoo Group Archive

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

Posted by Jon Elson
on 2001-07-09 10:17:41 UTC
jguenther@... wrote:

> I have the following short G-code program I would like to run in EMC
> multiple times without reloading it. In other words, I want it to run
> every time I click on the run botton. This only does the X and Y axis
> because at this time I am still working on the Z axis. This program
> is to help me in making the bracket for the Z axis motor.
>
> g20
> f 2
> g01 x1.5
> g01 y .5
> g01 x0
> g01 y0
> m30
>
> The program runs fine, but only once. Should I be using M0 or M2 to
> stop the program and leave it in a state that it will start over when
> run is pressed?

I always use M02, and that works fine. (By def, M30 should also do it,
I don't know why. On paper tape CNC, M30 means rewind the tape, ie.
go to the very first program on the tape. In fact, if you had multiple
programs (delimited by M02's) EMC probably should run the NEXT program
section when you hit Run, but it always does a 'rewind', even without the
M30.)

> This program may seem a bit silly, but since my Z axis
> is currently manual, I want to be able to move the Z by hand, and then
> make another pass on this rectangular pocket.

I often do things like this with a 3-axis machine, because I may not
know the final Z position until I can mike the part, or don't know how
deep a plunge the tool can handle until I'm cutting metal. So, I switch
to manual, move the Z, then switch back to auto, and hit run.

Jon

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?