Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: 9sectsi on May 09, 2016, 11:29:35 PM

Title: Trouble w tool paths and g00 & g01 code.
Post by: 9sectsi on May 09, 2016, 11:29:35 PM
Hey everyone I am having trouble w program. It was running fine until I started to add another clean up pass. It shows a solid line on the tool paths but when I try to generate the program it doesn't show it as the actual tool path but when I run it it it does take the solid line path.. It acts like it doesn't like when I call for a g01. When I enter a g00 it seems run okay but I can't use a g00 because it's too fast of a feed into the part. Is there anyway to change the federate on a g00? And is there a difference between a g00 and a g01 besides the rapid feedrate? Any help or ideas would be much appreciated thanx all.
Title: Re: Trouble w tool paths and g00 & g01 code.
Post by: rcaffin on May 10, 2016, 06:21:29 AM
A few more details would help. Like some of the code.
Cheers
Roger
Title: Re: Trouble w tool paths and g00 & g01 code.
Post by: RICH on May 10, 2016, 09:37:10 AM
G00 command is defined in the Mach manual, it 's meant to get from point A to B as fast as the max velocity is for the axis or the slowest setting in motor tuning for all the axes.
G01 commands axis movement at a federate YOU define.

Have a look at the Mach Manual definitions and do some study on applying the commands for intended machining.

RICH
Title: Re: Trouble w tool paths and g00 & g01 code.
Post by: 9sectsi on May 10, 2016, 11:24:56 AM
screenshots.  fb cleanup ok runs, fb cleanup no does not
Title: Re: Trouble w tool paths and g00 & g01 code.
Post by: olf20 on May 10, 2016, 05:15:27 PM
Does it have anything to do with Demo software
instead of a registered one?? Just asking?
olf20 / Bob
Title: Re: Trouble w tool paths and g00 & g01 code.
Post by: rcaffin on May 10, 2016, 05:51:56 PM
I am a bit out of my depth here, as I don't use tool radius compensation. But the line N187 worries me: a D parameter without the G41/G42 command in the line, just like that, seems unwise. It seems even more unwise when it is invoked in the middle of a series of G1 commands.

In the OK case, there is a D02 followed by NO movement before tool compensation is turned off. No problem apparent. But in the FB case there is a G1 movement after the D command, before tool compensation is turned off, and it may be that an abrupt change like this is what is causing Mach to go wonky. It may be trying to correct for tool radius before doing the G021 movement. That is something I would NOT do.

As a diagnostic, can I suggest commenting out the D command and trying both versions?

Cheers
Roger