Re: [CAD_CAM_EDM_DRO] Basic G-Code Question
Posted by
Dan Statman
on 2001-10-18 20:37:55 UTC
Chris,
I do not just use the Excel data output as a text file. I go into a text
editor and replace all tabs with appropriate spaces or nothing as the
situation dictates. I believe it is a bug in the TurboCNC controller
program since it is moving to the correct coordinates, but it is combining
two consecutive coordinates and cutting a diagonal instead of a right angle.
I thought the redundant coordinates were going to be ignored (as they
should), I will write some smaller test code and send it to Dave Kowalczyk
(author of TurboCNC) and see what he thinks.
Thanks to everyone for their input.
Dan.
I do not just use the Excel data output as a text file. I go into a text
editor and replace all tabs with appropriate spaces or nothing as the
situation dictates. I believe it is a bug in the TurboCNC controller
program since it is moving to the correct coordinates, but it is combining
two consecutive coordinates and cutting a diagonal instead of a right angle.
I thought the redundant coordinates were going to be ignored (as they
should), I will write some smaller test code and send it to Dave Kowalczyk
(author of TurboCNC) and see what he thinks.
Thanks to everyone for their input.
Dan.
----- Original Message -----
From: <ccs@...>
To: <CAD_CAM_EDM_DRO@yahoogroups.com>
Sent: Thursday, October 18, 2001 10:00 PM
Subject: Re: [CAD_CAM_EDM_DRO] Basic G-Code Question
>
> > > 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
>
>
>
>
>
> 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 page: http://groups.yahoo.com/group/CAD_CAM_EDM_DRO
> bill,
> List Manager
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
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