Gene,

The first thing I would try is as follows:

change from
G3 X0.0000 Y-0.0700 Z-0.0250 J0.0700 (dies here)
G3 X0.0000 Y-0.0700 Z-0.0250 J0.0700
G3 X0.0000 Y-0.0700 Z-0.0250 J0.0700
G3 X0.0000 Y-0.0700 Z-0.0250 J0.0700
G3 X0.0000 Y-0.0700 Z-0.0250 J0.0700
G3 X0.0000 Y-0.0700 Z-0.0250 J0.0700
G3 X0.0000 Y-0.0700 Z-0.0250 J0.0700

to
G3 X0.0000 Y0.0700 Z-0.0250 J0.0700
G3 X0.0000 Y-0.0700 Z-0.0250 J-0.0700
G3 X0.0000 Y0.0700 Z-0.0250 J0.0700
G3 X0.0000 Y-0.0700 Z-0.0250 J-0.0700
G3 X0.0000 Y0.0700 Z-0.0250 J0.0700
G3 X0.0000 Y-0.0700 Z-0.0250 J-0.0700
G3 X0.0000 Y0.0700 Z-0.0250 J0.0700
G3 X0.0000 Y-0.0700 Z-0.0250 J-0.0700
G3 X0.0000 Y0.0700 Z-0.0250 J0.0700
G3 X0.0000 Y-0.0700 Z-0.0250 J-0.0700
G3 X0.0000 Y0.0700 Z-0.0250 J0.0700
G3 X0.0000 Y-0.0700 Z-0.0250 J-0.0700
G3 X0.0000 Y0.0700 Z-0.0250 J0.0700
G3 X0.0000 Y-0.0700 Z-0.0250 J-0.0700

In other words do a half circle on each line

Hope this works
Stuart



On Sat, Oct 31, 2020 at 12:04 PM Gene Heskett <ghesk...@shentel.net> wrote:

> Greetings all;
>
> Here is the code I have adapted from counterbore.py's output to try and
> be position independent:  Single stepped from MDI input
> =====================
> (counterbore sub)
> o100 SUB
> (SHCS Counterbore, Diameter = 0.3900, Depth = 0.1750 )
> (Number of Cuts 7, Depth of Cut 0.0250)
> (Tool Diameter = 0.2500)
> (Spiral Down to Depth of each Pass and Spiral Out)
> F10.0 S1000 M3 (start spindle) (works)
> (Hole Pattern Center is at touched off X0.0000 Y0.0000)
> (use polar coord moves to position, then call this sub)
> G90 (absolute distance mode) (works)
> G0 Z4.2500 (clear fixtures etc) (works)
> G91 (relative distance mode)
> G0 X0.0000 Y-0.0700 (pre-position to start a G3 move) (works)
> (spiral down in relative, so just step z down in additive mode)
> G3 X0.0000 Y-0.0700 Z-0.0250 J0.0700 (dies here)
> G3 X0.0000 Y-0.0700 Z-0.0250 J0.0700
> G3 X0.0000 Y-0.0700 Z-0.0250 J0.0700
> G3 X0.0000 Y-0.0700 Z-0.0250 J0.0700
> G3 X0.0000 Y-0.0700 Z-0.0250 J0.0700
> G3 X0.0000 Y-0.0700 Z-0.0250 J0.0700
> G3 X0.0000 Y-0.0700 Z-0.0250 J0.0700
> (clean up bottom of hole)
> G3 X0.0000 Y-0.0700 J0.0700
> G90 (back to absolute)
> G0 Z4.2500 (clear work and clamps)
> G1 X0.0000 Y0.0000 (back to center of pattern)
> M5 (turn off spindle)
> o100 ENDSUB
> ( list of locations in polar format, 3 at this time)
> #<_clear_work> = 4.5 (inches)
>
> G0 z#<_clear_work> (works)
> G61 (works)
> G1 F20 @2.5000 ^11 (goes to 1st location, works)
> o100 CALL (fails, on first G3, see above)
> G0 z#<_clear_work>
> G1 F20 @2.5000 ^100
> o100 CALL
> G0Z#<_clear_work>
> G1 F20 @2.5000 ^175
> o100 CALL
> ( etc etc)
> M5
> M2
> ======================
> Called counterbore5mm.ngc
> Won't load-run, 50% error.
>
> What am I doing wrong?
>
> Thank you.
>
> 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)
> If we desire respect for the law, we must first make the law respectable.
>  - Louis D. Brandeis
> Genes Web page <http://geneslinuxbox.net:6309/gene>
>
>
> _______________________________________________
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>


-- 
Addressee is the intended audience.
If you are not the addressee then my consent is not given for you to read
this email furthermore it is my wish you would close this without saving or
reading, and cease and desist from saving or opening my private
correspondence.
Thank you for honoring my wish.

_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to