From: Jon E. <el...@pi...> - 2010-05-16 00:43:57
|
Well, I found another quirk with this program that uses the G10 L20 offsets and a subroutine. I decided to change the subroutine after cutting a couple of the slots, and tried to "run from line" to start at the 4th slot subroutine. I think Axis labels this line as # 41, so does emacs. I had to manually start the spindle, of course. Anyway, it made several linear moves in air, and then started into the next pattern, not done by subroutine, that begins at line # 88! I was totally baffled by this. So, I had to start from the beginning and let it recut the already-made slots to cut the rest of them. Here's the program : http://pastebin.com/embed_js.php?i=QyjpZUD9 I have included the whole thing because I'm not sure what part of the code is causing this. This program cuts 24 slots in a grid of 6 by X and 4 by Y using the subroutine O100, then cuts one rectangular pocket starting at line 88, then orbits two round holes, then does 8 oval pockets. (Yes, if this looks like a 19" rack panel, that's what it is!) I am using an EMC2 build from CVS that calls itself 2.4.0~pre, and was compiled (I think) on 11/16/2009. Any light anyone could shed on this would be appreciated. Thanks, Jon |