Re: [CAD_CAM_EDM_DRO] G92 and M99 code uses?
Posted by
Brian Pitt
on 2001-01-27 14:45:19 UTC
> The problem is I don't know how to stop the M99 code and if left thethis is where conditional expresions come in to G-code
> machine would keep doing this sequence until it burns out :) How
> would I specify it to do the 50 holes in this example?
>
start with V1 set to 0 and V2 set to 49
move to first hole and
N005 (drill nn holes)
G81 R.50 Z-5 (single drilling with .50 raise and drilling 5 mm in)
G80 (cancel drilling)
G00 X1 (moving X axis 1 mm over)
G92 X0 (This is the catch! RESETS the machine back to zero)
V1=V1+1 (increment variable 1)
/IF[V1 LE V2]N005 (if v1<=v2 do another hole -block delete will end program)
M02
also works as a cycle counter to make x number of parts
check the manual for the right format of the IF statement and
the <= , I was using the Okuma format
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?