On Monday 28 April 2014 07:25:32 Steve Blackmore did opine:

> On Mon, 28 Apr 2014 00:51:13 +0100, you wrote:
> >On 28 April 2014 00:28, Gene Heskett <[email protected]> wrote:
> >> so, assuming I have X at 0.000, and run Y to -1.000, what is the
> >> correct syntax to make it draw a circle around the x0 y0 point which
> >> is centered on the X0.000 Y0.000 point?
> >
> >G3 J1
> 
> Doesn't that create an error? Should do as both I & J parameters should
> be mandatory.
> 
> Steve Blackmore

No Steve, it doesn't error, and works flawlessly, at least in 260-pre 
sim axis mode here on this machine.  What I needed to do was counterbore
a block of steel to take the ball nut from one of those 8mmx2.5 ball
screws.  Making the nut housing to replace the existing nuts in my now
unrecognizable table topper that started out as the HF micromill.  This
cuts in climb mode, and is what I wound up with last night 48 LOC,
43 minutes to run on that toy mill:
---------------------cut here------------------------
( this is to carve the counterbore in the nut Y holder for the mill )
( assume machine zeroed at center of a 3/8" hole drilled all the way thru for )
( screw clearance.  Dimensions are in inches )
( and that a flat nosed end mill of .25" diameter is used )

#<_pock_dia>    =       0.805 (native inch mode)
#<_mill_dia>    =       0.250 ( Merican sizes )
#<_pock_rad>    =       [[ #<_pock_dia> - #<_mill_dia>] * 0.500 ] (0.2775)
#<_pock_depth>  =       -0.836
#<_depth_div>   =       50.00 ( should give a usable depth of cut, adjust if 
not )
( now, do each depth at 4 diameters )
#<_step_rad>    =       [ #<_pock_rad> / 4.000 ] (0.069375)

#<_depth_dec>   =       [#<_pock_depth> / #<_depth_div> ] (0.01672 should be do 
able)
(debug, depth decrement is #<_depth_dec>) 
#<_start_rad>   =       [ 2 * #<_step_rad> ] ( 0.13875 get into metal around 
pre-drilled hole )
G0 x0 y0 z0.005         ( put at starting depth, clear work for next step )
S1500 m3
( now we have the initial starting radius, setup outside, depth loop )
( do one circle just above the metal for check )
G1 F5 Y-#<_start_rad>
G3 J#<_start_rad>
G1 Y-#<_pock_rad>
G3 J#<_pock_rad>
#<_tmp_depth>   =       #<_depth_dec> ( -0.01672)
(debug, depth at top is #<_tmp_depth>) 
G1 X0.000 Y0.000 (reset to center for startup)

(setup depth loop)
o50 while [ #<_tmp_depth> ge #<_pock_depth> ]
#<_tmp_rad>     =       #<_start_rad> (reset to inner circle)
(debug, restart radius is #<_tmp_rad>) 
(debug, depth this pass is #<_tmp_depth>) 
( cut another level )
o100 while [#<_tmp_rad> le #<_pock_rad> ]
G1 f5 Y-#<_tmp_rad> Z#<_tmp_depth> ( ramp start it into the metal )
G3 J#<_tmp_rad>
#<_tmp_rad>     =       [ #<_tmp_rad> + #<_step_rad> ]
(debug, pock_rad is #<_pock_rad>) 
(debug, next cut rad is #<_tmp_rad>) 
o100 endwhile
#<_tmp_depth>   =       [#<_tmp_depth>  + #<_depth_dec> ]
o50 endwhile
G0 X0 Y0
G0 Z5
m5
m2
cut ---------------------

I need to find some felt for debris seals on both ends of the ball nuts.
The steel is 1" thick, nut is about .690" long, the first .2" of this
counterbore will be threaded 32 tpi, and a matching insert screwed in
to lock the nut in place with tight fitting felt on both ends. And some
teeny tubing feeding into it from an oiler.  Thats the plan anyway. ;-)

Cheers, Gene
-- 
"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>
US V Castleman, SCOTUS, Mar 2014 is grounds for Impeaching SCOTUS

------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.  Get 
unparalleled scalability from the best Selenium testing platform available.
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to