CAD CAM EDM DRO - Yahoo Group Archive

Re: [CAD_CAM_EDM_DRO] G-code question

Posted by Matt Shaver
on 2003-01-13 10:01:50 UTC
On Monday 13 January 2003 12:08 pm, you wrote:
> 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
>

From the rest of your comments, and if I understand you correctly, the
program should read:

G1 X0.0 Y0.0 (gets you to the start position, could be G0)
G1 X2.0 Y2.0 W0.5 U0.5 (See note below)
G1 X3.0 Y4.3 W1.0 U1.0

A constant contouring control will produce a smooth, uninterrupted movement
on W and U.

Note: I'm assuming this is where W and U should be when you get to 2,2. If
not you need to calculate the correct W,U position. I'm probably wrong about
the intermediate W and U position, but I don't have a calculator that does
square roots at the moment (batteries are dead ;) ).

> 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 !!!

Sorry, you get to set each address (like G, X, W, M, etc.) once for each
block.

> Thanks for your input !
>
> Sandro

You're welcome!

Matt

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