Hi Patrick

Sorry about the misinformation before.  I actually tried my suggestion 
later and found that my advice was bogus.

There were actually some bugs in the compensation code that deals with 
entry moves.  I did manage to get a program to do what you want, but I 
had to use math to do it. :)

The trick was to move to a point which is colinear with the compensated 
path (I did a linear entry move).  I later was advised by cradek that 
the point didn't have to be colinear, but had to be "beyond" the X 
ordinate of the compensated path (for my +Y linear comp entry move).

(use tool 2 since that's 0.125 in the sim-axis config)
G0 X0.9375 Y0.5 (the actual Y value is unimportant, as long as it's 
below the part by at least the tool radius)
T2 M6 Z0.2
G41 D2
G1 X1 Y1 Z0 F20
Y2
X2
Y1
X1
G40 X0 Y0 Z0
M2

As Ray pointed out, you probably want to go past the endpoint, since 
compensation won't make an arc for you on the last move (since this 
program doesn't turn the corner at 1,1 again).

Note that there have been several bug fixes in the last day or so that 
eliminate bogus error messages and also correct some path errors.

This should actually help :)
- Steve

Patrick Ferrick wrote:

>Date: Wed, 07 Mar 2007 12:41:22 -0500
>  
>
>>[snipped bogus answer]
>>    
>>
>Thanks,  Stephen.   I guess when I claimed to have read and understood the 
>comp 
>sections of the manual, what I should have said was "I read what I thought was 
>enough to give me the basic idea and then I went ahead and started plugging 
>away at it"!!!!
>
>I understand now why dropping the tool down at 1,1 (when the part is 
>supposed to extend to 1,1) is a problem.
>But the section in the manual on entry moves is not at all clear to me 
>yet.  I tried starting at 0,0 as you suggested
>and that didn't work either.   I've also tried various straight and 
>curved lines that I thought would put the tool
>in the right place to follow the outside of the square, but so far I 
>haven't been able to get it to work.
>
>At this point I'm so confused that I'm not quite sure what question to 
>ask next!!
>
>Could someone post a snippet of gcode that would cut a 1" square at X1Y1 
>with a 0.125" diameter tool (using
>radius compensation)?  If so I think I might have a better chance of 
>grasping the details that escape me.  I've tried
>to follow the example in the manual, and while I appreciate that 
>somebody spent a good deal of time writing it, I
>find it very difficult to follow.  
>
>(And just when I was starting to think that I had a pretty good handle 
>on EMC2!  I guess it good to get "knocked
>down a peg" once in a while...!)
>
>thanks,
>Patrick
>

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to