[Emc-users] gcode question

2010-04-10 Thread Chris Reynolds
I have another gcode related question. Lets say I'm machining a one time part, 
say that I'm making a D-bit type cutter, and I've machined it already on the 
lathe and now I want to mill it down to the midpoint, and want to do it in 
.005" increments. Is there a way of writing gcode where I can make the code say 
3 or 4 lines long rather than having to write out each and every move? Like 
write a routine or function that will advance the cutter .005" into the 
material with each cycle of the code.

 Chris 
--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Gcode Question

2011-03-18 Thread Doug
When I use two G0 rapid moves the program rounds the corner.  How can a make
a rapid move in a straight line in one axis and then when finished run
another rapid move on another axis in a straight line.  It runs straight and
then curves the end point to go into the second rapid.  Is seems to look
ahead and cuts the corner to same time.

Doug


--
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Gcode Question

2011-03-18 Thread gene heskett
On Friday, March 18, 2011 10:55:12 AM Doug did opine:

> When I use two G0 rapid moves the program rounds the corner.  How can a
> make a rapid move in a straight line in one axis and then when finished
> run another rapid move on another axis in a straight line.  It runs
> straight and then curves the end point to go into the second rapid.  Is
> seems to look ahead and cuts the corner to same time.
> 
> Doug
 
See the users manual, section on G64 P usage, it allows you to specify the 
accuracy of such a followed path.

-- 
Cheers, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)


Chicago law prohibits eating in a place that is on fire.

--
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Gcode Question

2011-03-18 Thread Alex Joni
http://linuxcnc.org/docview/html/gcode_main.html#sub:G61,-G61.1,-G64:

Regards,
Alex

- Original Message - 
From: "Doug" 
To: "'Enhanced Machine Controller (EMC)'" 
Sent: Friday, March 18, 2011 4:45 PM
Subject: Re: [Emc-users] Gcode Question


> When I use two G0 rapid moves the program rounds the corner.  How can a 
> make
> a rapid move in a straight line in one axis and then when finished run
> another rapid move on another axis in a straight line.  It runs straight 
> and
> then curves the end point to go into the second rapid.  Is seems to look
> ahead and cuts the corner to same time.
>
> Doug
>
>
> --
> Colocation vs. Managed Hosting
> A question and answer guide to determining the best fit
> for your organization - today and in the future.
> http://p.sf.net/sfu/internap-sfd2d
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
> 


--
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Gcode Question

2011-03-18 Thread andy pugh
On 18 March 2011 14:56, gene heskett  wrote:

> See the users manual, section on G64 P usage, it allows you to specify the
> accuracy of such a followed path.

I think that might only work for G1 moves. If so, the solution might
be to use G1 with a very fast feed, rather than G0.

-- 
atp
"Torque wrenches are for the obedience of fools and the guidance of wise men"

--
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Gcode Question

2011-03-18 Thread dave
On Fri, 2011-03-18 at 15:04 +, andy pugh wrote:
> On 18 March 2011 14:56, gene heskett  wrote:
> 
> > See the users manual, section on G64 P usage, it allows you to specify the
> > accuracy of such a followed path.
> 
> sxazI think that might only work for G1 moves. If so, the solution might
> be to use G1 with a very fast feed, rather than G0.
> 

I seem to remember  something about G00 moves only guarantee the
endpoint not the path to get there. 

Dave


--
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Gcode Question

2011-03-18 Thread Stuart Stevenson
if the g64 p only works for g01 moves and you still want to use g00 then put
a g04 dwell at the end of the g00 line

On Fri, Mar 18, 2011 at 10:17 AM, dave  wrote:

> On Fri, 2011-03-18 at 15:04 +, andy pugh wrote:
> > On 18 March 2011 14:56, gene heskett  wrote:
> >
> > > See the users manual, section on G64 P usage, it allows you to specify
> the
> > > accuracy of such a followed path.
> >
> > sxazI think that might only work for G1 moves. If so, the solution might
> > be to use G1 with a very fast feed, rather than G0.
> >
>
> I seem to remember  something about G00 moves only guarantee the
> endpoint not the path to get there.
>
> Dave
>
>
>
> --
> Colocation vs. Managed Hosting
> A question and answer guide to determining the best fit
> for your organization - today and in the future.
> http://p.sf.net/sfu/internap-sfd2d
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>



