CAD CAM EDM DRO - Yahoo Group Archive

Re: [CAD_CAM_EDM_DRO] Basic G-Code Question

Posted by ccs@m...
on 2001-10-18 19:01:01 UTC
> > I generated the coordinates in a Microsoft Excel document and then
> converted
> > that to a G-Code program. The successive data points are always redundant
> > in one of the two coordinates since you always move in either a vertical
> or
> > horizontal straight line. If you are sitting at the point (0,0) and you
> > want to move to (0, .250) then the G-code would simply be:
> > G01 Y0.250
> >
> > But is it wrong to specify both the X and Y coordinate if the X coordinate
> > is not moving. In other words, will this line of G-code result in the
> same
> > movement:
> > G01 X0 Y0.250
> >
> > When converting the Excel data I ended up with both coordinates on every
> > line of G-code even though one of the two was always redundant. I am
> using
> > TurboCNC to control my stepper motors and it would not work with both
> > coordinates specified. It would do nothing until the next line of G-code
> > and then it would connect with a diagonal line, which is not what I
> wanted.

It might be worth opening the resulting 'text file' in a hex editor
(debug will do in a pinch) and verifying that it contains exactly what
you think. MS Excell likes to put tabs between columns instead of
spaces and that might confuse the control. Also try typing in
identcial code by hand, using a single space between each word (ie
G01_X111_Y222 with spaces instead of underscores). The Bridgeport
Ex-Trak mills, for example, are really, really picky about formatting
characters which are not easily visible.in most ways a user would
view a text file.

Chris

Discussion Thread

Dan Statman 2001-10-18 17:39:11 UTC Basic G-Code Question Art Fenerty 2001-10-18 18:32:48 UTC Re: [CAD_CAM_EDM_DRO] Basic G-Code Question ccs@m... 2001-10-18 19:01:01 UTC Re: [CAD_CAM_EDM_DRO] Basic G-Code Question wanliker@a... 2001-10-18 19:16:04 UTC Re: [CAD_CAM_EDM_DRO] Basic G-Code Question Dan Statman 2001-10-18 20:37:55 UTC Re: [CAD_CAM_EDM_DRO] Basic G-Code Question Jon Elson 2001-10-18 22:44:16 UTC Re: [CAD_CAM_EDM_DRO] Basic G-Code Question dkowalcz@d... 2001-10-19 06:37:09 UTC Re: Basic G-Code Question Dan Statman 2001-10-19 07:01:34 UTC Re: [CAD_CAM_EDM_DRO] Re: Basic G-Code Question wayne_j_hill@y... 2001-10-19 08:37:01 UTC Re: Basic G-Code Question Jon Elson 2001-10-19 11:09:40 UTC Re: [CAD_CAM_EDM_DRO] Re: Basic G-Code Question Ray 2001-10-19 14:43:31 UTC Re: Re: Basic G-Code Question