RE: [CAD_CAM_EDM_DRO] Basic g-code commands
Posted by
Tim Goldstein
on 2002-01-12 15:09:47 UTC
I have never used Turbocnc, but will make some assumptions.
You want to use a G1 command. That is a linear move. The additional
parameters are X, Y, and Z coordinates of where you want the move to end and
an F value which is the feedrate. I don't know whether Turbocnc lets you
just put in the changed parameters of if you have to enter all of them. I
have use software that works both ways. Anyway, if you are in absolute mode
(meaning all moves are relative to a zero point) and want to move the X axis
so the mill is 1" to the right of zero when it stops you would enter the
following assuming you have to use all the parameters:
G1 X1Y0Z0 F5
This would put the mill at zero on the Y and Z axis and move at 5 ipm. If
you now want to go so the mill is 2.5" to the right of zero then enter:
G1 X2.5Y0Z0 F5
If you now want the mill to go 3" to the left of zero enter:
G1 X-3Y0Z0 F5
If Turbocnc is modal you should not have to re-enter the G1 or the F5 as it
will now be in that mode and process the command with those parameters. You
can change 2 or all 3 of the coordinates to get diagonal moves.
Tim
[Denver, CO]
You want to use a G1 command. That is a linear move. The additional
parameters are X, Y, and Z coordinates of where you want the move to end and
an F value which is the feedrate. I don't know whether Turbocnc lets you
just put in the changed parameters of if you have to enter all of them. I
have use software that works both ways. Anyway, if you are in absolute mode
(meaning all moves are relative to a zero point) and want to move the X axis
so the mill is 1" to the right of zero when it stops you would enter the
following assuming you have to use all the parameters:
G1 X1Y0Z0 F5
This would put the mill at zero on the Y and Z axis and move at 5 ipm. If
you now want to go so the mill is 2.5" to the right of zero then enter:
G1 X2.5Y0Z0 F5
If you now want the mill to go 3" to the left of zero enter:
G1 X-3Y0Z0 F5
If Turbocnc is modal you should not have to re-enter the G1 or the F5 as it
will now be in that mode and process the command with those parameters. You
can change 2 or all 3 of the coordinates to get diagonal moves.
Tim
[Denver, CO]
> -----Original Message-----
>
>
> I seem to have my sherline cnc mill working fine. I am still in the
> process of teaching myself cad/cam. In the meantime I would still
> like to work on my model steam engine that I started before the CNC
> conversion. The problem is I am not sure of the basic codes used to
> just make a cut. I am using Turbocnc, and can jog just fine but
> having it say make a say a 1.5 inch pass on the y-axis is kind of
> confusing me. I guess I am just looking for basic commands that
> would replace the cranking on the handwheels I did before the
> conversion. As Always, thanks for the help.
>
> Matt
>
>
> Addresses:
> FAQ: http://www.ktmarketing.com/faq.html
> FILES: http://groups.yahoo.com/group/CAD_CAM_EDM_DRO/files/
Discussion Thread
pkranger63
2002-01-12 14:41:56 UTC
Basic g-code commands
Tim Goldstein
2002-01-12 15:09:47 UTC
RE: [CAD_CAM_EDM_DRO] Basic g-code commands
dkowalcz2000
2002-01-12 19:37:55 UTC
Re: Basic g-code commands
Alan Marconett KM6VV
2002-01-13 14:38:45 UTC
Re: [CAD_CAM_EDM_DRO] Basic g-code commands