On Friday 21 August 2015 20:21:02 Gene Heskett wrote:

> On Friday 21 August 2015 13:34:25 Milosz K. wrote:
> > Looks like Z-8.8323 is the extent of travel. I'm with John on this.
> > You more than likely have a persistent G92 Z offset applied. MDI a
> > G92.1 or make it the first line of your program.
> >
> > Excerpt from Gene's NGC available last night.
> >
> > o<outer_do> IF [#<_do_outer> gt 0.10000] (so zero won't)
> > G10 L2 P1 x0 y0 z0
> > G1 F40 Z-8.2823 x#<_x_start> y#<_y_outer_center>(just clear alu bar)
> > G92 x0 y0 Z0(rest of loop references this point)
> > #<_G3X> =  0.718200
> > #<_G3Y> = -1.973400
> > #<_G3I> = -0.718200
> > #<_G3J> = 1.973400
> > #<_tmpz> = 0.00000
> > #<_x_arc_start> = 0.7182000
> > #<_y_arc_start> = -1.9734000
> > #<_y_end_tab> = [#<_y_arc_start> + -0.7000]
> > G1 F10 z#<_tmpz> x#<_G3X> y#<_G3Y>
> > o<cut_outer> WHILE   [#<_tmpz> gt #<_bar_bottom>]
> > G61 (exact path mode)
> > G1 F10 y#<_y_end_tab>  (go out to outer end of clamp tab)
> > #<_tmpz> = [#<_tmpz> - 0.02500]
> > M3
> > G04P1
> > G1 F20 z#<_tmpz>
> > (cut back to circle start point)
> > G1 F20 x#<_x_arc_start> y#<_y_arc_start>
> > G1 F20 z0.0000
> > G1 F10 x#<_G3X>
> > (G3 x#<_G3X> Y#<_G3Y> I#<_G3I> J#<_G3J>)
> > G1 F10 x#<_G3I>
> > G1 F10 z#<_tmpz>
> > G1 F10 y#<_y_end_tab>
> > G1 F20 z0.0000 (clear reset moves)
> > o<cut_outer> ENDWHILE
> > o<outer_do> ENDIF
> > M5 ( stop spindle )
> > G0 z4
> > M2
>
> I am  back to this portion of that code, but using g10 L2 P# to
> establish the offsets.  So far, it is Just Working, but I have not
> kicked in the outer circle stuffs yet.  I had to stop & fix us some
> dinner since I hadn't eaten yet today.  And my sugar was still 122 at
> about 16:30. Diabetes type 2 is a cast iron bitch.  But I am making
> progress.  Damned box is locking up due to the halt bug in early
> (family 15) Athlon64 X2's, too old to microcode and fix.  Microcode
> came in with family 16, or 10 in hex.
>
> Cheers, Gene Heskett

I was able, in about an hours editing (I am learning to type or correct a 
line of code, and hit a ctrl+s (save) in geany due to that machines old 
buggy cpu, so if it locks up, I will not have lost half an hours 
editing.  editor doesn't matter, I had nano running once when it locked 
up) to convert it to using different co-ord maps, G55 & G56.  Assuming 
the machine is homed and parked there, a G92.1 clears any offsets in the 
dro display, then I set the offset values for X centering it on the 
workpiece, set y to the center of the arc, map that into G55 with a G10 
L2 P2 xvar yvar zvar switch to G55 and cut out the center, switch to G56 
set the same except yvar and cut off the outside leaving a tab that can 
be crossdrilled and tapped, then cut thru the center with an 1/8" mill 
which makes the clamp. The cutout circle has enough alu left to make the 
boss that hangs down to hold the locking pin.

So I get to try out rigid tapping today. Since I have 2 of the central 
cutouts, I may stack them as there would be room between the outer one 
bolted to this clamp collar and the spindle, enough for another 1/2" 
piece giving a much longer bearing surface for the locking pin.

And I'll likely see just how badly I need another vice while doing 
that. :(

The funny part is that its not done this lockup while LCNC was running a 
program.  So I am left wondering, since I am using isolcpus, if only one 
of the two cores in this Athlon 64 X2 has the halt bug...  AFAIK, the 
watchdog in the 5i25 has never fired during operation.

I just put the updated gcode, and a scan of the result in the GO704 link 
of my web page.

Enjoy.  Someday, someone might call me a machinist. :o)

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>

------------------------------------------------------------------------------
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to