CAD CAM EDM DRO - Yahoo Group Archive

Re: [CAD_CAM_EDM_DRO] Re: G92 and M99 code/cncpro

Posted by Smoke
on 2001-01-29 11:30:40 UTC
The reason your spindle moves down during the move is because you have a Z-1
move included WITHIN the parameters for the G91 move. Move the Z-1 motion
to a separate line PRECEDING the G91 command. That should fix it.

Smoke
-----Original Message-----
From: alieron@... <alieron@...>
To: CAD_CAM_EDM_DRO@yahoogroups.com <CAD_CAM_EDM_DRO@yahoogroups.com>
Date: Monday, January 29, 2001 2:45 AM
Subject: [CAD_CAM_EDM_DRO] Re: G92 and M99 code/cncpro


>hey guys, my example below does not work right. After making the
>numbers a little bigger I noticed that when the spindle is moving to
>the new position for the next hole it also moves down :( It does loop
>50 times as in the example. Well back to some of the others hints you
>guys gave me!
>later
>tauseef
>
>--- In CAD_CAM_EDM_DRO@y..., alieron@h... wrote:
>> hi eveyrone
>> I was reading some older post and picked up some examples and info
>> that I now am understanding much better due to more experience.
>There
>> has been talk about the "L" loop code in cncpro and how to use it
>> (also one of my orginal questions)...well with the example and info
>> ballendo, randy and jon gave (in older posts), not to mention many
>> others, I have finally figuered it out (or think I have :) Really I
>> just tried one example ballendo gave and it worked! Thanks!!!
>>
>> for others wondering about using the "L" loop code in cncpro follow
>> this example:
>>
>> G91 (makes measurement relative)
>> G81 R.5 Z-1 X5 L50
>>
>> This code will make 50 holes 1 mm deep 5 mm apart and then stop!
>> Hopefully this will help other "beginners" and others wondering
>about
>> the loop feature. You can also put the Loop number in front of the
>> line so try that also..in the example above I don't think it works
>> right. Loop will only loop THAT line its added to also.
>> thanks everyone again!
>> tauseef
>>
>>
>> --- In CAD_CAM_EDM_DRO@y..., alieron@h... wrote:
>> > thank you brain for the help! I have not found a manuel for
>> > cncpro..yeager gives a few examples and labels what each G or M
>> > number is to do. However its a little hard when I really don't
>> > understand the examples to well. No Prob, I will work at it and
>> > figure it out..more than likly look for a G-code programing book
>> > soon. Luckly I also have everyone here for help. I will try your
>> > example and see how I can make it work for me. thanks!
>> > tauseef
>> >
>> > --- In CAD_CAM_EDM_DRO@y..., Brian Pitt <bfp@e...> wrote:
>> > > > 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
>> > >
>> > > 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
>
>
>Welcome to CAD_CAM_EDM_DRO@...,an unmoderated list for the
discussion of shop built systems, for CAD, CAM, EDM, and DRO.
>
>Addresses:
>Post message: CAD_CAM_EDM_DRO@egroups.com
>Subscribe: CAD_CAM_EDM_DRO-subscribe@egroups.com
>Unsubscribe: CAD_CAM_EDM_DRO-unsubscribe@egroups.com
>List owner: CAD_CAM_EDM_DRO-owner@egroups.com, wanliker@...
>Moderator: jmelson@... timg@... [Moderator]
>URL to this page: http://groups.yahoo.com/group/CAD_CAM_EDM_DRO
>bill,
>List Manager
>
>FAQ: http://www.ktmarketing.com/faq.html
>
>

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?