CAD CAM EDM DRO - Yahoo Group Archive

re:G92 and M99 code uses?

Posted by ballendo@y...
on 2001-01-29 14:27:36 UTC
Tauseef,

Have you tried:

G21 (metric units)
G91 (incremental moves)
G81 x1 R.50 z-5 L49

This one 'G81' line "should" do what you want!

By putting the control in incremental mode, the x1 part of the G81
will move 1 unit in x before each drill cycle, and the loop L49
should repeat this process 49 MORE times (after the original
line/block is executed). You may need to loop 50 times, depends on
how the internals of the software are/were written.

Hope this helps.

Ballendo

P.S. Brian, I don't think CncPRO supports conditionals... Yet?

>> The problem is I don't know how to stop the M99 code and if left
>>the machine would keep doing this sequence until it burns out :) How
>> would I specify it to do the 50 holes in this example?


>this is where conditional expresions come in to G-code
>
>start with V1 set to 0 and V2 set to 49
>move to first hole and
<snip>
>/IF[V1 LE V2]N005 (if v1<=v2 do another hole -block delete will end
>program)
>M02
>Brian

Discussion Thread

alieron@h... 2001-01-27 04:22:25 UTC G92 and M99 code uses? Marcus & Eva 2001-01-27 06:58:11 UTC Re: [CAD_CAM_EDM_DRO] G92 and M99 code uses? cnc002@a... 2001-01-27 08:56:30 UTC Re: [CAD_CAM_EDM_DRO] G92 and M99 code uses? Brian Pitt 2001-01-27 14:45:19 UTC Re: [CAD_CAM_EDM_DRO] G92 and M99 code uses? alieron@h... 2001-01-27 17:14:34 UTC Re: G92 and M99 code uses? alieron@h... 2001-01-28 01:33:46 UTC Re: G92 and M99 code/cncpro carlcnc@s... 2001-01-28 08:56:14 UTC Re: G92 and M99 code uses? alieron@h... 2001-01-29 00:52:34 UTC Re: G92 and M99 code/cncpro alieron@h... 2001-01-29 01:17:18 UTC Re: G92 and M99 code/cncpro Smoke 2001-01-29 11:30:40 UTC Re: [CAD_CAM_EDM_DRO] Re: G92 and M99 code/cncpro Vance Buhler 2001-01-29 11:43:39 UTC Re: [CAD_CAM_EDM_DRO] Re: G92 and M99 code/cncpro ballendo@y... 2001-01-29 14:27:36 UTC re:G92 and M99 code uses? ballendo@y... 2001-01-29 19:49:18 UTC re:Re: G92 and M99 code/cncpro ballendo@y... 2001-01-29 20:21:31 UTC re:Re: G92 and M99 code/cncpro alieron@h... 2001-01-30 00:03:33 UTC re:Re: G92 and M99 code/cncpro Carey L. Culpepper 2001-01-30 07:29:24 UTC Re: [CAD_CAM_EDM_DRO] re:Re: G92 and M99 code/cncpro ballendo@y... 2001-01-31 01:49:53 UTC re:Re: G92 and M99 code/cncpro Carey L. Culpepper 2001-01-31 07:26:49 UTC Re: [CAD_CAM_EDM_DRO] re:Re: G92 and M99 code/cncpro Robert Allen & Marsha Camp 2001-01-31 16:55:21 UTC Re: [CAD_CAM_EDM_DRO] re:Re: G92 and M99 code/cncpro mooseo69@y... 2001-03-27 13:52:55 UTC Re: re:G92 and M99 code uses? Ray 2001-03-28 06:48:14 UTC Re: re:G92 and M99 code uses?