-- 
dos centavos
--
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Gcode Question

2011-03-18 Thread Igor Chudov
I use the following idiom

G4 p0

It guarantees a properly cornered move

On Mar 18, 2011 10:25 AM, "Stuart Stevenson"  wrote:

if the g64 p only works for g01 moves and you still want to use g00 then put
a g04 dwell at the end of the g00 line


On Fri, Mar 18, 2011 at 10:17 AM, dave  wrote:

> On Fri, 2011-03-18 at 15:04...
--
dos centavos

--
Colocation vs. Manage...
--
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Gcode Question

2011-03-18 Thread andy pugh
On 18 March 2011 15:23, Stuart Stevenson  wrote:
> if the g64 p only works for g01 moves and you still want to use g00 then put
> a g04 dwell at the end of the g00 line

I confess I am at a loss to think why you would want exact-path rapids.

-- 
atp
"Torque wrenches are for the obedience of fools and the guidance of wise men"

--
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Gcode Question

2011-03-18 Thread Dave Caroline
Avoiding hitting the work or tooling or whatever is on the table

Maybe time got g0 got an extra parameter for exact moves

Dave Caroline

On Fri, Mar 18, 2011 at 4:05 PM, andy pugh  wrote:
> On 18 March 2011 15:23, Stuart Stevenson  wrote:
>> if the g64 p only works for g01 moves and you still want to use g00 then put
>> a g04 dwell at the end of the g00 line
>
> I confess I am at a loss to think why you would want exact-path rapids.
>
> --
> atp
> "Torque wrenches are for the obedience of fools and the guidance of wise men"
>
> --
> Colocation vs. Managed Hosting
> A question and answer guide to determining the best fit
> for your organization - today and in the future.
> http://p.sf.net/sfu/internap-sfd2d
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

--
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Gcode Question

2011-03-18 Thread gene heskett
On Friday, March 18, 2011 03:30:39 PM dave did opine:

> On Fri, 2011-03-18 at 15:04 +, andy pugh wrote:
> > On 18 March 2011 14:56, gene heskett  wrote:
> > > See the users manual, section on G64 P usage, it allows you to
> > > specify the accuracy of such a followed path.
> > 
> > sxazI think that might only work for G1 moves. If so, the solution
> > might be to use G1 with a very fast feed, rather than G0.
> 
> I seem to remember  something about G00 moves only guarantee the
> endpoint not the path to get there.
> 
> Dave
> 
I believe your memory is correct, Dave.


-- 
Cheers, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)


The heart is wiser than the intellect.

--
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] gcode question

2010-04-10 Thread BRIAN GLACKIN
Sounds like a good use of o-words

http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Example_G-Code_Programs

On Sat, Apr 10, 2010 at 12:32 PM, Chris Reynolds
wrote:

> I have another gcode related question. Lets say I'm machining a one time
> part, say that I'm making a D-bit type cutter, and I've machined it already
> on the lathe and now I want to mill it down to the midpoint, and want to do
> it in .005" increments. Is there a way of writing gcode where I can make the
> code say 3 or 4 lines long rather than having to write out each and every
> move? Like write a routine or function that will advance the cutter .005"
> into the material with each cycle of the code.
>
>  Chris
>
> --
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>
--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] gcode question

2010-04-10 Thread Gene Heskett
On Saturday 10 April 2010, Chris Reynolds wrote:
>I have another gcode related question. Lets say I'm machining a one time
> part, say that I'm making a D-bit type cutter, and I've machined it
> already on the lathe and now I want to mill it down to the midpoint, and
> want to do it in .005" increments. Is there a way of writing gcode where I
> can make the code say 3 or 4 lines long rather than having to write out
> each and every move? Like write a routine or function that will advance
> the cutter .005" into the material with each cycle of the code.
>
> Chris

Sure, I do it all the time, see the 'o-words'  for do/while, 
if/then/else/endif  etc type constructions.  Its in the wiki.linuxcnc.org I 
think, although I'm old fashioned & like to kill trees by putting it in a 3 
ring binder.

-- 
Cheers, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Hey dol! merry dol! ring a dong dillo!
Ring a dong! hop along! fal lal the willow!
Tom Bom, jolly Tom, Tom Bombadillo!
-- J. R. R. Tolkien

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users