CAD CAM EDM DRO - Yahoo Group Archive

RE: [CAD_CAM_EDM_DRO] G-code question

on 2003-01-13 09:49:00 UTC
Most G-Code interpreters parse the complete block before attempting to
execute it. In the case of the block you provided below, the line would be
the equivalent of

G1 X3.0 Y4.3 W1 U1

which is NOT what you explained that you wanted to do. However, If you were
to write

G1 X0.0 Y0.0
X2.0 Y2.0
X3.0 Y4.3 W0.0 U0.0
W1.0 U1.0

it should work as you wanted. IOW, put separate motions on separate lines.
Since G1 is modal, it will be used until another Gxx code is executed.

-- Jerry

> -----Original Message-----
> From: Mail List [mailto:mlist@...]
> Sent: Monday, January 13, 2003 9:08 AM
> To: 'CAD_CAM_EDM_DRO@yahoogroups.com'
> Subject: [CAD_CAM_EDM_DRO] G-code question
>
>
> Hi all !
> I'm writing a utility to translate my drawings top G-code. I would like an
> expert opinion:
> is this G-code sintax acceptable ?
>
> G1 X0.0 Y0.0 X2.0 Y2.0 X3.0 Y4.3 W0.0 U0.0 W1.0 U1.0
>
> In this case, I hope that the controller will move the XY point
> from 0,0 to
> 2,2 an then to the final destination at 3,4.3 while in the same time the
> point WU will move from 0,0 to 1.1. The controller will change
> the speed to
> make the points be reached in the same time.
>
>
> What I mean is: is acceptable to give multiple X Y and W U
> movement in the
> same block ?.
> And if yes the number of XY move must match the WU one ?
>
> If the answer will be yes my program is already done !!!
>
> Thanks for your input !
>
> Sandro
>
> 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 group: http://groups.yahoo.com/group/CAD_CAM_EDM_DRO
>
> OFF Topic POSTS: General Machining
> If you wish to post on unlimited OT subjects goto:
> aol://5863:126/rec.crafts.metalworking or go thru Google.com to
> reach it if you have trouble.
> http://www.metalworking.com/news_servers.html
>
> http://groups.yahoo.com/group/jobshophomeshop I consider this
> to be a sister site to the CCED group, as many of the same
> members are there, for OT subjects, that are not allowed on the CCED list.
>
> NOTICE: ALL POSTINGS TO THIS GROUP BECOME PUBLIC DOMAIN BY
> POSTING THEM. DON'T POST IF YOU CAN NOT ACCEPT THIS.....NO
> EXCEPTIONS........
> bill
> List Mom
> List Owner
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>

Discussion Thread

Mail List 2003-01-13 09:07:18 UTC G-code question Carol & Jerry Jankura 2003-01-13 09:49:00 UTC RE: [CAD_CAM_EDM_DRO] G-code question Tim Goldstein 2003-01-13 09:52:45 UTC Re: [CAD_CAM_EDM_DRO] G-code question Matt Shaver 2003-01-13 10:01:50 UTC Re: [CAD_CAM_EDM_DRO] G-code question Jon Elson 2003-01-13 10:48:33 UTC Re: [CAD_CAM_EDM_DRO] G-code question torsten98001 <torsten@g... 2003-01-13 16:02:03 UTC Re: G-code question Fred Smith <imserv@v... 2003-01-13 17:45:34 UTC Re: G-code question